summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2017-01-24 21:18:00 +0530
committerMaxim Monastirsky <momonasmon@gmail.com>2017-02-21 01:39:01 +0200
commit33c51e8002f58847ba43bc111dabc49278e36daf (patch)
treea1e276b24a26d4fe594b08dd47dfdaeda31cd020 /forms
parente25bf8505cfaa3599c2e78a7c56729280f27373e (diff)
tdf#95844 Refactor CommandInfoProvider
Instead of a singleton, CommandInfoProvider should just be a set of static methods. Change-Id: I16d4406e361a72f013d78f18d6bd0ae20c0cc5e9
Diffstat (limited to 'forms')
-rw-r--r--forms/source/solar/control/navtoolbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index 66b910962c26..0a665844e060 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -287,7 +287,7 @@ namespace frm
OUString sCommandURL( lcl_getCommandURL( pSupportedFeatures->nId ) );
m_pToolbar->SetItemCommand( pSupportedFeatures->nId, sCommandURL );
m_pToolbar->SetQuickHelpText( pSupportedFeatures->nId,
- vcl::CommandInfoProvider::Instance().GetCommandPropertyFromModule(sCommandURL, m_sModuleId) );
+ vcl::CommandInfoProvider::GetCommandPropertyFromModule(sCommandURL, m_sModuleId) );
}
if ( pSupportedFeatures->bItemWindow )