summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-12 11:36:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-12 11:48:03 +0100
commit2b0063dd49b298153233052a8628eeb8260a2069 (patch)
tree659578cb20262b7cf1ea7bd8c528b484794b68a5 /include/comphelper
parent21f901f9fcb8d550fec37ca9caa9645aaae73aa7 (diff)
Remove unnecessary comphelper::eqFunc
Change-Id: I94d5e3fff2d1e039051bddfedcedfac04487529a
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/PropertyInfoHash.hxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/comphelper/PropertyInfoHash.hxx b/include/comphelper/PropertyInfoHash.hxx
index 6796977c6792..25a1e8daba8d 100644
--- a/include/comphelper/PropertyInfoHash.hxx
+++ b/include/comphelper/PropertyInfoHash.hxx
@@ -42,24 +42,14 @@ namespace comphelper
: mnMapId ( nMapId )
, mpInfo ( pInfo ) {}
};
- struct eqFunc
- {
- sal_Bool operator()( const OUString &r1,
- const OUString &r2) const
- {
- return r1 == r2;
- }
- };
}
typedef boost::unordered_map < OUString,
::comphelper::PropertyInfo*,
- OUStringHash,
- ::comphelper::eqFunc > PropertyInfoHash;
+ OUStringHash > PropertyInfoHash;
typedef boost::unordered_map < OUString,
::comphelper::PropertyData*,
- OUStringHash,
- ::comphelper::eqFunc > PropertyDataHash;
+ OUStringHash > PropertyDataHash;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */