summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/querycontroller.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-24 15:29:31 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:39 +0200
commitadd1351e5974a74e76f9095af1bc9c80ab543cf2 (patch)
tree043aea9eed1fd011ae75d9b6b528c1f9a419b3a6 /dbaccess/source/ui/querydesign/querycontroller.cxx
parentf304a7a14a4af4d3f46eab18d5494194028e61ef (diff)
loplugin:staticmethods
Change-Id: Ie6867e04156f40cacee275d5bbf3d63ac4965b30
Diffstat (limited to 'dbaccess/source/ui/querydesign/querycontroller.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/querycontroller.cxx4
1 files changed, 2 insertions, 2 deletions
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())
{