View | Details | Raw Unified | Return to issue 120040
Collapse All | Expand All

(-)sfx2/source/appl/lnkbase2.cxx (-2 / +6 lines)
Lines 170-180 Link Here
170
170
171
SvBaseLink::SvBaseLink( const String& rLinkName, sal_uInt16 nObjectType, SvLinkSource* pObj )
171
SvBaseLink::SvBaseLink( const String& rLinkName, sal_uInt16 nObjectType, SvLinkSource* pObj )
172
{
172
{
173
	pImpl = new BaseLink_Impl();
174
	nObjType = nObjectType;
175
	pImplData = new ImplBaseLinkData;
173
	bVisible = bSynchron = bUseCache = sal_True;
176
	bVisible = bSynchron = bUseCache = sal_True;
174
    bWasLastEditOK = sal_False;
177
    bWasLastEditOK = sal_False;
175
	aLinkName = rLinkName;
178
	aLinkName = rLinkName;
176
	pImplData = new ImplBaseLinkData;
177
	nObjType = nObjectType;
178
179
179
	if( !pObj )
180
	if( !pObj )
180
	{
181
	{
Lines 223-228 Link Here
223
	}
224
	}
224
225
225
	delete pImplData;
226
	delete pImplData;
227
228
	delete pImpl;    // memory leak i120040
229
226
}
230
}
227
231
228
IMPL_LINK( SvBaseLink, EndEditHdl, String*, _pNewName )
232
IMPL_LINK( SvBaseLink, EndEditHdl, String*, _pNewName )

Return to issue 120040