summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtimppr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtimppr.cxx')
-rw-r--r--xmloff/source/text/txtimppr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx
index ef38374ef98f..08cb3957c386 100644
--- a/xmloff/source/text/txtimppr.cxx
+++ b/xmloff/source/text/txtimppr.cxx
@@ -656,7 +656,7 @@ void XMLTextImportPropertyMapper::finished(
// #i5775# don't overwrite %transparency with binary transparency
if( ( pBackTransparency != NULL ) && ( pBackTransparent != NULL ) )
{
- if( ! *(sal_Bool*)(pBackTransparent->maValue.getValue()) )
+ if( ! *static_cast<sal_Bool const *>(pBackTransparent->maValue.getValue()) )
pBackTransparent->mnIndex = -1;
}