summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-19 15:15:27 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-19 16:01:52 +0200
commit0fb498ccfd40a13bf99c3f36dd0cebebdaf55809 (patch)
treeffd5079d479c14dca6e81474c91419caa6d74a79
parent861d87d5526a25aef49d8acc99ba5a8ee12a8337 (diff)
Remove unused fields
Change-Id: Ia7d3b7e319f2a568120add15ef05915a98fe6696
-rw-r--r--include/svx/svddrag.hxx2
-rw-r--r--svx/source/svdraw/svddrag.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/svx/svddrag.hxx b/include/svx/svddrag.hxx
index 11109f2b793b..fd43db2bf1d7 100644
--- a/include/svx/svddrag.hxx
+++ b/include/svx/svddrag.hxx
@@ -48,9 +48,7 @@ protected:
Point aRef1; // Referencepoint: Resize fixed point, (axis of rotation,
Point aRef2; // axis of reflection, ...)
Point aPos0; // Position at the last Event
- Point aRealPos0; // Position at the last Event
Point aRealNow; // Current dragging position without Snap, Ortho and Limit
- Point aRealLast; // RealPos of the last Point (for MinMoved)
Rectangle aActionRect;
bool bEndDragChangesAttributes;
diff --git a/svx/source/svdraw/svddrag.cxx b/svx/source/svdraw/svddrag.cxx
index a45ef7b9c6ca..3c0f109954b0 100644
--- a/svx/source/svdraw/svddrag.cxx
+++ b/svx/source/svdraw/svddrag.cxx
@@ -60,13 +60,11 @@ void SdrDragStat::Reset(const Point& rPnt)
Reset();
Start()=rPnt;
aPos0=rPnt;
- aRealPos0=rPnt;
RealNow()=rPnt;
}
void SdrDragStat::NextMove(const Point& rPnt)
{
- aRealPos0=GetRealNow();
aPos0=GetNow();
RealNow()=rPnt;
Point aBla=KorregPos(GetRealNow(),GetPrev());