diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:17:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:17:24 +0100 |
commit | acd1696a066b8fa6fb94a0613939565799413769 (patch) | |
tree | 31dac1c3922fe467e1771f514c3cca3d2e552ae3 /sax/qa/cppunit/xmlimport.cxx | |
parent | 681783c9adf85bde36348f11c03d3a483bf545be (diff) |
More loplugin:cstylecast: sax
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: Ide5941d633fb3bf930b790d644154829b77ad117
Diffstat (limited to 'sax/qa/cppunit/xmlimport.cxx')
-rw-r--r-- | sax/qa/cppunit/xmlimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx index efaab5fabbc6..f7ea3ec92c19 100644 --- a/sax/qa/cppunit/xmlimport.cxx +++ b/sax/qa/cppunit/xmlimport.cxx @@ -316,7 +316,7 @@ sal_Int32 DummyTokenHandler::getTokenDirect( const char* pToken, sal_Int32 nLeng for( sal_uInt16 i = 0; i < SAL_N_ELEMENTS(tokens); i++ ) { if ( tokens[i] == sToken ) - return (sal_Int32)i; + return static_cast<sal_Int32>(i); } return FastToken::DONTKNOW; } |