From d453d74b09fc812118eba5a996ebbee28fe592cb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 10 Jun 2016 18:55:47 +0200 Subject: Clean up uses of Any::getValue() in cui Change-Id: I31da32c90a09cd0746f2d05ed2cbd7ffde3f81e4 --- cui/source/options/optasian.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index 8113013b731c..ed4341aa6b0e 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -263,7 +264,7 @@ void SvxAsianLayoutPage::Reset( const SfxItemSet* ) if(pImpl->xPrSetInfo->hasPropertyByName(sPunct)) { Any aVal = pImpl->xPrSet->getPropertyValue(sPunct); - bKernWesternText = !*static_cast(aVal.getValue()); + bKernWesternText = !*o3tl::doAccess(aVal); } } else -- cgit v1.2.3