diff options
author | Armin Le Grand <alg@apache.org> | 2012-02-03 13:45:29 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-02-03 13:45:29 +0000 |
commit | 223ad0ef21e0b3bcdb90fd947a5532f0a47720e4 (patch) | |
tree | c4294ec3f55f117d664a40b21189b9ce24354983 /svx | |
parent | ad8cba25b0d691c6d1152b285fcfe67b0b8d7ec8 (diff) |
#118804# corrected GraphicExporter behaviour on shortcut when pixel graphic is requested
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/UnoGraphicExporter.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index fec5d7a1f499..6b38683573a2 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -843,8 +843,12 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, aBmpEx.Scale( Size( rSettings.mnWidth, rSettings.mnHeight ) ); aGraphic = aBmpEx; } + + // #118804# only accept for bitmap graphics, else the + // conversion to bitmap will happen anywhere without size control + // as evtl. defined in rSettings.mnWidth/mnHeight + bSingleGraphic = sal_True; } - bSingleGraphic = sal_True; } } else if( rSettings.mbScrollText ) |