diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:12:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:12:15 +0100 |
commit | f9ff3e5d37cc5958d1e3e75cff291759fc9653d5 (patch) | |
tree | a274d72ae2a606a57b500132bb86192ea9e344de /uui/source/nameclashdlg.cxx | |
parent | 4fa3e47a853590100fa1bf8a14e5fea556cf0ef3 (diff) |
More loplugin:cstylecast: uui
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: I8d533ab0d456c3e8b661a785948d37bf2aaf0e1d
Diffstat (limited to 'uui/source/nameclashdlg.cxx')
-rw-r--r-- | uui/source/nameclashdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/nameclashdlg.cxx b/uui/source/nameclashdlg.cxx index fcf7c375e092..8426086abbb8 100644 --- a/uui/source/nameclashdlg.cxx +++ b/uui/source/nameclashdlg.cxx @@ -28,10 +28,10 @@ IMPL_LINK( NameClashDialog, ButtonHdl_Impl, Button *, pBtn, void ) { - long nRet = (long) ABORT; + long nRet = long(ABORT); if ( m_pBtnRename == pBtn ) { - nRet = (long) RENAME; + nRet = long(RENAME); OUString aNewName = m_pEDNewName->GetText(); if ( ( aNewName == maNewName ) || aNewName.isEmpty() ) { @@ -42,7 +42,7 @@ IMPL_LINK( NameClashDialog, ButtonHdl_Impl, Button *, pBtn, void ) maNewName = aNewName; } else if ( m_pBtnOverwrite == pBtn ) - nRet = (long) OVERWRITE; + nRet = long(OVERWRITE); EndDialog( nRet ); } |