summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2021-10-28 12:05:35 +0200
committerJean-Pierre Ledure <jp@ledure.be>2021-10-28 15:15:01 +0200
commit4f53fc260438591467c2b9dfc13eb76abeac3d9e (patch)
treea3648fe7dde39ddf98a351e419dc3d1c93eaf479
parentbbab833bd956e220db3548ddd0a00dfd30836de1 (diff)
ScriptForge - (SF_Chart) fix Resize() method must return a Boolean
Change-Id: I8acccd3036c8a08d6fd52b64623f2c9ab3ded5ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124323 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
-rw-r--r--wizards/source/sfdocuments/SF_Calc.xba2
-rw-r--r--wizards/source/sfdocuments/SF_Chart.xba4
2 files changed, 3 insertions, 3 deletions
diff --git a/wizards/source/sfdocuments/SF_Calc.xba b/wizards/source/sfdocuments/SF_Calc.xba
index f8a13f927953..a816b96920a0 100644
--- a/wizards/source/sfdocuments/SF_Calc.xba
+++ b/wizards/source/sfdocuments/SF_Calc.xba
@@ -1017,7 +1017,7 @@ Try:
&apos; Create the chart and get ihe corresponding chart instance
oSheet.getCharts.addNewByName(ChartName, oRectangle, Array(oRange.XCellRange.RangeAddress), ColumnHeader, RowHeader)
Set oChart = Charts(SheetName, ChartName)
- oChart._Shape.Name = ChartName &apos; Both used-defined and internal names match ChartName
+ oChart._Shape.Name = ChartName &apos; Both user-defined and internal names match ChartName
oChart._Diagram.Wall.FillColor = RGB(255, 255, 255) &apos; Align on background color set by the user interface by default
Finally:
diff --git a/wizards/source/sfdocuments/SF_Chart.xba b/wizards/source/sfdocuments/SF_Chart.xba
index 175fecfccaf8..a4cbf2f2ba28 100644
--- a/wizards/source/sfdocuments/SF_Chart.xba
+++ b/wizards/source/sfdocuments/SF_Chart.xba
@@ -137,7 +137,7 @@ End Property &apos; SFDocuments.SF_Chart.Dim3D (let)
REM -----------------------------------------------------------------------------
Property Get Exploded() As Variant
-&apos;&apos;&apos; the offset by which pie segments in a PieDiagram are dragged outside from the center.
+&apos;&apos;&apos; the offset by which pie segments in a PieDiagram (pie or donut) are dragged outside from the center.
&apos;&apos;&apos; This value is given in percent of the radius.
Exploded = _PropertyGet(&quot;Exploded&quot;)
End Property &apos; SFDocuments.SF_Chart.Exploded (get)_ChartObject
@@ -417,7 +417,7 @@ Public Function Resize(Optional ByVal XPos As Variant _
, Optional ByVal YPos As Variant _
, Optional ByVal Width As Variant _
, Optional ByVal Height As Variant _
- ) As String
+ ) As Boolean
&apos;&apos;&apos; Move the topleft corner of a chart to new coordinates and/or modify its dimensions
&apos;&apos;&apos; All distances are expressed in 1/100th mm
&apos;&apos;&apos; Args: