summaryrefslogtreecommitdiff
path: root/sw/source/core/tox
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/tox')
-rw-r--r--sw/source/core/tox/tox.cxx4
-rw-r--r--sw/source/core/tox/toxhlp.cxx12
-rw-r--r--sw/source/core/tox/txmsrt.cxx26
3 files changed, 21 insertions, 21 deletions
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index 012db518d9ec..e6cdd53e42de 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -595,7 +595,7 @@ SwTOXBase::~SwTOXBase()
}
void SwTOXBase::SetTitle(const String& rTitle)
- { aTitle = rTitle; }
+ { aTitle = rTitle; }
SwTOXBase & SwTOXBase::operator = (const SwTOXBase & rSource)
diff --git a/sw/source/core/tox/toxhlp.cxx b/sw/source/core/tox/toxhlp.cxx
index fb9b97a265b4..4b06ddb44141 100644
--- a/sw/source/core/tox/toxhlp.cxx
+++ b/sw/source/core/tox/toxhlp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,7 +80,7 @@ String IndexEntrySupplierWrapper::GetIndexKey( const String& rTxt,
const STAR_NMSPC::lang::Locale& rLocale ) const
{
String sRet;
- try {
+ try {
sRet = xIES->getIndexKey( rTxt, rTxtReading, rLocale );
}
catch ( UNO_NMSPC::Exception&
@@ -101,7 +101,7 @@ String IndexEntrySupplierWrapper::GetIndexKey( const String& rTxt,
String IndexEntrySupplierWrapper::GetFollowingText( BOOL bMorePages ) const
{
String sRet;
- try {
+ try {
sRet = xIES->getIndexFollowPageWord( bMorePages, aLcl );
}
catch ( UNO_NMSPC::Exception&
@@ -124,7 +124,7 @@ IndexEntrySupplierWrapper::GetAlgorithmList( const STAR_NMSPC::lang::Locale& rLc
{
uno::Sequence< ::rtl::OUString > sRet;
- try {
+ try {
sRet = xIES->getAlgorithmList( rLcl );
}
catch ( UNO_NMSPC::Exception&
@@ -147,7 +147,7 @@ sal_Bool IndexEntrySupplierWrapper::LoadAlgorithm(
const String& sSortAlgorithm, long nOptions ) const
{
sal_Bool bRet = sal_False;
- try {
+ try {
bRet = xIES->loadAlgorithm( rLcl, sSortAlgorithm, nOptions );
}
catch ( UNO_NMSPC::Exception&
@@ -172,7 +172,7 @@ sal_Int16 IndexEntrySupplierWrapper::CompareIndexEntry(
const STAR_NMSPC::lang::Locale& rLocale2 ) const
{
sal_Int16 nRet = 0;
- try {
+ try {
nRet = xIES->compareIndexEntry( rTxt1, rTxtReading1, rLocale1,
rTxt2, rTxtReading2, rLocale2 );
}
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx
index 78cd69e73cef..c905c7b9023d 100644
--- a/sw/source/core/tox/txmsrt.cxx
+++ b/sw/source/core/tox/txmsrt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -146,7 +146,7 @@ String SwTOXInternational::GetFollowingText( BOOL bMorePages ) const
}
/*--------------------------------------------------------------------
- Beschreibung: SortierElement fuer Verzeichniseintraege
+ Beschreibung: SortierElement fuer Verzeichniseintraege
--------------------------------------------------------------------*/
@@ -237,7 +237,7 @@ BOOL SwTOXSortTabBase::operator==( const SwTOXSortTabBase& rCmp )
{
// beide Pointer vorhanden -> vergleiche Text
// beide Pointer nicht vorhanden -> vergleiche AlternativText
- const xub_StrLen *pEnd = pTxtMark->GetEnd(),
+ const xub_StrLen *pEnd = pTxtMark->GetEnd(),
*pEndCmp = rCmp.pTxtMark->GetEnd();
String sMyTxt;
@@ -408,7 +408,7 @@ void SwTOXIndex::_GetText( String& rTxt, String& rTxtReading )
const SwTOXMark& rTOXMark = pTxtMark->GetTOXMark();
switch(nKeyLevel)
{
- case FORM_PRIMARY_KEY :
+ case FORM_PRIMARY_KEY :
{
rTxt = rTOXMark.GetPrimaryKey();
rTxtReading = rTOXMark.GetPrimaryKeyReading();
@@ -420,7 +420,7 @@ void SwTOXIndex::_GetText( String& rTxt, String& rTxtReading )
rTxtReading = rTOXMark.GetSecondaryKeyReading();
}
break;
- case FORM_ENTRY :
+ case FORM_ENTRY :
{
rTxt = rTOXMark.GetText();
rTxtReading = rTOXMark.GetTextReading();
@@ -549,7 +549,7 @@ SwTOXContent::SwTOXContent( const SwTxtNode& rNd, const SwTxtTOXMark* pMark,
}
-// Der Text des Inhalts
+// Der Text des Inhalts
//
void SwTOXContent::_GetText( String& rTxt, String& rTxtReading )
@@ -688,13 +688,13 @@ void SwTOXPara::FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT ) const
USHORT SwTOXPara::GetLevel() const
{
USHORT nRet = m_nLevel;
- const SwCntntNode* pNd = aTOXSources[0].pNd;
+ const SwCntntNode* pNd = aTOXSources[0].pNd;
if( nsSwTOXElement::TOX_OUTLINELEVEL == eType && pNd->GetTxtNode() )
{
//USHORT nTmp = ((SwTxtNode*)pNd)->GetTxtColl()->GetOutlineLevel();//#outline level,zhaojianwei
//if(nTmp < NO_NUMBERING)
- // nRet = nTmp + 1;
+ // nRet = nTmp + 1;
const int nTmp = ((SwTxtNode*)pNd)->GetAttrOutlineLevel();//#outline level,zhaojianwei????
if(nTmp != 0 )
nRet = static_cast<USHORT>(nTmp);
@@ -775,7 +775,7 @@ String SwTOXPara::GetURL() const
case nsSwTOXElement::TOX_OLE: pStr = pMarkToOLE; break;
case nsSwTOXElement::TOX_GRAPHIC: pStr = pMarkToGraphic; break;
case nsSwTOXElement::TOX_FRAME: pStr = pMarkToFrame; break;
- default: pStr = 0;
+ default: pStr = 0;
}
if( pStr )
aTxt.AppendAscii( pStr );
@@ -877,7 +877,7 @@ void SwTOXAuthority::_GetText( String& rTxt, String& )
/* -----------------21.09.99 12:50-------------------
--------------------------------------------------*/
-void SwTOXAuthority::FillText( SwTxtNode& rNd,
+void SwTOXAuthority::FillText( SwTxtNode& rNd,
const SwIndex& rInsPos, USHORT nAuthField ) const
{
SwAuthorityField* pField = (SwAuthorityField*)m_rField.GetFld();
@@ -906,7 +906,7 @@ void SwTOXAuthority::FillText( SwTxtNode& rNd,
/* -----------------14.10.99 09:35-------------------
--------------------------------------------------*/
-BOOL SwTOXAuthority::operator==( const SwTOXSortTabBase& rCmp)
+BOOL SwTOXAuthority::operator==( const SwTOXSortTabBase& rCmp)
{
return nType == rCmp.nType &&
((SwAuthorityField*)m_rField.GetFld())->GetHandle() ==
@@ -915,7 +915,7 @@ BOOL SwTOXAuthority::operator==( const SwTOXSortTabBase& rCmp)
/* -----------------21.10.99 09:52-------------------
--------------------------------------------------*/
-BOOL SwTOXAuthority::operator<( const SwTOXSortTabBase& rBase)
+BOOL SwTOXAuthority::operator<( const SwTOXSortTabBase& rBase)
{
BOOL bRet = FALSE;
SwAuthorityField* pField = (SwAuthorityField*)m_rField.GetFld();
@@ -931,7 +931,7 @@ BOOL SwTOXAuthority::operator<( const SwTOXSortTabBase& rBase)
for(USHORT i = 0; i < pType->GetSortKeyCount(); i++)
{
- const SwTOXSortKey* pKey = pType->GetSortKey(i);
+ const SwTOXSortKey* pKey = pType->GetSortKey(i);
String sMyTxt = pField->GetFieldText(pKey->eField);
String sMyTxtReading;
String sOtherTxt = pCmpField->GetFieldText(pKey->eField);