summaryrefslogtreecommitdiff
path: root/framework/inc/uielement/imagebuttontoolbarcontroller.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/uielement/imagebuttontoolbarcontroller.hxx')
-rw-r--r--framework/inc/uielement/imagebuttontoolbarcontroller.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx
index 9b625059717f..f6c07c206128 100644
--- a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx
+++ b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX
-#define INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX
+#pragma once
#include <com/sun/star/frame/ControlCommand.hpp>
@@ -37,7 +36,7 @@ class ImageButtonToolbarController final : public ComplexToolbarController
ImageButtonToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::frame::XFrame >& rFrame,
ToolBox* pToolBar,
- sal_uInt16 nID,
+ ToolBoxItemId nID,
const OUString& aCommand );
virtual ~ImageButtonToolbarController() override;
@@ -47,11 +46,9 @@ class ImageButtonToolbarController final : public ComplexToolbarController
private:
virtual void executeControlCommand( const css::frame::ControlCommand& rControlCommand ) override;
- bool ReadImageFromURL( bool bBigImage, const OUString& aImageURL, Image& aImage );
+ static bool ReadImageFromURL( bool bBigImage, const OUString& aImageURL, Image& aImage );
};
}
-#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_IMAGEBUTTONTOOLBARCONTROLLER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */