diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-17 15:43:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-20 13:33:57 +0200 |
commit | efa7f1a549ebf2580d50f6f0bb96e294a5fce670 (patch) | |
tree | 7e8cccc2a6e0a5585c4c2eabc36400337f0bcc52 /svx/source/form/fmundo.cxx | |
parent | b0509439d9fa664be8f94b557d83ea3a2891c31f (diff) |
loplugin: cstylecast
Change-Id: Idb6337bed1c32444f9644d54eba5240f09c13ef6
Diffstat (limited to 'svx/source/form/fmundo.cxx')
-rw-r--r-- | svx/source/form/fmundo.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index 6d0e16747ebd..eeaa5330c8de 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -976,7 +976,7 @@ FmUndoPropertyAction::FmUndoPropertyAction(FmFormModel& rNewMod, const PropertyC void FmUndoPropertyAction::Undo() { - FmXUndoEnvironment& rEnv = ((FmFormModel&)rMod).GetUndoEnv(); + FmXUndoEnvironment& rEnv = static_cast<FmFormModel&>(rMod).GetUndoEnv(); if (xObj.is() && !rEnv.IsLocked()) { @@ -996,7 +996,7 @@ void FmUndoPropertyAction::Undo() void FmUndoPropertyAction::Redo() { - FmXUndoEnvironment& rEnv = ((FmFormModel&)rMod).GetUndoEnv(); + FmXUndoEnvironment& rEnv = static_cast<FmFormModel&>(rMod).GetUndoEnv(); if (xObj.is() && !rEnv.IsLocked()) { |