summaryrefslogtreecommitdiff
path: root/embeddedobj/source/commonembedding
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 10:20:16 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 10:20:16 +0000
commit0041c0b8aca2ede55439ec5b3379afeda4e7f66b (patch)
tree694f385d72d13a4e341bd51da4f03b9d8d46a540 /embeddedobj/source/commonembedding
parentd69607b49bc79c738a764a8b1b1ac3fd731465f1 (diff)
INTEGRATION: CWS sb59 (1.4.24); FILE MERGED
2006/08/29 14:08:18 sb 1.4.24.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'embeddedobj/source/commonembedding')
-rw-r--r--embeddedobj/source/commonembedding/inplaceobj.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/commonembedding/inplaceobj.cxx b/embeddedobj/source/commonembedding/inplaceobj.cxx
index 81ffc2b74667..f8b880f39ffd 100644
--- a/embeddedobj/source/commonembedding/inplaceobj.cxx
+++ b/embeddedobj/source/commonembedding/inplaceobj.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: inplaceobj.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 00:40:38 $
+ * last change: $Author: obo $ $Date: 2006-10-12 11:20:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -71,7 +71,7 @@ void SAL_CALL OCommonEmbeddedObject::setObjectRectangles( const awt::Rectangle&
if ( m_nObjectState != embed::EmbedStates::INPLACE_ACTIVE
&& m_nObjectState != embed::EmbedStates::UI_ACTIVE )
throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object is not activated inplace!\n" ),
- uno::Reference< uno::XInterface >( reinterpret_cast< ::cppu::OWeakObject* >(this) ) );
+ uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
awt::Rectangle aNewRectToShow = GetRectangleInterception( aPosRect, aClipRect );
awt::Rectangle aOldRectToShow = GetRectangleInterception( m_aOwnRectangle, m_aClipRectangle );