summaryrefslogtreecommitdiff
path: root/oox/source/ppt/slidefragmenthandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/slidefragmenthandler.cxx')
-rw-r--r--oox/source/ppt/slidefragmenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/slidefragmenthandler.cxx b/oox/source/ppt/slidefragmenthandler.cxx
index 79ea427b5227..6553b8a7e2bd 100644
--- a/oox/source/ppt/slidefragmenthandler.cxx
+++ b/oox/source/ppt/slidefragmenthandler.cxx
@@ -83,7 +83,7 @@ SlideFragmentHandler::~SlideFragmentHandler()
PropertySet aSlideProp( xSlide );
OptValue<bool> aShowMasterShapes = rAttribs.getBool(XML_showMasterSp);
- if (aShowMasterShapes.has() && !aShowMasterShapes.get())
+ if (aShowMasterShapes.has_value() && !aShowMasterShapes.get())
xSet->setPropertyValue("IsBackgroundObjectsVisible", Any(false));
aPropMap.setProperty( PROP_Visible, rAttribs.getBool( XML_show, true ));