summaryrefslogtreecommitdiffstats
path: root/sc/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2009-03-09 15:19:47 +0000
committerOliver Bolte <obo@openoffice.org>2009-03-09 15:19:47 +0000
commitd54d9323e2584c902ab1f2ec5e09d2f7cbbe4c30 (patch)
tree56fef8fc770632afe6ddebfbf07c349bf2ad04a8 /sc/source
parentCWS-TOOLING: integrate CWS calc48 (diff)
downloadcore-d54d9323e2584c902ab1f2ec5e09d2f7cbbe4c30.tar.gz
core-d54d9323e2584c902ab1f2ec5e09d2f7cbbe4c30.zip
#i10000# const class OutlinerParaObject has no member named Clone
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/postit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx
index 7de9d8b5ce26..f3a51f069c2b 100644
--- a/sc/source/core/data/postit.cxx
+++ b/sc/source/core/data/postit.cxx
@@ -503,8 +503,8 @@ void ScPostIt::CreateCaption( const ScAddress& rPos, const SdrCaptionObj* pCapti
if( pCaption )
{
// copy edit text object (object must be inserted into page already)
- if( const OutlinerParaObject* pOPO = pCaption->GetOutlinerParaObject() )
- maNoteData.mpCaption->SetOutlinerParaObject( pOPO->Clone() );
+ if( OutlinerParaObject* pOPO = pCaption->GetOutlinerParaObject() )
+ maNoteData.mpCaption->SetOutlinerParaObject( pOPO );
// copy formatting items (after text has been copied to apply font formatting)
maNoteData.mpCaption->SetMergedItemSetAndBroadcast( pCaption->GetMergedItemSet() );
// move textbox position relative to new cell, copy textbox size