[Libreoffice-commits] core.git: svx/source

Takeshi Abe tabe at fixedpoint.jp
Thu Nov 3 04:08:37 UTC 2016


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

New commits:
commit fdc77804d681ea36b8dd257d7a8669a99e1dbb98
Author: Takeshi Abe <tabe at 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 <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at 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)
 {


More information about the Libreoffice-commits mailing list