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
5 #include <boost/shared_ptr.hpp>
7 -#define ENABLE_SHEET_PROTECTION 0
8 +#define ENABLE_SHEET_PROTECTION 1
11 class ScTableProtectionImpl;
12 --- sc/source/ui/docshell/docsh.cxx
13 +++ sc/source/ui/docshell/docsh.cxx
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 ) ) );