diff options
-rw-r--r-- | sd/source/ui/docshell/docshel2.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sd/source/ui/docshell/docshel2.cxx b/sd/source/ui/docshell/docshel2.cxx index 2610e3ce60fe..38a4fa5ee1eb 100644 --- a/sd/source/ui/docshell/docshel2.cxx +++ b/sd/source/ui/docshell/docshel2.cxx @@ -123,13 +123,7 @@ void DrawDocShell::Draw(OutputDevice* pOut, const JobSetup&, sal_uInt16 nAspect) if( ( ASPECT_THUMBNAIL == nAspect ) || ( ASPECT_DOCPRINT == nAspect ) ) { // provide size of first page - MapMode aSrcMapMode(MapUnit::MapPixel); - MapMode aDstMapMode(MapUnit::Map100thMM); - Size aSize = mpDoc->GetSdPage(0, PageKind::Standard)->GetSize(); - aSrcMapMode.SetMapUnit(MapUnit::Map100thMM); - - aSize = Application::GetDefaultDevice()->LogicToLogic(aSize, &aSrcMapMode, &aDstMapMode); - aVisArea.SetSize(aSize); + aVisArea.SetSize(mpDoc->GetSdPage(0, PageKind::Standard)->GetSize()); } else { |