summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-11-12 16:24:51 +0100
committerAndras Timar <andras.timar@collabora.com>2015-11-13 10:05:15 +0100
commit56f9d743bc8014c094dc957c16ca8984065a451b (patch)
treebf54f35f9c901060e7f40621227c03bced5e3751 /xmloff
parentbd4f17848f439913c048dc688322740b9e36b33f (diff)
tdf#95744: saving shape names re-enabled
commit c29657e0d6bb707345584ac7a7f5ae5016f37297 inverted one of the tests for SvXMLExportFlags::OASIS Change-Id: I523cecd4203c91d82a4e3e82b8457d2c55a5fff0 Reviewed-on: https://gerrit.libreoffice.org/19931 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de> (cherry picked from commit 249f8b1cc9897ac9666dd5c69dc22fae7586c207)
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 96dfd640fb20..9bedc46e0964 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -662,7 +662,7 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape
if ( ( GetExport().GetModelType() != SvtModuleOptions::EFactory::WRITER &&
GetExport().GetModelType() != SvtModuleOptions::EFactory::WRITERWEB &&
GetExport().GetModelType() != SvtModuleOptions::EFactory::WRITERGLOBAL ) ||
- !( GetExport().getExportFlags() & SvXMLExportFlags::OASIS ) ||
+ ( GetExport().getExportFlags() & SvXMLExportFlags::OASIS ) ||
aShapeInfo.meShapeType == XmlShapeTypeDrawGroupShape ||
( aShapeInfo.meShapeType == XmlShapeTypeDrawCustomShape &&
aShapeInfo.xCustomShapeReplacement.is() ) )