summaryrefslogtreecommitdiff
path: root/svl/source/numbers/numfmuno.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:07:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:26 +0100
commit09757afd363d9d015c42db43dbe93be393d667ee (patch)
tree633ffd720d9f13f5e5650c48fc87ca8b478a1c1b /svl/source/numbers/numfmuno.cxx
parent898832faad4be91729deaf88e35f725da62c72ca (diff)
Clean up C-style casts from pointers to void
Change-Id: I4ce94a1cbe0567a829de977aaa9fd1cdbff71788
Diffstat (limited to 'svl/source/numbers/numfmuno.cxx')
-rw-r--r--svl/source/numbers/numfmuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index 683505538a5c..678d14d45532 100644
--- a/svl/source/numbers/numfmuno.cxx
+++ b/svl/source/numbers/numfmuno.cxx
@@ -971,7 +971,7 @@ void SAL_CALL SvNumberFormatSettingsObj::setPropertyValue( const OUString& aProp
{
// operator >>= shouldn't be used for bool (?)
if ( aValue.getValueTypeClass() == uno::TypeClass_BOOLEAN )
- pFormatter->SetNoZero( *(sal_Bool*)aValue.getValue() );
+ pFormatter->SetNoZero( *static_cast<sal_Bool const *>(aValue.getValue()) );
}
else if (aPropertyName == PROPERTYNAME_NULLDATE)
{