summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r--sw/source/filter/xml/xmlimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index a7747541d405..c1f846334ac3 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -1044,13 +1044,13 @@ void SwXMLImport::SetViewSettings(const Sequence < PropertyValue > & aViewProps)
}
else if ( pValue->Name == "ShowRedlineChanges" )
{
- bShowRedlineChanges = *(sal_Bool *)(pValue->Value.getValue());
+ bShowRedlineChanges = *static_cast<sal_Bool const *>(pValue->Value.getValue());
bChangeShowRedline = true;
}
// Headers and footers are not displayed in BrowseView anymore
else if ( pValue->Name == "InBrowseMode" )
{
- bBrowseMode = *(sal_Bool *)(pValue->Value.getValue());
+ bBrowseMode = *static_cast<sal_Bool const *>(pValue->Value.getValue());
bChangeBrowseMode = true;
}
pValue++;