Kaydet (Commit) 9e50349c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-member-function

Change-Id: I65ce35a10ea2ac406b9f42a47bd9f5619e136d96
üst 1097b97c
......@@ -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/");
......
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment