[Libreoffice-commits] .: binfilter/bf_sfx2
Pierre-André Jacquod
pjacquod at kemper.freedesktop.org
Tue Dec 21 10:05:17 PST 2010
binfilter/bf_sfx2/source/doc/sfx2_objcont.cxx | 42 --------------------------
1 file changed, 42 deletions(-)
New commits:
commit 7dae150cb83f56ec058c1fb102293b7293a8a5d7
Author: Pierre-André Jacquod <pjacquod at alumni.ethz.ch>
Date: Tue Dec 21 19:04:42 2010 +0100
commented code deletion
diff --git a/binfilter/bf_sfx2/source/doc/sfx2_objcont.cxx b/binfilter/bf_sfx2/source/doc/sfx2_objcont.cxx
index 2f1ea87..6ea6234 100644
--- a/binfilter/bf_sfx2/source/doc/sfx2_objcont.cxx
+++ b/binfilter/bf_sfx2/source/doc/sfx2_objcont.cxx
@@ -215,28 +215,7 @@ using namespace ::com::sun::star::uno;
/*N*/ // Konfiguration schreiben
/*N*/ if ( GetConfigManager() )
/*N*/ {
-/* //!MBA
- if ( rDocInfo.HasTemplateConfig() )
- {
- const String aTemplFileName( rDocInfo.GetTemplateFileName() );
- if ( aTemplFileName.Len() )
- {
- INetURLObject aURL( aTemplFileName );
- DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "Illegal URL !" );
-
- SvStorageRef aStor = new SvStorage( aURL.GetMainURL( INetURLObject::NO_DECODE ) );
- if ( SVSTREAM_OK == aStor->GetError() )
- {
- GetConfigManager()->StoreConfiguration(aStor);
- if (aRef->IsStream(SfxConfigManager::GetStreamName()))
- aRef->Remove(SfxConfigManager::GetStreamName());
- }
- }
- }
- else
- */
/*N*/ {
-//! MBA GetConfigManager()->SetModified( TRUE );
/*?*/ GetConfigManager()->StoreConfiguration( pNewStg );
/*N*/ }
/*N*/ }
@@ -289,28 +268,7 @@ using namespace ::com::sun::star::uno;
/*N*/ // Konfiguration schreiben
/*N*/ if (GetConfigManager())
/*N*/ {
-/* //!MBA
- if ( rDocInfo.HasTemplateConfig() )
- {
- const String aTemplFileName( rDocInfo.GetTemplateFileName() );
- if ( aTemplFileName.Len() )
- {
- INetURLObject aURL( aTemplFileName );
- DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "Illegal URL !" );
-
- SvStorageRef aStor = new SvStorage( aURL.GetMainURL( INetURLObject::NO_DECODE ) );
- if ( SVSTREAM_OK == aStor->GetError() )
- {
- GetConfigManager()->StoreConfiguration(aStor);
- if (pNewStg->IsStream(SfxConfigManager::GetStreamName()))
- pNewStg->Remove(SfxConfigManager::GetStreamName());
- }
- }
- }
- else
- */
/*N*/ {
-//!MBA GetConfigManager()->SetModified( TRUE );
/*?*/ GetConfigManager()->StoreConfiguration(pNewStg);
}
/*N*/ }
More information about the Libreoffice-commits
mailing list