From 135c63c8f9cc363c0895542b0f3bed48b61ea836 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 4 May 2012 15:51:56 +0200 Subject: fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382 --- toolkit/source/controls/tkscrollbar.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/source/controls/tkscrollbar.cxx') 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 )); } -- cgit