diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 00:04:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 08:54:40 +0100 |
commit | 9233083e090dc8adfa36fa56552bcd3bb5a6bb2a (patch) | |
tree | 8d45692804d48be7a5fb5e6885e513095548b07b /svx | |
parent | 4f7bb219c0a9b377c05c091575e97097e41ec41a (diff) |
callcatcher: unused code
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svdview.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdview.cxx | 31 |
2 files changed, 0 insertions, 33 deletions
diff --git a/svx/inc/svx/svdview.hxx b/svx/inc/svx/svdview.hxx index f50d6e746bad..efd51a62d307 100644 --- a/svx/inc/svx/svdview.hxx +++ b/svx/inc/svx/svdview.hxx @@ -260,8 +260,6 @@ public: sal_Bool IsMarkPossible() const; void MarkAll(); void UnmarkAll(); - sal_Bool IsAllMarked() const; - sal_Bool IsAllMarkPrevNextPossible() const; // das geht naemlich nicht bei TextEdit! sal_Bool MarkNext(sal_Bool bPrev=sal_False); sal_Bool MarkNext(const Point& rPnt, sal_Bool bPrev=sal_False); diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 13cc43029f37..b4d7725377c7 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1382,23 +1382,6 @@ void SdrView::UnmarkAll() else UnmarkAllObj(); } -sal_Bool SdrView::IsAllMarked() const -{ - if (IsTextEdit()) { - return ImpIsTextEditAllSelected(); - } - if (IsGluePointEditMode()) { - sal_uIntPtr nAnz=GetMarkableGluePointCount(); - return nAnz!=0 && nAnz==GetMarkedGluePointCount(); - } - if (HasMarkedPoints()) { - sal_uIntPtr nAnz=GetMarkablePointCount(); - return nAnz!=0 && nAnz==GetMarkedPointCount(); - } - sal_uIntPtr nAnz=GetMarkableObjCount(); - return nAnz!=0 && nAnz == GetMarkedObjectCount(); -} - sal_Bool SdrView::IsMarkPossible() const { if(IsTextEdit()) @@ -1419,20 +1402,6 @@ sal_Bool SdrView::IsMarkPossible() const return HasMarkableObj(); } -sal_Bool SdrView::IsAllMarkPrevNextPossible() const -{ - if (IsTextEdit()) { - return sal_False; - } - if (IsGluePointEditMode()) { - return HasMarkableGluePoints(); - } - if (HasMarkedPoints()) { - return HasMarkablePoints(); - } - return HasMarkableObj(); -} - sal_Bool SdrView::MarkNext(sal_Bool bPrev) { if (IsTextEdit()) { |