diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-17 10:46:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-17 10:46:27 +0000 |
commit | 1b67ddd86da592bd51a77563a5434b7363a369ec (patch) | |
tree | 0c7ed5caa7a21aa067d5a72e819ac5f277eb897d /sfx2 | |
parent | c71aab14658325e5848cf404931b9863b3661573 (diff) |
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
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appmisc.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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, |