diff options
Diffstat (limited to 'sfx2/source/view/classificationcontroller.cxx')
-rw-r--r-- | sfx2/source/view/classificationcontroller.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx index d1737912b3ca..4a61909fc4f8 100644 --- a/sfx2/source/view/classificationcontroller.cxx +++ b/sfx2/source/view/classificationcontroller.cxx @@ -36,9 +36,16 @@ using namespace com::sun::star; namespace sfx2 { +namespace { + class ClassificationCategoriesController; + +} + using ClassificationPropertyListenerBase = comphelper::ConfigurationListenerProperty<OUString>; +namespace { + /// Listens to configuration changes, so no restart is needed after setting the classification path. class ClassificationPropertyListener : public ClassificationPropertyListenerBase { @@ -49,8 +56,12 @@ public: void setProperty(const uno::Any& rProperty) override; }; +} + using ClassificationCategoriesControllerBase = cppu::ImplInheritanceHelper<svt::ToolboxController, lang::XServiceInfo>; +namespace { + class ClassificationControl; /// Controller for .uno:ClassificationApply. @@ -104,9 +115,6 @@ public: void setCategoryStateFromPolicy(const SfxClassificationHelper & rHelper); }; -namespace -{ - OUString const & getCategoryType() { return SfxClassificationHelper::policyTypeToString(SfxClassificationHelper::getPolicyType()); |