sc/source/core/tool/rangelst.cxx |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 27f61c4cfb88c23ef3c370921e6f9c186c602175
Author: Jochen Nitschke <j.nitschke+loger...@ok.de>
Date:   Tue Jul 4 11:35:29 2017 +0200

    sc: remove trivial copy ctors for functors
    
    The compiler will generate the same default copy ctors if needed.
    
    Change-Id: I0029e2162ab7d3da9b0cd9bfcf8c06d55c59e2b7
    Reviewed-on: https://gerrit.libreoffice.org/39497
    Tested-by: Jochen Nitschke <j.nitschke+loger...@ok.de>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index cb5c8e831458..9ef8cfeea77d 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -42,7 +42,6 @@ class FindEnclosingRange
 {
 public:
     explicit FindEnclosingRange(const T& rTest) : mrTest(rTest) {}
-    FindEnclosingRange(const FindEnclosingRange& r) : mrTest(r.mrTest) {}
     bool operator() (const ScRange* pRange) const
     {
         return pRange->In(mrTest);
@@ -56,7 +55,6 @@ class FindRangeIn
 {
 public:
     FindRangeIn(const T& rTest) : mrTest(rTest) {}
-    FindRangeIn(const FindRangeIn& r) : mrTest(r.mrTest) {}
     bool operator() (const ScRange* pRange) const
     {
         return mrTest.In(*pRange);
@@ -70,7 +68,6 @@ class FindIntersectingRange
 {
 public:
     explicit FindIntersectingRange(const T& rTest) : mrTest(rTest) {}
-    FindIntersectingRange(const FindIntersectingRange& r) : mrTest(r.mrTest) {}
     bool operator() (const ScRange* pRange) const
     {
         return pRange->Intersects(mrTest);
@@ -83,7 +80,6 @@ class AppendToList
 {
 public:
     explicit AppendToList(vector<ScRange*>& rRanges) : mrRanges(rRanges) {}
-    AppendToList(const AppendToList& r) : mrRanges(r.mrRanges) {}
     void operator() (const ScRange* p)
     {
         mrRanges.push_back(new ScRange(*p));
@@ -96,7 +92,6 @@ class CountCells
 {
 public:
     CountCells() : mnCellCount(0) {}
-    CountCells(const CountCells& r) : mnCellCount(r.mnCellCount) {}
 
     void operator() (const ScRange* p)
     {
@@ -123,14 +118,6 @@ public:
         mcDelim(cDelim),
         mbFirst(true) {}
 
-    FormatString(const FormatString& r) :
-        mrStr(r.mrStr),
-        mnFlags(r.mnFlags),
-        mpDoc(r.mpDoc),
-        meConv(r.meConv),
-        mcDelim(r.mcDelim),
-        mbFirst(r.mbFirst) {}
-
     void operator() (const ScRange* p)
     {
         OUString aStr(p->Format(mnFlags, mpDoc, meConv));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to