summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/scmatrix.cxx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2019-04-09 16:43:39 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2019-04-10 12:18:24 +0200
commitadfba503c792fdbd4748d6680c2dd8d8d5bb0d69 (patch)
tree88fe08b0bd11b07641022f8aae90b3a3106021e8 /sc/source/core/tool/scmatrix.cxx
parent835ddd98d72617c2ed6ae6950f1fec0cc21b3ba2 (diff)
clang-tidy: Silence warnings from WIP unhandled-self-assignment check
Where it can be done by removing useless / duplicate code. For XFListStyle I removed the copy operator entirely, because it was bugous and it seems not to be used anyway. Change-Id: Iba0eb0d5c45b42f0e78be466c617acdc1216eb22 Reviewed-on: https://gerrit.libreoffice.org/70482 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sc/source/core/tool/scmatrix.cxx')
-rw-r--r--sc/source/core/tool/scmatrix.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 97822e9909ed..0291c84a04d7 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -2363,13 +2363,7 @@ public:
MatrixOpWrapper( const MatrixOpWrapper& r ) : mrMat(r.mrMat), pos(r.pos), mpOp(r.mpOp) {}
- MatrixOpWrapper& operator= ( const MatrixOpWrapper& r )
- {
- mrMat = r.mrMat;
- pos = r.pos;
- mpOp = r.mpOp;
- return *this;
- }
+ MatrixOpWrapper& operator= ( const MatrixOpWrapper& r ) = default;
void operator()(const MatrixImplType::element_block_node_type& node)
{