summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fusnapln.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-26 12:20:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-26 21:15:43 +0200
commita4d4445e698b78ec0c2eb61a685869bd1d8bfd85 (patch)
tree339b05f94646ec606c7227cfb2fc15a553e92ad8 /sd/source/ui/func/fusnapln.cxx
parent370533da3f07169791c0a17013ca55c57df2f3c9 (diff)
use more TypedWhichId
Change-Id: Iaa7ce9165da835a638bcc1d633bed0a2ff2c4108 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152308 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/func/fusnapln.cxx')
-rw-r--r--sd/source/ui/func/fusnapln.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fusnapln.cxx b/sd/source/ui/func/fusnapln.cxx
index 323404b5afab..24808e24a91b 100644
--- a/sd/source/ui/func/fusnapln.cxx
+++ b/sd/source/ui/func/fusnapln.cxx
@@ -157,8 +157,8 @@ void FuSnapLine::DoExecute( SfxRequest& rReq )
}
Point aHlpPos;
- aHlpPos.setX( static_cast<const SfxInt32Item&>( pArgs->Get(ATTR_SNAPLINE_X)).GetValue() );
- aHlpPos.setY( static_cast<const SfxInt32Item&>( pArgs->Get(ATTR_SNAPLINE_Y)).GetValue() );
+ aHlpPos.setX( pArgs->Get(ATTR_SNAPLINE_X).GetValue() );
+ aHlpPos.setY( pArgs->Get(ATTR_SNAPLINE_Y).GetValue() );
pPV->PagePosToLogic(aHlpPos);
if ( bCreateNew )