summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-10 18:55:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-10 18:55:47 +0200
commitd453d74b09fc812118eba5a996ebbee28fe592cb (patch)
treef9a9ccf840ff6cf39465b8ebe09f1996babba185 /cui
parent0cb1c2fdc106281e1594c4e714f1c79f0ad0ec8d (diff)
Clean up uses of Any::getValue() in cui
Change-Id: I31da32c90a09cd0746f2d05ed2cbd7ffde3f81e4
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optasian.cxx3
1 files changed, 2 insertions, 1 deletions
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 <optasian.hxx>
#include <editeng/langitem.hxx>
#include <editeng/unolingu.hxx>
+#include <o3tl/any.hxx>
#include <dialmgr.hxx>
#include <cuires.hrc>
#include <i18nlangtag/mslangid.hxx>
@@ -263,7 +264,7 @@ void SvxAsianLayoutPage::Reset( const SfxItemSet* )
if(pImpl->xPrSetInfo->hasPropertyByName(sPunct))
{
Any aVal = pImpl->xPrSet->getPropertyValue(sPunct);
- bKernWesternText = !*static_cast<sal_Bool const *>(aVal.getValue());
+ bKernWesternText = !*o3tl::doAccess<bool>(aVal);
}
}
else