diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2010-03-18 14:21:16 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2010-03-18 14:21:16 +0100 |
commit | 89af58843bff4f6e17b267542c90ed682ff5363b (patch) | |
tree | 4280b62ed4d6b0faaf51cefcebaf91c1dc0d2137 | |
parent | 801ea2a13eaa24b530315f8ff5666c17f911e670 (diff) |
sw321bf01: #i109015# to not use the old base URL
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 6d8deb85b687..6e1d89f2a8cd 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2548,6 +2548,7 @@ sal_Bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs ) // is a new medium "from scratch", so no version should be stored into it SfxItemSet* pSet = new SfxAllItemSet(*pRetrMedium->GetItemSet()); pSet->ClearItem( SID_VERSION ); + pSet->ClearItem( SID_DOC_BASEURL ); // create a medium as a copy; this medium is only for writingm, because it uses the same name as the original one // writing is done through a copy, that will be transferred to the target ( of course after calling HandsOff ) @@ -2833,6 +2834,7 @@ sal_Bool SfxObjectShell::PreDoSaveAs_Impl pMergedParams->ClearItem( SID_STREAM ); pMergedParams->ClearItem( SID_CONTENT ); pMergedParams->ClearItem( SID_DOC_READONLY ); + pMergedParams->ClearItem( SID_DOC_BASEURL ); pMergedParams->ClearItem( SID_REPAIRPACKAGE ); |