summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2024-01-01 02:16:08 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-01-05 19:01:25 +0100
commite6f77135b4cbb88e60c3a8ab40b9e416bef0f835 (patch)
treecd0503d276881d2a336a382d61923ca0f4dd221e /oox/source
parentfbbad70b9437aa2e96f004c530f2d552715cf810 (diff)
Use officecfg instead of SvtFilterOptions wrapper in sfx2, sd, oox
Change-Id: I1a404fe156c9c7859c1eb19d4dff9892f4598bc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161591 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/drawingml/shape.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index c42a9f7820a3..5df335be727d 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -96,12 +96,12 @@
#include <com/sun/star/document/XActionLockable.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/text/GraphicCrop.hpp>
+#include <officecfg/Office/Common.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdotable.hxx>
#include <svx/svdtrans.hxx>
#include <tools/stream.hxx>
#include <unotools/streamwrap.hxx>
-#include <unotools/fltrcfg.hxx>
#include <unotools/mediadescriptor.hxx>
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
@@ -461,7 +461,7 @@ void Shape::addShape(
// metafile is only implemented for DOCX.
bool bPowerPoint = dynamic_cast<oox::ppt::PowerPointImport*>(&rFilterBase) != nullptr;
- if (!SvtFilterOptions::Get().IsSmartArt2Shape() && !bPowerPoint)
+ if (!officecfg::Office::Common::Filter::Microsoft::Import::SmartArtToShapes::get() && !bPowerPoint)
convertSmartArtToMetafile( rFilterBase );
}