summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-05-06 14:13:44 +0000
committerArmin Le Grand <alg@apache.org>2013-05-06 14:13:44 +0000
commitf3695b261c9fb6f7053b325bd25dc43f578b32fe (patch)
tree3554eddb70e7fa9a13c0858282ec938178a5168f /svx/source/sdr
parentbab3ddce4b3d5330835494f54b68406335821b76 (diff)
i122216 Ensure FormControls get printed/PDFed, also ensure graphics are all visible in metafiles
Notes
Notes: merged as: 16bb8dc8a0e1e797cac0f89d306b020b8534a8c4
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index 5f3b6ea398cb..66e8eb68dba4 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -178,7 +178,6 @@ namespace sdr
const double fCurrentTime(getPrimitiveAnimator().GetTime());
OutputDevice& rTargetOutDev = GetPageWindow().GetPaintWindow().GetTargetOutputDevice();
basegfx::B2DRange aViewRange;
- basegfx::B2DHomMatrix aViewTransformation;
// create ViewRange
if(isOutputToRecordingMetaFile())
@@ -228,16 +227,12 @@ namespace sdr
// transform to world coordinates
aViewRange.transform(rTargetOutDev.GetInverseViewTransformation());
-
- // for metafile, leave ViewTransformation empty, but for pixel renderer
- // get it from OutputDevice
- aViewTransformation = rTargetOutDev.GetViewTransformation();
}
// update local ViewInformation2D
const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D(
basegfx::B2DHomMatrix(),
- aViewTransformation,
+ rTargetOutDev.GetViewTransformation(),
aViewRange,
GetXDrawPageForSdrPage(GetSdrPage()),
fCurrentTime,