From 1b67ddd86da592bd51a77563a5434b7363a369ec Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 17 Mar 2013 10:46:27 +0000 Subject: fix about logo not stretching to fit dialog width A regression since a1a0830d1ac3ffabbe35bd8a0264b64f1f7a9d67 where fFactor100th_mmToInch changed. This looks super fragile and presumably isn't exactly the right way we should be doing it. Change-Id: I7c34eefd2331e4fec4b7e6893c68a989f2f5fd62 --- sfx2/source/appl/appmisc.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 7e016efa01e5..bd55b2429257 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -313,7 +313,9 @@ bool SfxApplication::loadBrandSvg(const char *pName, BitmapEx &rBitmap, int nWid if(xPrimitive2DRenderer.is()) { // cancel out rasterize's mm2pixel conversion - const double fFakeDPI=1000.0/2.54; + // see fFactor100th_mmToInch in + // drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx + const double fFakeDPI=2.54 * 1000.0; geometry::RealRectangle2D aRealRect( 0, 0, -- cgit