diff options
Diffstat (limited to 'cui/source/dialogs/hyphen.cxx')
-rw-r--r-- | cui/source/dialogs/hyphen.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/hyphen.cxx b/cui/source/dialogs/hyphen.cxx index 4fd8aab64a4e..c6c7bb19b71c 100644 --- a/cui/source/dialogs/hyphen.cxx +++ b/cui/source/dialogs/hyphen.cxx @@ -53,11 +53,11 @@ void HyphenEdit::KeyInput( const KeyEvent& rKEvt ) switch ( nCode ) { case KEY_LEFT: - ( (SvxHyphenWordDialog*)GetParentDialog() )->SelLeft(); + static_cast<SvxHyphenWordDialog*>( GetParentDialog() )->SelLeft(); break; case KEY_RIGHT: - ( (SvxHyphenWordDialog*)GetParentDialog() )->SelRight(); + static_cast<SvxHyphenWordDialog*>( GetParentDialog() )->SelRight(); break; case KEY_TAB: |