summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-13 22:49:58 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-13 22:49:58 +0100
commitf3c99d5e34df5304bca88f6fcc42476ee6645bc2 (patch)
tree1edc6081b2cd1c25dfca3e3730c84458329e3e6b /basic
parentab7324559877ca1fd18178e1a41f821d0dfe4be3 (diff)
Remove some dead code
Diffstat (limited to 'basic')
-rw-r--r--basic/source/uno/namecont.cxx2
-rw-r--r--basic/source/uno/scriptcont.cxx5
2 files changed, 0 insertions, 7 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index e9672b3396da..a2b5384851cf 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -1399,7 +1399,6 @@ void SfxLibraryContainer::implStoreLibrary( SfxLibrary* pLib,
xProps->setPropertyValue( aPropName, uno::makeAny( aMime ) );
// #87671 Allow encryption
-//REMOVE aPropName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM("Encrypted") );
aPropName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "UseCommonStoragePasswordEncryption" ) );
xProps->setPropertyValue( aPropName, uno::makeAny( sal_True ) );
@@ -1547,7 +1546,6 @@ void SfxLibraryContainer::implStoreLibraryIndexFile( SfxLibrary* pLib,
xProps->setPropertyValue( aPropName, uno::makeAny( aMime ) );
// #87671 Allow encryption
-//REMOVE aPropName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM("Encrypted") );
aPropName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "UseCommonStoragePasswordEncryption" ) );
xProps->setPropertyValue( aPropName, uno::makeAny( sal_True ) );
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index ece4fdccb9d4..7ee72a4a6298 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -1151,11 +1151,6 @@ sal_Bool SfxScriptLibraryContainer::implLoadPasswordLibrary
}
}
-//REMOVE // If the password is verified the library must remain modified, because
-//REMOVE // otherwise for saving the storage would be copied and that doesn't work
-//REMOVE // with mtg's storages when the password is verified
-//REMOVE if( !pLib->mbPasswordVerified )
-//REMOVE pLib->mbModified = sal_False;
return bRet;
}