summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config/usrpref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/config/usrpref.cxx')
-rw-r--r--sw/source/uibase/config/usrpref.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx
index 88aa1f3df64a..03a7ebd9cae2 100644
--- a/sw/source/uibase/config/usrpref.cxx
+++ b/sw/source/uibase/config/usrpref.cxx
@@ -39,7 +39,7 @@ using namespace ::com::sun::star::uno;
void SwMasterUsrPref::SetUsrPref(const SwViewOption &rCopy)
{
- *((SwViewOption*)this) = rCopy;
+ *static_cast<SwViewOption*>(this) = rCopy;
}
SwMasterUsrPref::SwMasterUsrPref(bool bWeb) :