summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-12 10:52:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-13 07:47:12 +0100
commitcf4cf3ed0d9f57981b3fd15d64ef1c53bc16c0f1 (patch)
tree37fd4e39366cfa8db1940ee93f908e53906ba39d /sd
parent8782ea036e97c383e0a979ed30c8da955c56877b (diff)
sal_uIntPtr->sal_Int32 in SdrDragStat
also fix the X& X() methods to be normal void SetX(X const &) methods Change-Id: Id2999b09535ce560110eda646d3d5bbbedf87326 Reviewed-on: https://gerrit.libreoffice.org/46309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx2
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index c4e7a8c30191..c99e729f9fe7 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -179,7 +179,7 @@ bool PathDragResize::EndSdrDrag(bool /*bCopy*/)
SdrPathObj* pPathObj = mxTag->getPathObj();
if( pPathObj )
{
- const Point aRef( DragStat().Ref1() );
+ const Point aRef( DragStat().GetRef1() );
basegfx::B2DHomMatrix aTrans(basegfx::utils::createTranslateB2DHomMatrix(-aRef.X(), -aRef.Y()));
aTrans.scale(double(aXFact), double(aYFact));
aTrans.translate(aRef.X(), aRef.Y());
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index 5a85e257bc1b..b607a3a4bfad 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -112,7 +112,7 @@ AnnotationDragMove::AnnotationDragMove(SdrDragView& rNewView, const rtl::Referen
bool AnnotationDragMove::BeginSdrDrag()
{
- DragStat().Ref1()=GetDragHdl()->GetPos();
+ DragStat().SetRef1(GetDragHdl()->GetPos());
DragStat().SetShown(!DragStat().IsShown());
maOrigin = GetDragHdl()->GetPos();