summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-10-31 16:35:42 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-11-03 04:08:12 +0000
commitfdc77804d681ea36b8dd257d7a8669a99e1dbb98 (patch)
treebb68c421a32832b040498950bcdf388bf6115779 /svx
parent8f2dd1df1d6cc94ebbc1149de72bc6d6dffa6533 (diff)
Omit the default comparator std::less<key_type>
Change-Id: Iaf873fc8b5ca673d5e829be33074dffd8680ae03 Reviewed-on: https://gerrit.libreoffice.org/30452 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svddrgmt.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 8dc2744f9548..b1d509aeb2b7 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -667,15 +667,7 @@ void SdrDragMethod::CancelSdrDrag()
Hide();
}
-struct compareConstSdrObjectRefs
-{
- bool operator()(const SdrObject* p1, const SdrObject* p2) const
- {
- return (p1 < p2);
- }
-};
-
-typedef std::map< const SdrObject*, SdrObject*, compareConstSdrObjectRefs> SdrObjectAndCloneMap;
+typedef std::map< const SdrObject*, SdrObject* > SdrObjectAndCloneMap;
void SdrDragMethod::CreateOverlayGeometry(sdr::overlay::OverlayManager& rOverlayManager)
{