diff options
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index ebd2446c3208..f35a7fdb7757 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5687,8 +5687,8 @@ static bool doc_createSlideRenderer( return false; } - sal_Int32 nViewWidth = 0; - sal_Int32 nViewHeight = 0; + sal_Int32 nViewWidth = *pViewWidth; + sal_Int32 nViewHeight = *pViewHeight; bool bReturn = pDoc->createSlideRenderer( nSlideNumber, nViewWidth, nViewHeight, bRenderBackground, bRenderMasterPage); |