summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-13 13:08:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 05:59:59 +0000
commit9778a2c9d04abf4f3017ac6730fdefa7fb7fd81b (patch)
tree866a3e8d021b07ae3d4463525ebeabf06e8b15fb
parentdrop unused Streaming enumerator from SdrInsertReasonKind enum (diff)
downloadcore-9778a2c9d04abf4f3017ac6730fdefa7fb7fd81b.tar.gz
core-9778a2c9d04abf4f3017ac6730fdefa7fb7fd81b.zip
remove unused Copy enumerator from SdrUserCallType enum
Change-Id: I72f5ab1e903de96389fd7b085f9ebd76c26cf926 Reviewed-on: https://gerrit.libreoffice.org/34207 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--include/svx/svdobj.hxx1
-rw-r--r--svx/source/svdraw/svdobj.cxx4
2 files changed, 0 insertions, 5 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index c5988e7dc05e..9c3d4e107223 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -161,7 +161,6 @@ enum class SdrUserCallType {
Resize, // size and maybe position changed
ChangeAttr, // attribute changed. Eventually new size, because of line width
Delete, // object is going to be deleted soon, no attributes anymore
- Copy, // assign operator called, everything can be changed
Inserted, // inserted into an object list (e.g. Page)
Removed, // removed from an object list
ChildMoveOnly, // a child within a group has changed
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index f62dd3100a18..de6e898a1b23 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -2768,10 +2768,6 @@ void SdrObject::SendUserCall(SdrUserCallType eUserCall, const Rectangle& rBoundR
eChildUserType = SdrUserCallType::ChildDelete;
break;
- case SdrUserCallType::Copy:
- eChildUserType = SdrUserCallType::ChildCopy;
- break;
-
case SdrUserCallType::Inserted:
eChildUserType = SdrUserCallType::ChildInserted;
break;