diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:23:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:23:23 +0100 |
commit | cf8b8cad053e0e9783cdc8f08ce886e2ae4b7eb0 (patch) | |
tree | acb5e32f7abdb40975076487122c7fa1d05be0b7 /framework/source/services/frame.cxx | |
parent | faf01b8d54737dfbb318709180966e84c7fd5614 (diff) |
More loplugin:cstylecast: framework
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: I8981ef6de675bf10c103e1af0afccd620762268d
Diffstat (limited to 'framework/source/services/frame.cxx')
-rw-r--r-- | framework/source/services/frame.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 4366c26b0944..2f2011d60364 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1970,7 +1970,7 @@ css::uno::Sequence< css::beans::Property > SAL_CALL Frame::getProperties() SolarMutexGuard g; - sal_Int32 c = (sal_Int32)m_lProps.size(); + sal_Int32 c = static_cast<sal_Int32>(m_lProps.size()); css::uno::Sequence< css::beans::Property > lProps(c); TPropInfoHash::const_iterator pIt; @@ -3048,7 +3048,7 @@ void Frame::implts_setIconOnWindow() ) { WorkWindow* pWorkWindow = static_cast<WorkWindow*>(pWindow.get()); - pWorkWindow->SetIcon( (sal_uInt16)nIcon ); + pWorkWindow->SetIcon( static_cast<sal_uInt16>(nIcon) ); } } /* UNSAFE AREA --------------------------------------------------------------------------------------------- */ |