diff options
Diffstat (limited to 'unotools/source/config/saveopt.cxx')
-rw-r--r-- | unotools/source/config/saveopt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx index 18f958136998..47a190fb44e9 100644 --- a/unotools/source/config/saveopt.cxx +++ b/unotools/source/config/saveopt.cxx @@ -779,7 +779,7 @@ SvtLoadOptions_Impl::SvtLoadOptions_Impl() const Any* pValues = aValues.getConstArray(); DBG_ASSERT( aValues.getLength() == aNames.getLength(), "GetProperties failed" ); if (pValues[0].getValueTypeClass() == ::com::sun::star::uno::TypeClass_BOOLEAN) - bLoadUserDefinedSettings = *(sal_Bool *)pValues[0].getValue(); + bLoadUserDefinedSettings = *static_cast<sal_Bool const *>(pValues[0].getValue()); } SvtLoadOptions_Impl::~SvtLoadOptions_Impl() |