summaryrefslogtreecommitdiff
path: root/sw/source/core/swg/swblocks.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-08-12 11:33:51 +0000
committerOliver Bolte <obo@openoffice.org>2004-08-12 11:33:51 +0000
commit089bee990a371876aaca5747c64136fec1b65536 (patch)
treed2ae0560f69631b6c7e1b8baaf5c71f492533b91 /sw/source/core/swg/swblocks.cxx
parent37c42c29b8cef658a33b4f43968be159449cc35d (diff)
INTEGRATION: CWS tune05 (1.16.568); FILE MERGED
2004/07/22 08:25:32 cmc 1.16.568.2: #i30554# SwTextBlocks::GetText unused 2004/07/21 07:44:11 cmc 1.16.568.1: #i30554# redundant ctor
Diffstat (limited to 'sw/source/core/swg/swblocks.cxx')
-rw-r--r--sw/source/core/swg/swblocks.cxx32
1 files changed, 2 insertions, 30 deletions
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 9992cfbbc29f..f96af783e3a2 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: swblocks.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: vg $ $Date: 2003-04-17 14:24:41 $
+ * last change: $Author: obo $ $Date: 2004-08-12 12:33:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -343,20 +343,11 @@ SwTextBlocks::SwTextBlocks( const String& rFile )
nErr = ERR_SWG_FILE_FORMAT_ERROR;
}
-
-SwTextBlocks::SwTextBlocks( SvStorage& rStg )
- : nErr( 0 )
-{
- pImp = new Sw3TextBlocks( rStg );
-}
-
-
SwTextBlocks::~SwTextBlocks()
{
delete pImp;
}
-
const String& SwTextBlocks::GetName()
{
return pImp ? pImp->aName : aEmptyStr;
@@ -737,25 +728,6 @@ USHORT SwTextBlocks::PutDoc()
return nIdx;
}
-
-const String& SwTextBlocks::GetText( USHORT n )
-{
- if( pImp && !pImp->bInPutMuchBlocks )
- {
- if( pImp->IsFileChanged() )
- nErr = ERR_TXTBLOCK_NEWFILE_ERROR;
- else if( 0 == ( nErr = pImp->OpenFile( TRUE )))
- {
- nErr = pImp->GetText( n, pImp->aCur );
- pImp->CloseFile();
- if( !nErr )
- return pImp->aCur;
- }
- }
- return aEmptyStr;
-}
-
-
USHORT SwTextBlocks::PutText( const String& rShort, const String& rName,
const String& rTxt )
{