[Libreoffice-commits] core.git: sd/source
Katarina Behrens
bubli at bubli.org
Mon Jun 9 15:27:18 PDT 2014
sd/source/ui/func/fusnapln.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3466cbc01ccad09bf852fdbc470744940c5c3054
Author: Katarina Behrens <bubli at bubli.org>
Date: Tue Jun 10 00:02:25 2014 +0200
fdo#77987, part 3: use signed ints consistently
everywhere where snap line coords are manipulated
Change-Id: I8de1662680bd6e5dc9d42d633fa591dacc260a9b
diff --git a/sd/source/ui/func/fusnapln.cxx b/sd/source/ui/func/fusnapln.cxx
index 8e3548e..9d9c7c6 100644
--- a/sd/source/ui/func/fusnapln.cxx
+++ b/sd/source/ui/func/fusnapln.cxx
@@ -166,8 +166,8 @@ void FuSnapLine::DoExecute( SfxRequest& rReq )
}
Point aHlpPos;
- aHlpPos.X() = ((const SfxUInt32Item&) pArgs->Get(ATTR_SNAPLINE_X)).GetValue();
- aHlpPos.Y() = ((const SfxUInt32Item&) pArgs->Get(ATTR_SNAPLINE_Y)).GetValue();
+ aHlpPos.X() = ((const SfxInt32Item&) pArgs->Get(ATTR_SNAPLINE_X)).GetValue();
+ aHlpPos.Y() = ((const SfxInt32Item&) pArgs->Get(ATTR_SNAPLINE_Y)).GetValue();
pPV->PagePosToLogic(aHlpPos);
if ( bCreateNew )
More information about the Libreoffice-commits
mailing list