update dev300-m57
[ooovba.git] / applied_patches / 0138-enable-sheet-protection-options.diff
blob5d14f75e79a9dec2608b3a5806dd5d95d6120e5c
1 --- sc/inc/tabprotection.hxx.old 2009-04-06 16:41:49.000000000 +0000
2 +++ sc/inc/tabprotection.hxx 2009-04-06 16:41:50.000000000 +0000
3 @@ -38,7 +38,7 @@
4 #include <vector>
5 #include <boost/shared_ptr.hpp>
7 -#define ENABLE_SHEET_PROTECTION 0
8 +#define ENABLE_SHEET_PROTECTION 1
10 class ScDocument;
11 class ScTableProtectionImpl;
12 --- sc/source/ui/docshell/docsh.cxx
13 +++ sc/source/ui/docshell/docsh.cxx
14 @@ -2011,7 +2011,7 @@
15 bool bNeedRetypePassDlg = ScPassHashHelper::needsPassHashRegen(aDocument, PASSHASH_XL);
16 if (bNeedRetypePassDlg && !pViewShell->ExecuteRetypePassDlg(PASSHASH_XL))
18 - SetError( ERRCODE_ABORT );
19 + SetError( ERRCODE_ABORT, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ) );
20 return false;
22 #else