diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2009-03-17 11:49:39 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2009-03-17 11:49:39 +0000 |
commit | 2d496c51fa686e379b4de2a0f085665250859427 (patch) | |
tree | 03c8dda78915b73ae8d8df24cd81934f3d7c15d0 /sc/source/filter/xml/xmlcelli.cxx | |
parent | b35d11c41cd6135c74299f3129e4711d09caa7dc (diff) |
CWS-TOOLING: integrate CWS cl12_DEV300
2009-02-28 11:04:48 +0100 cl r268621 : #i99678# correctly initialize paragraph vector for edit engine text
2009-02-27 16:16:25 +0100 dr r268605 : #i99710# lost cloning of outlinerparaobject
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index f9a86d718770..06c84ac83366 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -644,7 +644,12 @@ void ScXMLTableRowCellContext::SetAnnotation(const table::CellAddress& aCellAddr if( SdrCaptionObj* pCaption = pNote->GetCaption() ) { if( pMyAnnotation->pOPO ) + { + // transfer outliner object to caption pCaption->SetOutlinerParaObject( pMyAnnotation->pOPO ); + // do not delete the object in ScMyImportAnnotation d'tor + pMyAnnotation->pOPO = 0; + } else pCaption->SetText( pMyAnnotation->sText ); // copy all items and reset shadow items |