summaryrefslogtreecommitdiff
path: root/rsc/source/res/rscstr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/res/rscstr.cxx')
-rw-r--r--rsc/source/res/rscstr.cxx108
1 files changed, 54 insertions, 54 deletions
diff --git a/rsc/source/res/rscstr.cxx b/rsc/source/res/rscstr.cxx
index e830b89ec4e3..079a6b19f6bf 100644
--- a/rsc/source/res/rscstr.cxx
+++ b/rsc/source/res/rscstr.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
@@ -46,11 +46,11 @@
/****************** R s c S t r i n g ************************************/
/*************************************************************************
|*
-|* RscString::RscString()
+|* RscString::RscString()
|*
-|* Beschreibung
-|* Ersterstellung MM 25.04.91
-|* Letzte Aenderung MM 25.04.91
+|* Beschreibung
+|* Ersterstellung MM 25.04.91
+|* Letzte Aenderung MM 25.04.91
|*
*************************************************************************/
RscString::RscString( Atom nId, sal_uInt32 nTypeId )
@@ -62,11 +62,11 @@ RscString::RscString( Atom nId, sal_uInt32 nTypeId )
/*************************************************************************
|*
-|* RscString::GetClassType()
+|* RscString::GetClassType()
|*
-|* Beschreibung
-|* Ersterstellung MM 25.04.91
-|* Letzte Aenderung MM 25.04.91
+|* Beschreibung
+|* Ersterstellung MM 25.04.91
+|* Letzte Aenderung MM 25.04.91
|*
*************************************************************************/
RSCCLASS_TYPE RscString::GetClassType() const
@@ -76,15 +76,15 @@ RSCCLASS_TYPE RscString::GetClassType() const
/*************************************************************************
|*
-|* RscString::SetNumber()
+|* RscString::SetNumber()
|*
-|* Beschreibung
-|* Ersterstellung MM 25.04.91
-|* Letzte Aenderung MM 25.04.91
+|* Beschreibung
+|* Ersterstellung MM 25.04.91
+|* Letzte Aenderung MM 25.04.91
|*
*************************************************************************/
ERRTYPE RscString::SetString( const RSCINST & rInst, const char * pStr ){
- char * pTmp;
+ char * pTmp;
ERRTYPE aError;
if( aError.IsOk() ){
@@ -97,7 +97,7 @@ ERRTYPE RscString::SetString( const RSCINST & rInst, const char * pStr ){
}
if( pStr ){
- sal_uInt32 nLen = strlen( pStr ) +1;
+ sal_uInt32 nLen = strlen( pStr ) +1;
pTmp = (char *)rtl_allocateMemory( nLen );
memcpy( pTmp, pStr, nLen );
};
@@ -110,11 +110,11 @@ ERRTYPE RscString::SetString( const RSCINST & rInst, const char * pStr ){
/*************************************************************************
|*
-|* RscString::GetString()
+|* RscString::GetString()
|*
-|* Beschreibung
-|* Ersterstellung MM 25.04.91
-|* Letzte Aenderung MM 25.04.91
+|* Beschreibung
+|* Ersterstellung MM 25.04.91
+|* Letzte Aenderung MM 25.04.91
|*
*************************************************************************/
ERRTYPE RscString::GetString( const RSCINST & rInst, char ** ppStr ){
@@ -124,11 +124,11 @@ ERRTYPE RscString::GetString( const RSCINST & rInst, char ** ppStr ){
/*************************************************************************
|*
-|* RscString::GetRef()
+|* RscString::GetRef()
|*
-|* Beschreibung
-|* Ersterstellung MM 22.07.91
-|* Letzte Aenderung MM 22.07.91
+|* Beschreibung
+|* Ersterstellung MM 22.07.91
+|* Letzte Aenderung MM 22.07.91
|*
*************************************************************************/
ERRTYPE RscString::GetRef( const RSCINST & rInst, RscId * pRscId ){
@@ -138,11 +138,11 @@ ERRTYPE RscString::GetRef( const RSCINST & rInst, RscId * pRscId ){
/*************************************************************************
|*
-|* RscString::SetRef()
+|* RscString::SetRef()
|*
-|* Beschreibung
-|* Ersterstellung MM 15.05.91
-|* Letzte Aenderung MM 15.05.91
+|* Beschreibung
+|* Ersterstellung MM 15.05.91
+|* Letzte Aenderung MM 15.05.91
|*
*************************************************************************/
ERRTYPE RscString::SetRef( const RSCINST & rInst, const RscId & rRefId ){
@@ -158,11 +158,11 @@ ERRTYPE RscString::SetRef( const RSCINST & rInst, const RscId & rRefId ){
/*************************************************************************
|*
-|* RscString::Create()
+|* RscString::Create()
|*
-|* Beschreibung
-|* Ersterstellung MM 25.04.91
-|* Letzte Aenderung MM 25.04.91
+|* Beschreibung
+|* Ersterstellung MM 25.04.91
+|* Letzte Aenderung MM 25.04.91
|*
*************************************************************************/
RSCINST RscString::Create( RSCINST * pInst, const RSCINST & rDflt,
@@ -197,11 +197,11 @@ RSCINST RscString::Create( RSCINST * pInst, const RSCINST & rDflt,
/*************************************************************************
|*
-|* RscString::Destroy()
+|* RscString::Destroy()
|*
-|* Beschreibung
-|* Ersterstellung MM 15.05.91
-|* Letzte Aenderung MM 15.05.91
+|* Beschreibung
+|* Ersterstellung MM 15.05.91
+|* Letzte Aenderung MM 15.05.91
|*
*************************************************************************/
void RscString::Destroy( const RSCINST & rInst ){
@@ -212,15 +212,15 @@ void RscString::Destroy( const RSCINST & rInst ){
/*************************************************************************
|*
-|* RscString::IsValueDefault()
+|* RscString::IsValueDefault()
|*
-|* Beschreibung
-|* Ersterstellung MM 15.01.92
-|* Letzte Aenderung MM 15.01.92
+|* Beschreibung
+|* Ersterstellung MM 15.01.92
+|* Letzte Aenderung MM 15.01.92
|*
*************************************************************************/
BOOL RscString::IsValueDefault( const RSCINST & rInst, CLASS_DATA pDef ){
- RscStringInst * pData = (RscStringInst*)rInst.pData;
+ RscStringInst * pData = (RscStringInst*)rInst.pData;
RscStringInst * pDefData = (RscStringInst*)pDef;
if( pDef ){
@@ -264,11 +264,11 @@ BOOL RscString::IsValueDefault( const RSCINST & rInst, CLASS_DATA pDef ){
/*************************************************************************
|*
-|* RscString::WriteSrc()
+|* RscString::WriteSrc()
|*
-|* Beschreibung
-|* Ersterstellung MM 25.04.91
-|* Letzte Aenderung MM 25.04.91
+|* Beschreibung
+|* Ersterstellung MM 25.04.91
+|* Letzte Aenderung MM 25.04.91
|*
*************************************************************************/
void RscString::WriteSrc( const RSCINST & rInst, FILE * fOutput,
@@ -284,8 +284,8 @@ void RscString::WriteSrc( const RSCINST & rInst, FILE * fOutput,
RscStringInst * pStrI = ((RscStringInst *)rInst.pData);
if( pStrI->pStr ){
//char * pChangeTab = RscChar::GetChangeTab();
- sal_uInt32 n = 0;
- sal_uInt32 nPos, nSlashPos;
+ sal_uInt32 n = 0;
+ sal_uInt32 nPos, nSlashPos;
do {
fputc( '\"', fOutput );
@@ -312,22 +312,22 @@ void RscString::WriteSrc( const RSCINST & rInst, FILE * fOutput,
/*************************************************************************
|*
-|* RscString::WriteRc()
+|* RscString::WriteRc()
|*
-|* Beschreibung
-|* Ersterstellung MM 15.04.91
-|* Letzte Aenderung MM 15.04.91
+|* Beschreibung
+|* Ersterstellung MM 15.04.91
+|* Letzte Aenderung MM 15.04.91
|*
*************************************************************************/
ERRTYPE RscString::WriteRc( const RSCINST & rInst, RscWriteRc & rMem,
RscTypCont * pTC, sal_uInt32 nDeep, BOOL bExtra )
{
ERRTYPE aError;
- ObjNode * pObjNode = NULL;
+ ObjNode * pObjNode = NULL;
if( ((RscStringInst *)rInst.pData)->aRefId.IsId() ){
- RscId aId( ((RscStringInst *)rInst.pData)->aRefId );
+ RscId aId( ((RscStringInst *)rInst.pData)->aRefId );
RSCINST aTmpI;
aTmpI.pClass = pRefClass;
@@ -349,7 +349,7 @@ ERRTYPE RscString::WriteRc( const RSCINST & rInst, RscWriteRc & rMem,
{
if( pTC )
{
- ByteString aMsg( pHS->getString( pRefClass->GetId() ).getStr() );
+ ByteString aMsg( pHS->getString( pRefClass->GetId() ).getStr() );
aMsg += ' ';
aMsg += aId.GetName();
aError = WRN_STR_REFNOTFOUND;
@@ -366,7 +366,7 @@ ERRTYPE RscString::WriteRc( const RSCINST & rInst, RscWriteRc & rMem,
{
if( pObjNode )
{
- RSCINST aRefI;
+ RSCINST aRefI;
aRefI = RSCINST( pRefClass, pObjNode->GetRscObj() );
aError = aRefI.pClass->WriteRc( aRefI, rMem, pTC, nDeep, bExtra );