diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:16:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:16:43 +0100 |
commit | abf7b94123a555c4f3e90a0ae41bd7a842d1c1fb (patch) | |
tree | 6e0208e0450308652be1a0a512f98023b35ca489 /sd/source/ui/func/fucon3d.cxx | |
parent | b271fb5ba1a8f7da2120d7037de087b02eb16c91 (diff) |
More loplugin:cstylecast: sd
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: I144975b94fe2725ac740a953ca2133e99f8a3fce
Diffstat (limited to 'sd/source/ui/func/fucon3d.cxx')
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index 78e4319d881f..aec8839e18c6 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -372,7 +372,7 @@ SdrObject* FuConstruct3dObject::CreateDefaultObject(const sal_uInt16 nID, const basegfx::B3DRange aVolume(aObjVol); double fW(aVolume.getWidth()); double fH(aVolume.getHeight()); - ::tools::Rectangle a3DRect(0, 0, (long)fW, (long)fH); + ::tools::Rectangle a3DRect(0, 0, static_cast<long>(fW), static_cast<long>(fH)); E3dScene* pScene = new E3dScene; // copied code from E3dView::InitScene |