diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-01 15:16:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-02 07:37:19 +0200 |
commit | 1777c425fef6420c37102dad9b7539424bb47d10 (patch) | |
tree | ad167f3bfb8447238435117b1423ddb71e806112 /framework/source/helper | |
parent | e54d93ac344f9061897f768fd09375fe210f34e0 (diff) |
loplugin: cstylecast
Change-Id: I4a8786f335b5f9a14116c546d32f1ff6cff99930
Diffstat (limited to 'framework/source/helper')
-rw-r--r-- | framework/source/helper/statusindicator.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/helper/statusindicator.cxx b/framework/source/helper/statusindicator.cxx index 168442c55bb2..307adcf24ff1 100644 --- a/framework/source/helper/statusindicator.cxx +++ b/framework/source/helper/statusindicator.cxx @@ -43,7 +43,7 @@ void SAL_CALL StatusIndicator::start(const OUString& sText , css::uno::Reference< css::task::XStatusIndicatorFactory > xFactory(m_xFactory); if (xFactory.is()) { - StatusIndicatorFactory* pFactory = (StatusIndicatorFactory*)xFactory.get(); + StatusIndicatorFactory* pFactory = static_cast<StatusIndicatorFactory*>(xFactory.get()); pFactory->start(this, sText, nRange); } #endif @@ -56,7 +56,7 @@ void SAL_CALL StatusIndicator::end() css::uno::Reference< css::task::XStatusIndicatorFactory > xFactory(m_xFactory); if (xFactory.is()) { - StatusIndicatorFactory* pFactory = (StatusIndicatorFactory*)xFactory.get(); + StatusIndicatorFactory* pFactory = static_cast<StatusIndicatorFactory*>(xFactory.get()); pFactory->end(this); } #endif @@ -69,7 +69,7 @@ void SAL_CALL StatusIndicator::reset() css::uno::Reference< css::task::XStatusIndicatorFactory > xFactory(m_xFactory); if (xFactory.is()) { - StatusIndicatorFactory* pFactory = (StatusIndicatorFactory*)xFactory.get(); + StatusIndicatorFactory* pFactory = static_cast<StatusIndicatorFactory*>(xFactory.get()); pFactory->reset(this); } #endif @@ -84,7 +84,7 @@ void SAL_CALL StatusIndicator::setText(const OUString& sText) css::uno::Reference< css::task::XStatusIndicatorFactory > xFactory(m_xFactory); if (xFactory.is()) { - StatusIndicatorFactory* pFactory = (StatusIndicatorFactory*)xFactory.get(); + StatusIndicatorFactory* pFactory = static_cast<StatusIndicatorFactory*>(xFactory.get()); pFactory->setText(this, sText); } #endif @@ -99,7 +99,7 @@ void SAL_CALL StatusIndicator::setValue(sal_Int32 nValue) css::uno::Reference< css::task::XStatusIndicatorFactory > xFactory(m_xFactory); if (xFactory.is()) { - StatusIndicatorFactory* pFactory = (StatusIndicatorFactory*)xFactory.get(); + StatusIndicatorFactory* pFactory = static_cast<StatusIndicatorFactory*>(xFactory.get()); pFactory->setValue(this, nValue); } #endif |