summaryrefslogtreecommitdiffstats
path: root/sc/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2009-03-09 15:48:30 +0000
committerOliver Bolte <obo@openoffice.org>2009-03-09 15:48:30 +0000
commitc68f869ec0a2daa90227e200cf0cca1fe57d2c39 (patch)
tree301c0d64b638745075b9b71d076f2ce682fedb56 /sc/source
parent#i10000# const class OutlinerParaObject has no member named Clone (diff)
downloadcore-c68f869ec0a2daa90227e200cf0cca1fe57d2c39.tar.gz
core-c68f869ec0a2daa90227e200cf0cca1fe57d2c39.zip
#i10000# fixes from OOO310
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx2
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index 66e75857dea2..f9a86d718770 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -644,7 +644,7 @@ void ScXMLTableRowCellContext::SetAnnotation(const table::CellAddress& aCellAddr
if( SdrCaptionObj* pCaption = pNote->GetCaption() )
{
if( pMyAnnotation->pOPO )
- pCaption->SetOutlinerParaObject( pMyAnnotation->pOPO->Clone() );
+ pCaption->SetOutlinerParaObject( pMyAnnotation->pOPO );
else
pCaption->SetText( pMyAnnotation->sText );
// copy all items and reset shadow items
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 9298c3502522..4646f3dd57d5 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -2803,7 +2803,9 @@ void ScChart2DataSequence::BuildDataCache()
rItem.mbIsValue = true;
}
break;
+#if DBG_UTIL
case CELLTYPE_DESTROYED:
+#endif
case CELLTYPE_EDIT:
case CELLTYPE_NONE:
case CELLTYPE_NOTE: