diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-13 14:21:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-14 12:50:37 +0100 |
commit | f841dada1a5018897cce29ccf972da33ece4738c (patch) | |
tree | af861d8c6abf98eed1b20ba7fdab2b3997d6e9be /chart2/source/controller/dialogs/dlg_CreationWizard.cxx | |
parent | lok: check if an element exists in the container (diff) | |
download | core-f841dada1a5018897cce29ccf972da33ece4738c.tar.gz core-f841dada1a5018897cce29ccf972da33ece4738c.zip |
loplugin:changetoolsgen in canvas..cui
Change-Id: I4e320055a3dbe4159c2aa2714e1ee98182e1e80a
Reviewed-on: https://gerrit.libreoffice.org/49642
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_CreationWizard.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_CreationWizard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx index 8cf6e4252c43..ac7201d5e987 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx @@ -73,7 +73,7 @@ CreationWizard::CreationWizard(vcl::Window* pParent, const uno::Reference<frame: Size aAdditionalRoadmapSize(LogicToPixel(Size(85, 0), MapMode(MapUnit::MapAppFont))); Size aSize(LogicToPixel(Size(CHART_WIZARD_PAGEWIDTH, CHART_WIZARD_PAGEHEIGHT), MapMode(MapUnit::MapAppFont))); - aSize.Width() += aAdditionalRoadmapSize.Width(); + aSize.setWidth( aSize.Width() + aAdditionalRoadmapSize.Width() ); SetSizePixel(aSize); if (!m_pDialogModel->getModel().isDataFromSpreadsheet()) |