summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textbodypropertiescontext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-06-21 13:17:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-27 11:32:42 +0200
commit04073c5fedd33654f242fecb7e39afb07cf0e273 (patch)
tree467852ad2c7ca41b90c89eff2b6c9e4ae5544617 /oox/source/drawingml/textbodypropertiescontext.cxx
parent5b21b65572610df88986e700b81f1156aff14f65 (diff)
replace oox::OptValue with std::optional
Change-Id: I16e7179b2851640b4d73665685dcc1e84042ddaf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136270 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/drawingml/textbodypropertiescontext.cxx')
-rw-r--r--oox/source/drawingml/textbodypropertiescontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx
index b0d05f61bd48..d1e5a7669227 100644
--- a/oox/source/drawingml/textbodypropertiescontext.cxx
+++ b/oox/source/drawingml/textbodypropertiescontext.cxx
@@ -148,7 +148,7 @@ ContextHandlerRef TextBodyPropertiesContext::onCreateContext( sal_Int32 aElement
case A_TOKEN( prstTxWarp ): // CT_PresetTextShape
if( mpShapePtr )
{
- const OptValue<OUString> sPrst = rAttribs.getString( XML_prst );
+ const std::optional<OUString> sPrst = rAttribs.getString( XML_prst );
if( sPrst.has_value() )
{
mrTextBodyProp.msPrst = sPrst.value();