From add1351e5974a74e76f9095af1bc9c80ab543cf2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Apr 2015 15:29:31 +0200 Subject: loplugin:staticmethods Change-Id: Ie6867e04156f40cacee275d5bbf3d63ac4965b30 --- dbaccess/source/ui/querydesign/querycontroller.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess/source/ui/querydesign/querycontroller.cxx') diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index ad454569a103..4db99e4d3151 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -255,7 +255,7 @@ namespace { void ensureToolbars( OQueryController& _rController, bool _bDesign ) { - Reference< ::com::sun::star::frame::XLayoutManager > xLayoutManager = _rController.getLayoutManager( _rController.getFrame() ); + Reference< ::com::sun::star::frame::XLayoutManager > xLayoutManager = OGenericUnoController::getLayoutManager( _rController.getFrame() ); if ( xLayoutManager.is() ) { xLayoutManager->lock(); @@ -284,7 +284,7 @@ namespace void grabFocusFromLimitBox( OQueryController& _rController ) { static const char sResourceURL[] = "private:resource/toolbar/designobjectbar"; - Reference< XLayoutManager > xLayoutManager = _rController.getLayoutManager( _rController.getFrame() ); + Reference< XLayoutManager > xLayoutManager = OGenericUnoController::getLayoutManager( _rController.getFrame() ); Reference< XUIElement > xUIElement = xLayoutManager->getElement(sResourceURL); if (xUIElement.is()) { -- cgit