[Libreoffice-commits] .: binfilter/bf_svx binfilter/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Jul 23 04:58:51 PDT 2012
binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx | 18 ------------------
binfilter/inc/bf_svx/svdmrkv.hxx | 2 --
2 files changed, 20 deletions(-)
New commits:
commit 90eb42254e0300bad08d8a5d1d205f2ef777dbaf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jul 23 08:22:13 2012 +0100
callcatcher: SdrMarkView::GetMarkedObjRect freshly unused
since 24f44a91db4db8b67045c5cd98a6537ae7c7c5f5
Change-Id: I737acb7866f8fb424bf7968451ff8e986ed3acee
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx b/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx
index fbf5d3c..a3f0c43 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdmrkv.cxx
@@ -381,24 +381,6 @@ namespace binfilter {
/*N*/ }
-/*N*/ const Rectangle& SdrMarkView::GetMarkedObjRect() const
-/*N*/ {
-/*N*/ if (bMarkedObjRectDirty) {
-/*N*/ ((SdrMarkView*)this)->bMarkedObjRectDirty=FALSE;
-/*N*/ Rectangle aRect;
-/*N*/ for (ULONG nm=0; nm<aMark.GetMarkCount(); nm++) {
-/*?*/ SdrMark* pM=aMark.GetMark(nm);
-/*?*/ SdrObject* pO=pM->GetObj();
-/*?*/ Rectangle aR1(pO->GetSnapRect());
-/*?*/ aR1+=pM->GetPageView()->GetOffset();
-/*?*/ if (aRect.IsEmpty()) aRect=aR1;
-/*?*/ else aRect.Union(aR1);
-/*N*/ }
-/*N*/ ((SdrMarkView*)this)->aMarkedObjRect=aRect;
-/*N*/ }
-/*N*/ return aMarkedObjRect;
-/*N*/ }
-
////////////////////////////////////////////////////////////////////////////////////////////////////
/*N*/ void SdrMarkView::MarkListHasChanged()
diff --git a/binfilter/inc/bf_svx/svdmrkv.hxx b/binfilter/inc/bf_svx/svdmrkv.hxx
index e31363f..91bf900 100644
--- a/binfilter/inc/bf_svx/svdmrkv.hxx
+++ b/binfilter/inc/bf_svx/svdmrkv.hxx
@@ -241,8 +241,6 @@ public:
// Der Zweck ist, unnoetiges Flackern zu vermeiden. -> Funkt noch nich, deshalb TRUE!
void AdjustMarkHdl(BOOL bRestraintPaint=TRUE);
- const Rectangle& GetMarkedObjRect() const; // SnapRects der Objekte, ohne Strichstaerke
-
// Wird immer dann gerufen, wenn sich die Liste der markierten Objekte
// moeglicherweise geaendert hat. Wer ueberlaed muss unbedingt auch die
// Methode der Basisklasse rufen!
More information about the Libreoffice-commits
mailing list