diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-16 11:28:12 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-16 11:28:12 +0000 |
commit | b48fd670fcec70158135497a511016c632d35642 (patch) | |
tree | 64b8a91d5c8ad2727edee7b2ae3928cd3e8f0cdf /svx/source/unodraw | |
parent | 841006070b46559440c5990727755a8e4caa45b2 (diff) |
INTEGRATION: CWS rptchart02 (1.33.2); FILE MERGED
2008/04/16 06:35:52 oj 1.33.2.2: RESYNC: (1.33-1.36); FILE MERGED
2008/04/03 13:25:31 oj 1.33.2.1: impl XInplaceClient at lightclient
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index a815c1719e..b951017f65 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unoshap4.cxx,v $ - * $Revision: 1.36 $ + * $Revision: 1.37 $ * * This file is part of OpenOffice.org. * @@ -471,7 +471,7 @@ sal_Bool SvxOle2Shape::createObject( const SvGlobalName &aClassName ) DBG_TESTSOLARMUTEX(); SdrOle2Obj* pOle2Obj = dynamic_cast< SdrOle2Obj* >( mpObj.get() ); - if ( !pOle2Obj && !pOle2Obj->IsEmpty() ) + if ( !pOle2Obj || !pOle2Obj->IsEmpty() ) return sal_False; // create storage and inplace object |