wizards/source/sfdialogs/SF_DialogControl.xba | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit 8e89ca42f3748e31fb600e6d69f96a6451e8240e Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Fri Apr 21 17:35:18 2023 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sat Apr 22 12:42:13 2023 +0200 Fix typo in code Change-Id: Iba5e188204fafa4cd88282d001eea31f277fcc4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150768 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/wizards/source/sfdialogs/SF_DialogControl.xba b/wizards/source/sfdialogs/SF_DialogControl.xba index 106c4f687687..e7c415f0ba52 100644 --- a/wizards/source/sfdialogs/SF_DialogControl.xba +++ b/wizards/source/sfdialogs/SF_DialogControl.xba @@ -2024,19 +2024,19 @@ Const cstSubArgs = "" _PropertyGet = SF_DialogUtils._ConvertToAppFont(_ControlView, False).Width Else If oSession.HasUNOProperty(_ControlModel, "Width") Then _PropertyGet = _ControlModel.Width - End If + End If Case UCase("X") If [_parent]._Displayed Then ' Convert PosSize view property from pixels to APPFONT units _PropertyGet = SF_DialogUtils._ConvertToAppFont(_ControlView, True).X Else - If oSession.HasUNOProperty(_ControlModel, "PoistionX") Then _PropertyGet = _ControlModel.PositionX - End If + If oSession.HasUNOProperty(_ControlModel, "PositionX") Then _PropertyGet = _ControlModel.PositionX + End If Case UCase("Y") If [_parent]._Displayed Then ' Convert PosSize view property from piYels to APPFONT units _PropertyGet = SF_DialogUtils._ConvertToAppFont(_ControlView, True).Y Else - If oSession.HasUNOProperty(_ControlModel, "PoistionY") Then _PropertyGet = _ControlModel.PositionY - End If + If oSession.HasUNOProperty(_ControlModel, "PositionY") Then _PropertyGet = _ControlModel.PositionY + End If Case UCase("XControlModel") Set _PropertyGet = _ControlModel Case UCase("XControlView") @@ -2415,4 +2415,4 @@ Private Function _Repr() As String End Function ' SFDialogs.SF_DialogControl._Repr REM ============================================ END OF SFDIALOGS.SF_DIALOGCONTROL -</script:module> \ No newline at end of file +</script:module>