diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-24 10:40:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-25 10:09:53 +0200 |
commit | 9409b2eb454118eab93542d4dfb464b723b219e2 (patch) | |
tree | b143ccfb63af30b3e47637e096d03261f2586065 /sw/source/uibase/shells/textsh.cxx | |
parent | 88aaa3496161339d504876a2e84dc03e4d6191d9 (diff) |
loplugin: cstylecast
Change-Id: I030208a86a60609b0379c00957538677fac15ccf
Diffstat (limited to 'sw/source/uibase/shells/textsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index ea9e96f730d0..3d7bf34209e7 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -451,7 +451,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) svt::EmbeddedObjectRef& xObj = rSh.GetOLEObject(); if(pItem && xObj.is()) { - Size aSize(((SvxSizeItem*)pItem)->GetSize()); + Size aSize(static_cast<const SvxSizeItem*>(pItem)->GetSize()); aSize = OutputDevice::LogicToLogic ( aSize, MapMode( MAP_TWIP ), MapMode( MAP_100TH_MM ) ); |