summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/opengrf.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:06:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:25 +0100
commit65e9940d8d13e0e2ac9cac3421955124d1c73390 (patch)
tree089685d7ac1e2978bba363900b02b9f3cc015452 /sfx2/source/appl/opengrf.cxx
parent8d6c8d7fa0a4c56ebcf9d141d8cd99706d756991 (diff)
Clean up C-style casts from pointers to void
Change-Id: I717c260ecdc378a9fd33494f2b98eccec0417d66
Diffstat (limited to 'sfx2/source/appl/opengrf.cxx')
-rw-r--r--sfx2/source/appl/opengrf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx
index 075899772f7f..2051eb6c0b53 100644
--- a/sfx2/source/appl/opengrf.cxx
+++ b/sfx2/source/appl/opengrf.cxx
@@ -237,7 +237,7 @@ bool SvxOpenGraphicDialog::IsAsLink() const
{
Any aVal = mpImpl->xCtrlAcc->getValue( ExtendedFilePickerElementIds::CHECKBOX_LINK, 0 );
DBG_ASSERT(aVal.hasValue(), "Value CBX_INSERT_AS_LINK not found");
- return aVal.hasValue() && ( *(sal_Bool*) aVal.getValue() );
+ return aVal.hasValue() && ( *static_cast<sal_Bool const *>(aVal.getValue()) );
}
}
catch(const IllegalArgumentException&)