summaryrefslogtreecommitdiffstats
path: root/framework/source/layoutmanager/toolbarlayoutmanager.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-05-04 15:51:56 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-05-04 15:52:57 +0200
commit135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch)
tree5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /framework/source/layoutmanager/toolbarlayoutmanager.cxx
parentOne more fix for Mac OS X fpicker build (diff)
downloadcore-135c63c8f9cc363c0895542b0f3bed48b61ea836.tar.gz
core-135c63c8f9cc363c0895542b0f3bed48b61ea836.zip
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'framework/source/layoutmanager/toolbarlayoutmanager.cxx')
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 0845c00bbd98..449610dc6a54 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -108,9 +108,9 @@ void SAL_CALL ToolbarLayoutManager::release() throw()
uno::Any SAL_CALL ToolbarLayoutManager::queryInterface( const uno::Type & rType ) throw( uno::RuntimeException )
{
uno::Any a = ::cppu::queryInterface( rType,
- SAL_STATIC_CAST( awt::XDockableWindowListener*, this ),
- SAL_STATIC_CAST( ui::XUIConfigurationListener*, this ),
- SAL_STATIC_CAST( awt::XWindowListener*, this ));
+ (static_cast< awt::XDockableWindowListener* >(this)),
+ (static_cast< ui::XUIConfigurationListener* >(this)),
+ (static_cast< awt::XWindowListener* >(this)));
if ( a.hasValue() )
return a;