summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/tkscrollbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/tkscrollbar.cxx')
-rw-r--r--toolkit/source/controls/tkscrollbar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/tkscrollbar.cxx b/toolkit/source/controls/tkscrollbar.cxx
index 91fcda50e0e9..004fe62bb2e1 100644
--- a/toolkit/source/controls/tkscrollbar.cxx
+++ b/toolkit/source/controls/tkscrollbar.cxx
@@ -110,8 +110,8 @@ namespace toolkit
uno::Any UnoScrollBarControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException)
{
uno::Any aRet = ::cppu::queryInterface( rType,
- SAL_STATIC_CAST( awt::XAdjustmentListener*, this ),
- SAL_STATIC_CAST( awt::XScrollBar*, this ) );
+ (static_cast< awt::XAdjustmentListener* >(this)),
+ (static_cast< awt::XScrollBar* >(this)) );
return (aRet.hasValue() ? aRet : UnoControlBase::queryAggregation( rType ));
}