diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2021-10-28 12:05:35 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2021-10-28 15:15:01 +0200 |
commit | 4f53fc260438591467c2b9dfc13eb76abeac3d9e (patch) | |
tree | a3648fe7dde39ddf98a351e419dc3d1c93eaf479 /wizards | |
parent | bbab833bd956e220db3548ddd0a00dfd30836de1 (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>
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/source/sfdocuments/SF_Calc.xba | 2 | ||||
-rw-r--r-- | wizards/source/sfdocuments/SF_Chart.xba | 4 |
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: ' 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 ' Both used-defined and internal names match ChartName + oChart._Shape.Name = ChartName ' Both user-defined and internal names match ChartName oChart._Diagram.Wall.FillColor = RGB(255, 255, 255) ' 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 ' SFDocuments.SF_Chart.Dim3D (let) REM ----------------------------------------------------------------------------- Property Get Exploded() As Variant -''' the offset by which pie segments in a PieDiagram are dragged outside from the center. +''' the offset by which pie segments in a PieDiagram (pie or donut) are dragged outside from the center. ''' This value is given in percent of the radius. Exploded = _PropertyGet("Exploded") End Property ' 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 ''' Move the topleft corner of a chart to new coordinates and/or modify its dimensions ''' All distances are expressed in 1/100th mm ''' Args: |