diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-13 13:00:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 10:15:07 +0100 |
commit | 9e50349c54edc6563770a7f25244f517e572f8b3 (patch) | |
tree | 3609f3ac807f1ad32ef3c4c994b996424a71e6d6 | |
parent | 1097b97c36e91a16db47dfbb7d54a0317e07d57c (diff) |
-Werror,-Wunused-member-function
Change-Id: I65ce35a10ea2ac406b9f42a47bd9f5619e136d96
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 23 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/FrameworkHelper.hxx | 33 |
2 files changed, 23 insertions, 33 deletions
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 009077679d00..f2680b2739e7 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -164,6 +164,29 @@ private: namespace sd { namespace framework { +namespace { + + class FrameworkHelperAllPassFilter + { + public: + bool operator() (const cssdf::ConfigurationChangeEvent&) { return true; } + }; + + + class FrameworkHelperResourceIdFilter + { + public: + FrameworkHelperResourceIdFilter ( + const cssu::Reference<cssdf::XResourceId>& rxResourceId); + bool operator() (const cssdf::ConfigurationChangeEvent& rEvent) + { return mxResourceId.is() && rEvent.ResourceId.is() + && mxResourceId->compareTo(rEvent.ResourceId) == 0; } + private: + cssu::Reference<cssdf::XResourceId> mxResourceId; + }; + +} // end of anonymous namespace + // Pane URLS. const OUString FrameworkHelper::msPaneURLPrefix("private:resource/pane/"); diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index 301238e883ea..437e69432c61 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -359,39 +359,6 @@ private: } } // end of namespace sd::framework - - -namespace sd { namespace framework { - -namespace { - - class FrameworkHelperAllPassFilter - { - public: - bool operator() (const cssdf::ConfigurationChangeEvent&) { return true; } - }; - - - class FrameworkHelperResourceIdFilter - { - public: - FrameworkHelperResourceIdFilter ( - const cssu::Reference<cssdf::XResourceId>& rxResourceId); - bool operator() (const cssdf::ConfigurationChangeEvent& rEvent) - { return mxResourceId.is() && rEvent.ResourceId.is() - && mxResourceId->compareTo(rEvent.ResourceId) == 0; } - private: - cssu::Reference<cssdf::XResourceId> mxResourceId; - }; - -} // end of anonymous namespace - - - - -} } // end of namespace sd::framework - - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |