[ooo-build-commit] patches/dev300
Tor Lillqvist
tml at kemper.freedesktop.org
Tue Sep 8 07:51:32 PDT 2009
patches/dev300/enable-sheet-protection-options.diff | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit 7bbc38663ee02b91195defd3cc081a51f9666b28
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Tue Sep 8 17:49:32 2009 +0300
Fix build error
* patches/dev300/enable-sheet-protection-options.diff: Correct call to
SetError() in sc/source/ui/docshell/docsh.cxx that gets compiled
when ENABLE_SHEET_PROTECTION is turned on.
diff --git a/patches/dev300/enable-sheet-protection-options.diff b/patches/dev300/enable-sheet-protection-options.diff
index 2e6c4c8..5d14f75 100644
--- a/patches/dev300/enable-sheet-protection-options.diff
+++ b/patches/dev300/enable-sheet-protection-options.diff
@@ -9,3 +9,14 @@
class ScDocument;
class ScTableProtectionImpl;
+--- sc/source/ui/docshell/docsh.cxx
++++ sc/source/ui/docshell/docsh.cxx
+@@ -2011,7 +2011,7 @@
+ bool bNeedRetypePassDlg = ScPassHashHelper::needsPassHashRegen(aDocument, PASSHASH_XL);
+ if (bNeedRetypePassDlg && !pViewShell->ExecuteRetypePassDlg(PASSHASH_XL))
+ {
+- SetError( ERRCODE_ABORT );
++ SetError( ERRCODE_ABORT, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ) );
+ return false;
+ }
+ #else
More information about the ooo-build-commit
mailing list