summaryrefslogtreecommitdiff
path: root/oox/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-06-21 13:02:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-22 11:48:28 +0200
commit0feeb94f97332a8e803e1936d66e0f234bd51973 (patch)
tree9fa7eca333fda4cde233f9db7ea3840e81b7bcb8 /oox/source/helper
parent813939f8e392feff0b6eeeee1bae023bc9c98849 (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/helper')
-rw-r--r--oox/source/helper/attributelist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/helper/attributelist.cxx b/oox/source/helper/attributelist.cxx
index 5752af105c72..7e17d5b77171 100644
--- a/oox/source/helper/attributelist.cxx
+++ b/oox/source/helper/attributelist.cxx
@@ -243,7 +243,7 @@ OptValue< bool > AttributeList::getBool( sal_Int32 nAttrToken ) const
case XML_off: return OptValue< bool >( false );
}
OptValue< sal_Int32 > onValue = getInteger( nAttrToken );
- return onValue.has_value() ? OptValue< bool >( onValue.get() != 0 ) : OptValue< bool >();
+ return onValue.has_value() ? OptValue< bool >( onValue.value() != 0 ) : OptValue< bool >();
}
OptValue< util::DateTime > AttributeList::getDateTime( sal_Int32 nAttrToken ) const