summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 10:29:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 12:42:04 +0200
commitd5c3e8004b2a3df1c0f624639e7dd3a650b868ac (patch)
tree015cbd1223ac7a6b0558d92708a0074396586f34 /framework/inc
parent344957aae65637c64b4f6d16f64c4488ddd2d085 (diff)
drop enum framework::GlobalSettings::UIElementType
since we only ever use the one enumerator. Consequently renaming some methods Change-Id: Ia8c022135df6661b8f300e037ea3e7cf610b63ac
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/uiconfiguration/globalsettings.hxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/framework/inc/uiconfiguration/globalsettings.hxx b/framework/inc/uiconfiguration/globalsettings.hxx
index 2609647989db..7123836958ec 100644
--- a/framework/inc/uiconfiguration/globalsettings.hxx
+++ b/framework/inc/uiconfiguration/globalsettings.hxx
@@ -44,13 +44,6 @@ class GlobalSettings
GlobalSettings( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
~GlobalSettings();
- enum UIElementType
- {
- UIELEMENT_TYPE_TOOLBAR,
- UIELEMENT_TYPE_DOCKWINDOW,
- UIELEMENT_TYPE_STATUSBAR
- };
-
enum StateInfo
{
STATEINFO_LOCKED,
@@ -58,8 +51,8 @@ class GlobalSettings
};
// settings access
- bool HasStatesInfo( UIElementType eElementType );
- bool GetStateInfo( UIElementType eElementType, StateInfo eStateInfo, css::uno::Any& aValue );
+ bool HasToolbarStatesInfo();
+ bool GetToolbarStateInfo( StateInfo eStateInfo, css::uno::Any& aValue );
private:
GlobalSettings(const GlobalSettings&) = delete;