From e8470e703e569ed895055e0fb6c0f37843f84e3e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 10 Jun 2016 18:54:33 +0200 Subject: Clean up uses of Any::getValue() in svx Change-Id: Ie0b253227df8ea4bd24643aa2622afadabf4eb54 --- svx/source/dialog/rubydialog.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'svx/source/dialog') diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 076e447553ad..3335316bfa21 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include + +#include #include #include #include @@ -485,7 +488,7 @@ void SvxRubyDialog::Update() } if (nPosition > -2 && pProps[nProp].Name == cRubyIsAbove) { - bool bTmp = *static_cast(pProps[nProp].Value.getValue()); + bool bTmp = *o3tl::doAccess(pProps[nProp].Value); if (!nRuby) nPosition = bTmp ? 0 : 1; else if ((!nPosition && !bTmp) || (nPosition == 1 && bTmp)) -- cgit