diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-12 08:16:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-12 15:50:25 +0200 |
commit | 623f6d1c72e328fdc7e2c168edecf39a5d269e4a (patch) | |
tree | c6d0ac1a6261b82da75950bb3b49a09b87027eda /filter | |
parent | 2d42a1bcf6f602aed5a6c7d2b8634a62b9513f87 (diff) |
Remove unconditionally enabled _SVG_WRITE_EXTENTS flag
Change-Id: I0bcf1e4929c4bdc0781637dfe95a8a7b47554430
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/svgexport.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index c2a53540a8e8..47f5a1d4032a 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -764,11 +764,9 @@ bool SVGFilter::implExportDocument() if( mpSVGExport->IsUseTinyProfile() ) mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "baseProfile", "tiny" ); - // enabling _SVG_WRITE_EXTENTS means that the slide size is not adapted + // The following if block means that the slide size is not adapted // to the size of the browser window, moreover the slide is top left aligned - // instead of centered. - #define _SVG_WRITE_EXTENTS - #ifdef _SVG_WRITE_EXTENTS + // instead of centered: if( !mbPresentation ) { aAttr = OUString::number( nDocWidth * 0.01 ) + "mm"; @@ -777,7 +775,6 @@ bool SVGFilter::implExportDocument() aAttr = OUString::number( nDocHeight * 0.01 ) + "mm"; mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "height", aAttr ); } - #endif // #i124608# set viewBox explicitely to the exported content if (mbExportShapeSelection) |