summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/helper/commandinfoprovider.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/helper/commandinfoprovider.cxx b/vcl/source/helper/commandinfoprovider.cxx
index 6cf0adf4cb53..121aacfeda17 100644
--- a/vcl/source/helper/commandinfoprovider.cxx
+++ b/vcl/source/helper/commandinfoprovider.cxx
@@ -194,6 +194,14 @@ OUString CommandInfoProvider::GetCommandShortcut (const OUString& rsCommandName,
return OUString();
}
+OUString CommandInfoProvider::GetRealCommandForCommand(const OUString& rCommandName,
+ const css::uno::Reference<frame::XFrame>& rxFrame)
+{
+ SetFrame(rxFrame);
+
+ return GetCommandProperty("TargetURL", rCommandName);
+}
+
Image CommandInfoProvider::GetImageForCommand(const OUString& rsCommandName, bool bLarge,
const Reference<frame::XFrame>& rxFrame)
{