diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-21 11:00:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-21 11:58:40 +0200 |
commit | d8487667e65184aa58520aa907fa747a73a08e34 (patch) | |
tree | 8420d263854ebe3a28f56356cd9721386086b651 /oox/source/drawingml/textbodypropertiescontext.cxx | |
parent | 966d9757de471f2a5ea1ffa87cef019dcf1e0cb3 (diff) |
rename oox::OptValue::has() to has_value
as a step towards converting it to std::optional
Change-Id: I9b2201c29827fcddae3b46480065c90b2907e6cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136210
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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx index f7d4abd4e685..6f771eeee9ff 100644 --- a/oox/source/drawingml/textbodypropertiescontext.cxx +++ b/oox/source/drawingml/textbodypropertiescontext.cxx @@ -149,7 +149,7 @@ ContextHandlerRef TextBodyPropertiesContext::onCreateContext( sal_Int32 aElement if( mpShapePtr ) { const OptValue<OUString> sPrst = rAttribs.getString( XML_prst ); - if( sPrst.has() ) + if( sPrst.has_value() ) { mrTextBodyProp.msPrst = sPrst.get(); if( mrTextBodyProp.msPrst != "textNoShape" ) |