summaryrefslogtreecommitdiff
path: root/framework/inc/uielement/spinfieldtoolbarcontroller.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/uielement/spinfieldtoolbarcontroller.hxx')
-rw-r--r--framework/inc/uielement/spinfieldtoolbarcontroller.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx
index beb95049a206..796a5e00b277 100644
--- a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx
+++ b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX
-#define INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX
+#pragma once
#include <com/sun/star/frame/ControlCommand.hpp>
@@ -39,7 +38,7 @@ class SpinfieldToolbarController final : public ComplexToolbarController
SpinfieldToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::frame::XFrame >& rFrame,
ToolBox* pToolBar,
- sal_uInt16 nID,
+ ToolBoxItemId nID,
sal_Int32 nWidth,
const OUString& aCommand );
virtual ~SpinfieldToolbarController() override;
@@ -58,7 +57,7 @@ class SpinfieldToolbarController final : public ComplexToolbarController
virtual void executeControlCommand( const css::frame::ControlCommand& rControlCommand ) override;
virtual css::uno::Sequence< css::beans::PropertyValue> getExecuteArgs(sal_Int16 KeyModifier) const override;
- bool impl_getValue( const css::uno::Any& rAny, sal_Int32& nValue, double& fValue, bool& bFloat );
+ static bool impl_getValue( const css::uno::Any& rAny, sal_Int32& nValue, double& fValue, bool& bFloat );
bool m_bFloat;
double m_nMax;
@@ -71,6 +70,4 @@ class SpinfieldToolbarController final : public ComplexToolbarController
}
-#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_SPINFIELDTOOLBARCONTROLLER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */