diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:12:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:12:27 +0100 |
commit | d9384ef6e42419ecb77590c785eadf69e3d43428 (patch) | |
tree | 9506e47fa6d7816b745bb27e55ed342333a054ef /unoxml | |
parent | f9ff3e5d37cc5958d1e3e75cff291759fc9653d5 (diff) |
More loplugin:cstylecast: unoxml
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: I646f70befa576a2bc759cd7db8e0fe8fb3e9cf06
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/xpath/xpathobject.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unoxml/source/xpath/xpathobject.cxx b/unoxml/source/xpath/xpathobject.cxx index 827015b76283..2a055f10cdc4 100644 --- a/unoxml/source/xpath/xpathobject.cxx +++ b/unoxml/source/xpath/xpathobject.cxx @@ -108,7 +108,7 @@ namespace XPath { ::osl::MutexGuard const g(m_rMutex); - return (sal_Int8) xmlXPathCastToNumber(m_pXPathObj.get()); + return static_cast<sal_Int8>(xmlXPathCastToNumber(m_pXPathObj.get())); } /** @@ -118,7 +118,7 @@ namespace XPath { ::osl::MutexGuard const g(m_rMutex); - return (sal_Int16) xmlXPathCastToNumber(m_pXPathObj.get()); + return static_cast<sal_Int16>(xmlXPathCastToNumber(m_pXPathObj.get())); } /** @@ -128,7 +128,7 @@ namespace XPath { ::osl::MutexGuard const g(m_rMutex); - return (sal_Int32) xmlXPathCastToNumber(m_pXPathObj.get()); + return static_cast<sal_Int32>(xmlXPathCastToNumber(m_pXPathObj.get())); } /** @@ -138,7 +138,7 @@ namespace XPath { ::osl::MutexGuard const g(m_rMutex); - return (sal_Int64) xmlXPathCastToNumber(m_pXPathObj.get()); + return static_cast<sal_Int64>(xmlXPathCastToNumber(m_pXPathObj.get())); } /** @@ -148,7 +148,7 @@ namespace XPath { ::osl::MutexGuard const g(m_rMutex); - return (float) xmlXPathCastToNumber(m_pXPathObj.get()); + return static_cast<float>(xmlXPathCastToNumber(m_pXPathObj.get())); } /** |