summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-24 09:41:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-24 13:47:52 +0200
commit604bc943655b88994faa7f307d1c48e914965e95 (patch)
tree51d09183f93c02371f764a5d1e68c7c54abcb0b5 /svx
parenta43187d9075c6347412a2584d764145127779df8 (diff)
loplugin:unusedfields readonly fields
Change-Id: I6629926df06f71ff86e9fb23ae4fc1ae73bc9406 Reviewed-on: https://gerrit.libreoffice.org/40360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdundo.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 695a236a9f6a..133c604953d9 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -264,7 +264,6 @@ SdrUndoAttrObj::SdrUndoAttrObj(SdrObject& rNewObj, bool bStyleSheet1, bool bSave
: SdrUndoObj(rNewObj)
, pUndoSet(nullptr)
, pRedoSet(nullptr)
- , pRepeatSet(nullptr)
, mxUndoStyleSheet()
, mxRedoStyleSheet()
, bHaveToTakeRedoSet(true)
@@ -311,7 +310,6 @@ SdrUndoAttrObj::~SdrUndoAttrObj()
{
delete pUndoSet;
delete pRedoSet;
- delete pRepeatSet;
delete pUndoGroup;
delete pTextUndo;
delete pTextRedo;
@@ -521,19 +519,6 @@ OUString SdrUndoAttrObj::GetComment() const
return aStr;
}
-void SdrUndoAttrObj::SdrRepeat(SdrView& rView)
-{
- if(pRepeatSet)
- {
- rView.SetAttrToMarked(*pRepeatSet, false);
- }
-}
-
-bool SdrUndoAttrObj::CanSdrRepeat(SdrView& rView) const
-{
- return (pRepeatSet!=nullptr && rView.AreObjectsMarked());
-}
-
OUString SdrUndoAttrObj::GetSdrRepeatComment(SdrView& /*rView*/) const
{
OUString aStr;