diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:29 +0200 |
commit | f51dc77f30b0b38122b498f02d19045b6b224921 (patch) | |
tree | 4c9e85cc94fa2e3a5fc2d25f8ac5af7e25740473 /sw/source/uibase/sidebar | |
parent | 04f6481e4edf160d8d01817c770b56a5abeb7702 (diff) |
Improved loplugin:redundantcast static_cast handling: sw
Change-Id: I699e7f0201d6c49344cfeb5a1146b20fcde72f9b
Diffstat (limited to 'sw/source/uibase/sidebar')
-rw-r--r-- | sw/source/uibase/sidebar/ThemePanel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx index bd91fef1db4e..57539a56b6e7 100644 --- a/sw/source/uibase/sidebar/ThemePanel.cxx +++ b/sw/source/uibase/sidebar/ThemePanel.cxx @@ -204,7 +204,7 @@ void changeFont(SwFormat* pFormat, SwDocStyleSheet* pStyle, FontSet& rFontSet) return; } - SvxFontItem aFontItem(static_cast<const SvxFontItem&>(pFormat->GetFont(false))); + SvxFontItem aFontItem(pFormat->GetFont(false)); FontPitch ePitch = aFontItem.GetPitch(); |