diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2019-01-31 16:48:22 +0300 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2019-01-31 16:05:59 +0100 |
commit | 6d7d1fe6cf205d34cc8889e503c727b19c513c94 (patch) | |
tree | ffc34084be39fda563389e5c562945fa6492ee29 | |
parent | tdf#122198 don't remove db after close (diff) | |
download | core-6d7d1fe6cf205d34cc8889e503c727b19c513c94.tar.gz core-6d7d1fe6cf205d34cc8889e503c727b19c513c94.zip |
tdf#115549 Enable handling background object.
Change-Id: Ibb9c01d83572259b812981aa6229e9aa9b7c60f3
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/67215
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
-rw-r--r-- | filter/source/svg/svgexport.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index 2058ede1242f..2a1ed5169493 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -2016,7 +2016,6 @@ bool SVGFilter::implCreateObjects() if( xDrawPage.is() ) { -#ifdef ENABLE_EXPORT_CUSTOM_SLIDE_BACKGROUND // TODO complete the implementation for exporting custom background for each slide // implementation status: // - hatch stroke color is set to 'none' so the hatch is not visible, why? @@ -2031,13 +2030,13 @@ bool SVGFilter::implCreateObjects() if( xBackground.is() ) { drawing::FillStyle aFillStyle; - sal_Bool assigned = ( xBackground->getPropertyValue( "FillStyle" ) >>= aFillStyle ); - if( assigned && aFillStyle != drawing::FillStyle_NONE ) + bool assigned = ( xBackground->getPropertyValue( "FillStyle" ) >>= aFillStyle ); + if( assigned && aFillStyle != drawing::FillStyle_NONE + && aFillStyle != drawing::FillStyle_BITMAP ) { implCreateObjectsFromBackground( xDrawPage ); } } -#endif implCreateObjectsFromShapes( xDrawPage, xDrawPage ); } } |