svx/source/svdraw/svddrgmt.cxx |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

New commits:
commit fdc77804d681ea36b8dd257d7a8669a99e1dbb98
Author: Takeshi Abe <t...@fixedpoint.jp>
Date:   Mon Oct 31 16:35:42 2016 +0900

    Omit the default comparator std::less<key_type>
    
    Change-Id: Iaf873fc8b5ca673d5e829be33074dffd8680ae03
    Reviewed-on: https://gerrit.libreoffice.org/30452
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Takeshi Abe <t...@fixedpoint.jp>

diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 8dc2744..b1d509a 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)
 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to