summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-05-30 13:44:19 +0000
committerArmin Le Grand <alg@apache.org>2012-05-30 13:44:19 +0000
commitad5fa95e8c849e196caa0fa22094b513e48b406f (patch)
tree92a1e19350185fac9d7cf651d294a791b11f87d6 /drawinglayer
parent87383b07ff92196a216edeadb2ca76816f766ee6 (diff)
#119601# Added support for transparency in PNG export dialog and support for alpha channnel
Notes
Notes: merged as: a1a0830d1ac3ffabbe35bd8a0264b64f1f7a9d67
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx
index 8ed9d6436f8f..546cd57a856f 100644
--- a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx
+++ b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx
@@ -150,7 +150,7 @@ namespace drawinglayer
}
const geometry::ViewInformation2D aViewInformation2D(aViewInformationSequence);
- const double fFactor100th_mmToInch(2.54/1000.0);
+ const double fFactor100th_mmToInch(1.0 / (2.54 * 1000.0));
const sal_uInt32 nDiscreteWidth(basegfx::fround((fWidth * fFactor100th_mmToInch) * DPI_X));
const sal_uInt32 nDiscreteHeight(basegfx::fround((fHeight * fFactor100th_mmToInch) * DPI_Y));