Kaydet (Commit) a32050b3 authored tarafından Caolán McNamara's avatar Caolán McNamara

give copy ctor a conventional signature

üst af9709c3
......@@ -1285,9 +1285,9 @@ TextObj::TextObj( ::com::sun::star::uno::Reference< ::com::sun::star::text::XSim
ImplCalculateTextPositions();
}
TextObj::TextObj( TextObj& rTextObj )
TextObj::TextObj( const TextObj& rTextObj )
{
mpImplTextObj = rTextObj.mpImplTextObj;
mpImplTextObj = const_cast<TextObj&>(rTextObj).mpImplTextObj;
mpImplTextObj->mnRefCount++;
}
......
......@@ -249,7 +249,7 @@ class TextObj
public :
TextObj( ::com::sun::star::uno::Reference< ::com::sun::star::text::XSimpleText > &
rXText, int nInstance, FontCollection& rFontCollection, PPTExBulletProvider& rBuProv );
TextObj( TextObj& rTextObj );
TextObj( const TextObj& rTextObj );
~TextObj();
void Write( SvStream* pStrm );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment