diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-21 13:02:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-22 11:48:28 +0200 |
commit | 0feeb94f97332a8e803e1936d66e0f234bd51973 (patch) | |
tree | 9fa7eca333fda4cde233f9db7ea3840e81b7bcb8 /oox/source/ppt/slidefragmenthandler.cxx | |
parent | 813939f8e392feff0b6eeeee1bae023bc9c98849 (diff) |
rename oox::OptValue::get to value
as a step in replacing OptValue with std::optional
Change-Id: Ia5d05c28a88beaced11ae1d0414de66106cc9e20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136269
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/ppt/slidefragmenthandler.cxx')
-rw-r--r-- | oox/source/ppt/slidefragmenthandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/slidefragmenthandler.cxx b/oox/source/ppt/slidefragmenthandler.cxx index 6553b8a7e2bd..a6447b376d15 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_value() && !aShowMasterShapes.get()) + if (aShowMasterShapes.has_value() && !aShowMasterShapes.value()) xSet->setPropertyValue("IsBackgroundObjectsVisible", Any(false)); aPropMap.setProperty( PROP_Visible, rAttribs.getBool( XML_show, true )); |