diff options
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index e89ef6d42781..4f7731a6a6fb 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3157,15 +3157,6 @@ void SwXTextDocument::initializeForTiledRendering() SwViewShell* pViewShell = pDoc->getIDocumentLayoutAccess().GetCurrentViewShell(); pViewShell->setTiledRendering(true); - if ( pViewShell->GetWin() ) - { - // Check initial window size and set minimal size (1,1) - Size aSize( pViewShell->GetWin()->GetOutputSizePixel() ); - if ( aSize.Width() == 0 || aSize.Height() == 0 ) - pViewShell->GetWin()->SetOutputSizePixel(Size( std::max( aSize.Width() , long(1)), - std::max( aSize.Height(), long(1)) )); - } - bool bBookMode = false; sal_Int16 nColumns = 1; |