summaryrefslogtreecommitdiff
path: root/svx/source/outliner
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 11:31:33 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 11:31:33 +0000
commita5bcf45ae9bde022c6be343ad00ebf9b8462d970 (patch)
tree6c29ae69b9fc1b5aea885305e941c0784d611c4a /svx/source/outliner
parent6932bfd3f6a5c4794f7db2a9a00546233dbfab58 (diff)
INTEGRATION: CWS impressodf12 (1.10.12); FILE MERGED
2008/05/26 11:37:24 cl 1.10.12.4: #i35937# code cleanup after bullet rework 2008/04/25 09:01:34 cl 1.10.12.3: RESYNC: (1.10-1.11); FILE MERGED 2008/04/17 08:50:10 cl 1.10.12.2: #i35937# removed unused code for old binary versions 2008/04/10 16:50:55 cl 1.10.12.1: #i35937# allow paragraph depth of -1 to switch of numbering
Diffstat (limited to 'svx/source/outliner')
-rw-r--r--svx/source/outliner/outlobj.cxx39
1 files changed, 6 insertions, 33 deletions
diff --git a/svx/source/outliner/outlobj.cxx b/svx/source/outliner/outlobj.cxx
index 0968436479..8943048b06 100644
--- a/svx/source/outliner/outlobj.cxx
+++ b/svx/source/outliner/outlobj.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: outlobj.cxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -52,7 +52,7 @@ OutlinerParaObject::OutlinerParaObject( USHORT nParaCount )
DBG_CTOR(OutlinerParaObject,0);
bIsEditDoc = TRUE;
- pDepthArr = new USHORT[ nParaCount ];
+ pDepthArr = new sal_Int16[ nParaCount ];
nCount = nParaCount;
}
@@ -62,8 +62,8 @@ OutlinerParaObject::OutlinerParaObject( const OutlinerParaObject& rObj )
bIsEditDoc = rObj.bIsEditDoc;
nCount = rObj.nCount;
- pDepthArr = new USHORT[ nCount ];
- memcpy( pDepthArr, rObj.pDepthArr, (size_t)(sizeof(USHORT)*nCount) );
+ pDepthArr = new sal_Int16[ nCount ];
+ memcpy( pDepthArr, rObj.pDepthArr, (size_t)(sizeof(sal_Int16)*nCount) );
pText = rObj.pText->Clone();
}
@@ -74,8 +74,8 @@ OutlinerParaObject::OutlinerParaObject( const EditTextObject& rEditObj )
bIsEditDoc = TRUE;
pText = rEditObj.Clone();
nCount = pText->GetParagraphCount();
- pDepthArr = new USHORT[ nCount ];
- memset( pDepthArr, 0, nCount*sizeof(USHORT) );
+ pDepthArr = new sal_Int16[ nCount ];
+ memset( pDepthArr, 0, nCount*sizeof(sal_Int16) );
}
OutlinerParaObject::~OutlinerParaObject()
@@ -221,11 +221,6 @@ OutlinerParaObject* OutlinerParaObject::Create( SvStream& rStream, SfxItemPool*
for( USHORT nCur=0; nCur < nCount; nCur++ )
rStream >> pPObj->pDepthArr[ nCur ];
rStream >> pPObj->bIsEditDoc;
-
- if ( pPObj->pText->GetVersion() < 501 )
- pPObj->pText->AdjustImportedLRSpaceItems( pPObj->bIsEditDoc );
-
- // MT: Bei der naechsten Version mal eine Recordlaenge einfuehren!
}
}
return pPObj;
@@ -241,11 +236,6 @@ void OutlinerParaObject::SetOutlinerMode( USHORT n )
pText->SetUserType( n );
}
-void OutlinerParaObject::SetLRSpaceItemFlags( BOOL bOutlineMode )
-{
- pText->SetLRSpaceItemFlags( bOutlineMode );
-}
-
BOOL OutlinerParaObject::RemoveCharAttribs( USHORT nWhich )
{
return pText->RemoveCharAttribs( nWhich );
@@ -261,23 +251,6 @@ void OutlinerParaObject::MergeParaAttribs( const SfxItemSet& rAttribs, USHORT nS
pText->MergeParaAttribs( rAttribs, nStart, nEnd );
}
-/* cl removed because not needed anymore since binfilter
-void OutlinerParaObject::PrepareStore( SfxStyleSheetPool* pStyleSheetPool )
-{
- pText->PrepareStore( pStyleSheetPool );
-}
-
-void OutlinerParaObject::FinishStore()
-{
- pText->FinishStore();
-}
-
-void OutlinerParaObject::FinishLoad( SfxStyleSheetPool* pStyleSheetPool )
-{
- pText->FinishLoad( pStyleSheetPool );
-}
-*/
-
void OutlinerParaObject::SetVertical( BOOL bVertical )
{
pText->SetVertical( bVertical );