diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:26:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:26:08 +0100 |
commit | f6e256c4825a6d7c9d7125a4100c10f8c4de750a (patch) | |
tree | afb3e2979708a202ea2a833cf47a978d35faeae4 /cui/source/customize/macropg.cxx | |
parent | d597bb77b271a0e9f2c3f4789517435f6b63f170 (diff) |
More loplugin:cstylecast: cui
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: I04b0e0c0268cbcc1c7e7ff2174c5125785e09a07
Diffstat (limited to 'cui/source/customize/macropg.cxx')
-rw-r--r-- | cui/source/customize/macropg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index 7d12fcb83e42..14efa4bb1ed4 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -822,7 +822,7 @@ SvxMacroTabPage::SvxMacroTabPage(vcl::Window* pParent, InitAndSetHandler( xNameReplace, Reference< container::XNameReplace>(nullptr), Reference< util::XModifiable >(nullptr)); DisplayAppEvents(true); SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox(); - SvTreeListEntry* pE = rListBox.GetEntry( (sal_uLong)nSelectedIndex ); + SvTreeListEntry* pE = rListBox.GetEntry( static_cast<sal_uLong>(nSelectedIndex) ); if( pE ) rListBox.Select(pE); } |