summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:47:51 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:47:51 +0000
commite625072b75c4ba5e331065c7cc0f20584912f534 (patch)
tree48d5975f5db6532203c001f905e322e3ec100153 /rsc
parentdb216a5b042b916ba4555b61eaeb06a0c4ef2764 (diff)
INTEGRATION: CWS warnings01 (1.6.8); FILE MERGED
2005/10/27 13:55:58 pl 1.6.8.1: #i55991# removed warnings for solaris platform
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/res/rscclass.cxx30
-rw-r--r--rsc/source/res/rscconst.cxx8
2 files changed, 19 insertions, 19 deletions
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx
index c932f0920e14..164aacbe3de8 100644
--- a/rsc/source/res/rscclass.cxx
+++ b/rsc/source/res/rscclass.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: rscclass.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 13:53:16 $
+ * last change: $Author: hr $ $Date: 2006-06-20 05:47:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -296,10 +296,10 @@ RSCINST RscClass::Create
{
if( VAR_EXTENDABLE & pVarTypeList[ i ].nVarType )
{
- RSCINST * pInst = (RSCINST *)
+ RSCINST * pInstance = (RSCINST *)
(aInst.pData + pVarTypeList[ i ].nOffset );
- pInst->pClass = pVarTypeList[ i ].pClass;
- ppData = &pInst->pData;
+ pInstance->pClass = pVarTypeList[ i ].pClass;
+ ppData = &pInstance->pData;
}
else
ppData = (CLASS_DATA* )
@@ -470,21 +470,21 @@ RSCINST RscClass::GetVariable
else
{
// Default Instanz generieren
- RSCINST aDfltInst = rInitInst;
- if( !aDfltInst.IsInst() && bInitDflt )
+ RSCINST aDefInst = rInitInst;
+ if( !aDefInst.IsInst() && bInitDflt )
{
// mit dem Variablen-Default besetzen
- aDfltInst.pData = pVarTypeList[ i ].pDefault;
- aDfltInst.pClass = pVarTypeList[ i ].pClass;
+ aDefInst.pData = pVarTypeList[ i ].pDefault;
+ aDefInst.pClass = pVarTypeList[ i ].pClass;
}
aTmpI = GetInstData( rInst.pData, i );
if( aTmpI.IsInst() )
{
- if( aDfltInst.IsInst() )
+ if( aDefInst.IsInst() )
{
aTmpI.pClass->Destroy( aTmpI );
- aTmpI.pClass->Create( &aTmpI, aDfltInst );
+ aTmpI.pClass->Create( &aTmpI, aDefInst );
}
}
else
@@ -494,16 +494,16 @@ RSCINST RscClass::GetVariable
RSCINST * pInst = (RSCINST *)
(rInst.pData + pVarTypeList[ i ].nOffset );
if( pCreateClass && pCreateClass->InHierarchy( aTmpI.pClass ) )
- *pInst = pCreateClass->Create( NULL, aDfltInst );
+ *pInst = pCreateClass->Create( NULL, aDefInst );
else
- *pInst = aTmpI.pClass->Create( NULL, aDfltInst );
+ *pInst = aTmpI.pClass->Create( NULL, aDefInst );
aTmpI = *pInst;
}
else
{
CLASS_DATA * ppData
= (CLASS_DATA *)(rInst.pData + pVarTypeList[ i ].nOffset);
- aTmpI = aTmpI.pClass->Create( NULL, aDfltInst );
+ aTmpI = aTmpI.pClass->Create( NULL, aDefInst );
*ppData = aTmpI.pData;
}
}
@@ -1044,7 +1044,7 @@ void RscClass::WriteSyntax( FILE * fOutput, RscTypCont * pTC )
void RscClass::WriteRcAccess
(
FILE * fOutput,
- RscTypCont * pTC,
+ RscTypCont * /*pTC*/,
const char * pName
)
{
diff --git a/rsc/source/res/rscconst.cxx b/rsc/source/res/rscconst.cxx
index 45579a6b6f21..95805ad97004 100644
--- a/rsc/source/res/rscconst.cxx
+++ b/rsc/source/res/rscconst.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: rscconst.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 13:53:52 $
+ * last change: $Author: hr $ $Date: 2006-06-20 05:47:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -233,7 +233,7 @@ void RscConst::WriteSyntax( FILE * fOutput, RscTypCont * pTC )
void RscConst::WriteRcAccess
(
FILE * fOutput,
- RscTypCont * pTC,
+ RscTypCont * /*pTC*/,
const char * pName
)
{
@@ -267,7 +267,7 @@ RscEnum::RscEnum( Atom nId, sal_uInt32 nTypeId )
|* Letzte Aenderung MM 03.04.91
|*
*************************************************************************/
-ERRTYPE RscEnum::SetConst( const RSCINST & rInst, Atom nConst, INT32 nVal )
+ERRTYPE RscEnum::SetConst( const RSCINST & rInst, Atom nConst, INT32 /*nVal*/ )
{
sal_uInt32 i = 0;