diff options
author | Katarina Behrens <bubli@bubli.org> | 2014-06-10 00:02:25 +0200 |
---|---|---|
committer | Katarina Behrens <bubli@bubli.org> | 2014-06-10 00:23:46 +0200 |
commit | 3466cbc01ccad09bf852fdbc470744940c5c3054 (patch) | |
tree | 80a254fee719e85f30cba424c9cca891b31258fd /sd | |
parent | 25678ae57d01ff8d07760d8bf9b98ed5da9b349c (diff) |
fdo#77987, part 3: use signed ints consistently
everywhere where snap line coords are manipulated
Change-Id: I8de1662680bd6e5dc9d42d633fa591dacc260a9b
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fusnapln.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fusnapln.cxx b/sd/source/ui/func/fusnapln.cxx index 8e3548e86c27..9d9c7c63ed47 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 ) |