1 Index: svx/source/svdraw/svdoole2.cxx
2 ===================================================================
3 --- svx/source/svdraw/svdoole2.cxx.orig 2003-06-06 12:44:20.000000000 +0200
4 +++ svx/source/svdraw/svdoole2.cxx 2003-11-09 15:07:54.000000000 +0100
12 - * last change: $Author$ $Date$
13 + * last change: $Author$ $Date$
15 * The Contents of this file are made available subject to the terms of
16 * either of the following licenses
17 @@ -377,6 +377,8 @@ void SdrOle2Obj::Connect()
19 pInfo->SetDeleted(FALSE);
22 + mpImpl->mbConnected = true;
26 @@ -412,7 +414,6 @@ void SdrOle2Obj::Connect()
27 xBC->addModifyListener( xListener );
30 - mpImpl->mbConnected = true;
34 @@ -570,7 +571,13 @@ XubString SdrOle2Obj::GetName() const
36 void SdrOle2Obj::SetPersistName( const String& rPersistName )
38 + if( mpImpl->mbConnected )
41 mpImpl->aPersistName = rPersistName;
48 @@ -1283,7 +1290,11 @@ const SvInPlaceObjectRef& SdrOle2Obj::Ge
49 uno::Reference< util::XModifyListener > xListener( pModifyListener );
50 xBC->addModifyListener( xListener );
55 + // we are always connected if we loaded it
56 + mpImpl->mbConnected = true;