summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/view.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-02-09 15:55:27 +0100
committerMathias Bauer <mba@openoffice.org>2011-02-09 15:55:27 +0100
commit749c27fafbe1e57b7ba25f759272c02de20469e0 (patch)
treed6bc9b5fe3a595ee6e0edd5ef07b042bd61992f0 /sw/source/ui/uiview/view.cxx
parent53b8f0865ff2e59cb71eaf4c1bdbc829238fde6f (diff)
CWS swlayoutrefactoring: fix merge conflicts
Diffstat (limited to 'sw/source/ui/uiview/view.cxx')
-rw-r--r--sw/source/ui/uiview/view.cxx15
1 files changed, 2 insertions, 13 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx
index 43f9c490ea2c..c1ac5c30585c 100644
--- a/sw/source/ui/uiview/view.cxx
+++ b/sw/source/ui/uiview/view.cxx
@@ -848,15 +848,8 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
nNewPage = ((SwPagePreView*)pExistingSh)->GetNewPage();
bOldShellWasPagePreView = sal_True;
}
-<<<<<<< local
- else if( pExistingSh->IsA( TYPE( SwSrcView ) ) )
- bOldShellWasSrcView = TRUE;
- }
-=======
- else if( pExistingSh &&
- pExistingSh->IsA( TYPE( SwSrcView ) ) )
+ else if( pExistingSh->IsA( TYPE( SwSrcView ) ) )
bOldShellWasSrcView = sal_True;
->>>>>>> other
RTL_LOGFILE_CONTEXT_TRACE( aLog, "before create WrtShell" );
if(PTR_CAST( SwView, pExistingSh))
@@ -984,12 +977,8 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
pWrtShell->DoUndo( 0 != SW_MOD()->GetUndoOptions().GetUndoCount() );
-<<<<<<< local
- const BOOL bBrowse = pWrtShell->GetViewOptions()->getBrowseMode();
+ const sal_Bool bBrowse = pWrtShell->GetViewOptions()->getBrowseMode();
// Disable "multiple window"
-=======
- const sal_Bool bBrowse = pWrtShell->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE);
->>>>>>> other
SetNewWindowAllowed(!bBrowse);
// End of disabled multiple window