diff options
-rw-r--r-- | include/vcl/commandinfoprovider.hxx | 7 | ||||
-rw-r--r-- | vcl/source/helper/commandinfoprovider.cxx | 13 |
2 files changed, 7 insertions, 13 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx index 996d9e556480..ce695cee8b79 100644 --- a/include/vcl/commandinfoprovider.hxx +++ b/include/vcl/commandinfoprovider.hxx @@ -61,16 +61,11 @@ namespace vcl { namespace CommandInfoProvider { /** Returns the shortcut for a command in human-readable form */ VCL_DLLPUBLIC OUString GetCommandShortcut (const OUString& rCommandName, - const css::uno::Reference<css::frame::XFrame>& rxFrame); + const css::uno::Reference<css::frame::XFrame>& rxFrame); VCL_DLLPUBLIC OUString GetRealCommandForCommand( const OUString& rCommandName, const OUString& rsModuleName ); - VCL_DLLPUBLIC BitmapEx GetBitmapForCommand( - const OUString& rsCommandName, - const css::uno::Reference<css::frame::XFrame>& rxFrame, - vcl::ImageType eImageType = vcl::ImageType::Small); - VCL_DLLPUBLIC Image GetImageForCommand( const OUString& rsCommandName, const css::uno::Reference<css::frame::XFrame>& rxFrame, diff --git a/vcl/source/helper/commandinfoprovider.cxx b/vcl/source/helper/commandinfoprovider.cxx index d95ea558a17d..755d41ff0dc2 100644 --- a/vcl/source/helper/commandinfoprovider.cxx +++ b/vcl/source/helper/commandinfoprovider.cxx @@ -271,7 +271,7 @@ OUString GetTooltipForCommand ( } OUString GetCommandShortcut (const OUString& rsCommandName, - const Reference<frame::XFrame>& rxFrame) + const Reference<frame::XFrame>& rxFrame) { OUString sShortcut; @@ -298,8 +298,8 @@ OUString GetRealCommandForCommand(const OUString& rCommandName, } BitmapEx GetBitmapForCommand(const OUString& rsCommandName, - const Reference<frame::XFrame>& rxFrame, - vcl::ImageType eImageType) + const Reference<frame::XFrame>& rxFrame, + vcl::ImageType eImageType) { if (rsCommandName.isEmpty()) @@ -364,8 +364,8 @@ BitmapEx GetBitmapForCommand(const OUString& rsCommandName, } Image GetImageForCommand(const OUString& rsCommandName, - const Reference<frame::XFrame>& rxFrame, - vcl::ImageType eImageType) + const Reference<frame::XFrame>& rxFrame, + vcl::ImageType eImageType) { return Image(GetBitmapForCommand(rsCommandName, rxFrame, eImageType)); } @@ -398,8 +398,7 @@ bool IsMirrored(const OUString& rsCommandName, const OUString& rsModuleName) return ResourceHasKey("private:resource/image/commandmirrorimagelist", rsCommandName, rsModuleName); } -bool IsExperimental(const OUString& rsCommandName, - const OUString& rModuleName) +bool IsExperimental(const OUString& rsCommandName, const OUString& rModuleName) { Sequence<beans::PropertyValue> aProperties; try |