diff options
author | Susobhan Ghosh <susobhang70@gmail.com> | 2016-03-05 01:48:55 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-03-14 13:48:26 +0000 |
commit | bf8f926acc8afd6a2dcd2b889d427c01e06dbf85 (patch) | |
tree | 693384f87178cbe142b7fe8df3bdfc72a162293d /include | |
parent | 0ee0e8010f986b67d696111ff4ea269ccf904aba (diff) |
tdf#95845 Use CommandInfoProvider to receive UNO command labels
Added GetCommandPropertyFromModule to CommandInfoProvider.
Removed GetCommandText.
Change-Id: Ie987984b6465d540029196df371c0c0467999a59
Reviewed-on: https://gerrit.libreoffice.org/22918
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/commandinfoprovider.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx index 29a9bf8f3c0f..67a7ab3f5e22 100644 --- a/include/vcl/commandinfoprovider.hxx +++ b/include/vcl/commandinfoprovider.hxx @@ -87,6 +87,8 @@ public: OUString GetRealCommandForCommand( const OUString& rCommandName, const css::uno::Reference<css::frame::XFrame>& rxFrame ); + OUString GetCommandPropertyFromModule( const sal_Char* pCommandURL, const OUString& rModuleName ); + Image GetImageForCommand( const OUString& rsCommandName, bool bLarge, |