summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-10-29 12:43:54 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-10-31 03:48:49 +0000
commitb589c4cd8765b0611afe435354364df891d78852 (patch)
tree4dbfacf74480e2154a2e38c3fd41fe9d34f08fc3 /svx
parent3d83c42008ab51202c0577f493e8ed3fde0310b7 (diff)
Omit comparator which is the same as default std::less<key_type>
Change-Id: I72a0b618577caececaaf3eb4df53d4cb192251da Reviewed-on: https://gerrit.libreoffice.org/30369 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/inc/GraphCtlAccessibleContext.hxx9
-rw-r--r--svx/source/xml/xmleohlp.cxx8
2 files changed, 1 insertions, 16 deletions
diff --git a/svx/source/inc/GraphCtlAccessibleContext.hxx b/svx/source/inc/GraphCtlAccessibleContext.hxx
index 4e271d930a30..c0f3454a930e 100644
--- a/svx/source/inc/GraphCtlAccessibleContext.hxx
+++ b/svx/source/inc/GraphCtlAccessibleContext.hxx
@@ -208,14 +208,7 @@ private:
OUString msName;
/// map of accessible shapes
- struct SdrObjectCompareLess
- {
- bool operator()(const SdrObject* p1, const SdrObject* p2) const
- {
- return p1 < p2;
- }
- };
- typedef ::std::map< const SdrObject*, rtl::Reference<accessibility::AccessibleShape>, SdrObjectCompareLess > ShapesMapType;
+ typedef ::std::map< const SdrObject*, rtl::Reference<accessibility::AccessibleShape> > ShapesMapType;
ShapesMapType mxShapes;
VclPtr<GraphCtrl> mpControl;
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx
index a993cb704061..eaba0c99f22f 100644
--- a/svx/source/xml/xmleohlp.cxx
+++ b/svx/source/xml/xmleohlp.cxx
@@ -126,14 +126,6 @@ void SAL_CALL OutputStorageWrapper_Impl::closeOutput()
bStreamClosed = true;
}
-struct OUStringLess
-{
- bool operator() ( const OUString& r1, const OUString& r2 ) const
- {
- return r1 < r2;
- }
-};
-
SvXMLEmbeddedObjectHelper::SvXMLEmbeddedObjectHelper() :
WeakComponentImplHelper2< XEmbeddedObjectResolver, XNameAccess >( maMutex ),
maReplacementGraphicsContainerStorageName( XML_CONTAINERSTORAGE_NAME ),