diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-02-01 15:49:16 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-02-02 14:36:17 +0100 |
commit | 9d32497c01475f2b5e5bec756e4dd0ca9f9d4928 (patch) | |
tree | 8be2f12ec4250f9ed0d744c48a372c378a7141de /sw/source/ui/uiview/view.cxx | |
parent | 4b85affdc4667995bdee9347cb4cc902c883495b (diff) |
fdo#37024: SwView::SwView: fix BROWSE_MODE setting:
Apparently there is a check in SwDoc::SetAllUniqueFlyNames so that when
frames with certain anchor types are in a document, then SetLoaded()
is never called. Checking this flag via IsLoaded() here seems
unnecessary.
This problem was introduced with ebc5777548dea42ed966a16c66d879b1485bbfb4,
from CWS swlayoutrefactoring.
Diffstat (limited to 'sw/source/ui/uiview/view.cxx')
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index c2ee944424a8..fbe254b3193a 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -836,7 +836,7 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh ) if( !bOldShellWasSrcView && pWebDShell && !bOldShellWasPagePreView ) aUsrPref.setBrowseMode( sal_True ); - else if( rDoc.IsLoaded() ) + else aUsrPref.setBrowseMode( rDoc.get(IDocumentSettingAccess::BROWSE_MODE) ); //Fuer den BrowseMode wollen wir keinen Factor uebernehmen. |