summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-10-27 21:57:05 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-10-27 22:47:44 +0200
commit95ed6bc10cadf3706548cb297cceb9eaab6ff05a (patch)
tree62c1eeafb027090ced396416d0da6f5f50cdf0cc /toolkit
parentc28724df95b791d18314b256b5ceecb65eb02657 (diff)
C-Style casting replaced by C++ style
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/layout/core/import.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/layout/core/import.cxx b/toolkit/source/layout/core/import.cxx
index 5114ca586a74..fdc90de68598 100644
--- a/toolkit/source/layout/core/import.cxx
+++ b/toolkit/source/layout/core/import.cxx
@@ -77,7 +77,7 @@ SAL_THROW (())
//DEBUG
uno::Reference< awt::XLayoutConstrains > xParent;
if ( pParent )
- xParent = ((WidgetElement *) pParent)->mpWidget->getPeer();
+ xParent = (static_cast<WidgetElement *>(pParent))->mpWidget->getPeer();
mpWidget = pImport->mrRoot.create( aId, name,