diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:28:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:28:26 +0100 |
commit | 898a8b00622d219741ec7649dbac560bc1f70f6b (patch) | |
tree | 56701de314ff3150fe3287ba4d02465a02dda2b6 /chart2/source/controller/main/ChartController_Window.cxx | |
parent | 56bd8bb862bf6bcb2242bc864be9abf56f0c092f (diff) |
More loplugin:cstylecast: chart2
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: I745557506326b2b0ce66d0058ebf85e5ed2a0952
Diffstat (limited to 'chart2/source/controller/main/ChartController_Window.cxx')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index ec9e4323ffe2..151b916b37be 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -664,7 +664,7 @@ void ChartController::execute_MouseButtonDown( const MouseEvent& rMEvt ) && !rMEvt.IsRight() ) { //start drag - sal_uInt16 nDrgLog = (sal_uInt16)pChartWindow->PixelToLogic(Size(DRGPIX,0)).Width(); + sal_uInt16 nDrgLog = static_cast<sal_uInt16>(pChartWindow->PixelToLogic(Size(DRGPIX,0)).Width()); SdrDragMethod* pDragMethod = nullptr; //change selection to 3D scene if rotate mode |