diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:46:14 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:46:14 +0000 |
commit | 8de14d7cdcdc87a4a48221b6db2c49e53c53a64e (patch) | |
tree | 8e291bc86e05aa65f3ff4df7f248ab69d092ac6c /rsc/source | |
parent | 3da5901de746afeb39628bfeda2d4acb4718824d (diff) |
INTEGRATION: CWS warnings01 (1.11.6); FILE MERGED
2006/05/24 01:14:24 sb 1.11.6.3: RESYNC: (1.11-1.12); FILE MERGED
2005/10/27 13:55:56 pl 1.11.6.2: #i55991# removed warnings for solaris platform
2005/10/14 12:29:07 pl 1.11.6.1: #i55991# remove warnings due to pragma hdrstop
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 64 |
1 files changed, 31 insertions, 33 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index c8a48021cee4..8e874ec7357e 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -4,9 +4,9 @@ * * $RCSfile: rscicpx.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: vg $ $Date: 2006-04-07 16:32:56 $ + * last change: $Author: hr $ $Date: 2006-06-20 05:46:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -34,8 +34,6 @@ ************************************************************************/ /****************** I N C L U D E S **************************************/ -#pragma hdrstop - // C and C++ Includes. #include <stdlib.h> #include <stdio.h> @@ -217,7 +215,7 @@ RscTop * RscTypCont::InitClassImage( RscTop * pSuper, RscTop * pClassBitmap, /************************************************************************* |* RscTypCont::InitClassImageList() *************************************************************************/ -RscTop * RscTypCont::InitClassImageList( RscTop * pSuper, RscTop * pClassBitmap, +RscTop * RscTypCont::InitClassImageList( RscTop * pSuper, RscTop * /*pClassBitmap*/, RscTop * pClassColor, RscCont * pStrLst ) { Atom nId; @@ -1894,68 +1892,68 @@ RscTop * RscTypCont::InitClassToolBoxItem( RscTop * pSuper, { RscFlag * pFlag; RscClient * pClient; - Atom nVarId, nAutoCheckId, nRadioCheckId, nCheckableId, nLeftId, nAutoSizeId, nDropDownId; + Atom l_nVarId, l_nAutoCheckId, l_nRadioCheckId, l_nCheckableId, l_nLeftId, l_nAutoSizeId, l_nDropDownId; aBaseLst.Insert( pFlag = new RscFlag( pHS->getID( "FlagToolBoxState" ), RSC_NOTYPE ), LIST_APPEND ); // Konstanten in Tabelle stellen - nCheckableId = pHS->getID( "TIB_CHECKABLE" ); - SETCONST( pFlag, nCheckableId, TIB_CHECKABLE ); - nAutoCheckId = pHS->getID( "TIB_AUTOCHECK" ); - SETCONST( pFlag, nAutoCheckId, TIB_AUTOCHECK ); - nRadioCheckId = pHS->getID( "TIB_RADIOCHECK" ); - SETCONST( pFlag, nRadioCheckId, TIB_RADIOCHECK ); - nLeftId = pHS->getID( "TIB_LEFT" ); - SETCONST( pFlag, nLeftId, TIB_LEFT ); - nAutoSizeId = pHS->getID( "TIB_AUTOSIZE" ); - SETCONST( pFlag, nAutoSizeId, TIB_AUTOSIZE ); - nDropDownId = pHS->getID( "TIB_DROPDOWN" ); - SETCONST( pFlag, nDropDownId, TIB_DROPDOWN ); + l_nCheckableId = pHS->getID( "TIB_CHECKABLE" ); + SETCONST( pFlag, l_nCheckableId, TIB_CHECKABLE ); + l_nAutoCheckId = pHS->getID( "TIB_AUTOCHECK" ); + SETCONST( pFlag, l_nAutoCheckId, TIB_AUTOCHECK ); + l_nRadioCheckId = pHS->getID( "TIB_RADIOCHECK" ); + SETCONST( pFlag, l_nRadioCheckId, TIB_RADIOCHECK ); + l_nLeftId = pHS->getID( "TIB_LEFT" ); + SETCONST( pFlag, l_nLeftId, TIB_LEFT ); + l_nAutoSizeId = pHS->getID( "TIB_AUTOSIZE" ); + SETCONST( pFlag, l_nAutoSizeId, TIB_AUTOSIZE ); + l_nDropDownId = pHS->getID( "TIB_DROPDOWN" ); + SETCONST( pFlag, l_nDropDownId, TIB_DROPDOWN ); // Variable einfuegen - nVarId = aNmTb.Put( "_ToolBoxItemFlags", VARNAME ); - pClassToolBoxItem->SetVariable( nVarId, pFlag, NULL, + l_nVarId = aNmTb.Put( "_ToolBoxItemFlags", VARNAME ); + pClassToolBoxItem->SetVariable( l_nVarId, pFlag, NULL, VAR_HIDDEN | VAR_NOENUM, RSC_TOOLBOXITEM_STATUS ); // Clientvariablen einfuegen aBaseLst.Insert( pClient = new RscClient( pHS->getID( "BOOL" ), RSC_NOTYPE, - pFlag, nCheckableId ), LIST_APPEND ); + pFlag, l_nCheckableId ), LIST_APPEND ); nId = aNmTb.Put( "Checkable", VARNAME ); - pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nVarId ); + pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, l_nVarId ); aBaseLst.Insert( pClient = new RscClient( pHS->getID( "BOOL" ), RSC_NOTYPE, - pFlag, nAutoCheckId ), LIST_APPEND ); + pFlag, l_nAutoCheckId ), LIST_APPEND ); nId = aNmTb.Put( "AutoCheck", VARNAME ); - pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nVarId ); + pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, l_nVarId ); aBaseLst.Insert( pClient = new RscClient( pHS->getID( "BOOL" ), RSC_NOTYPE, - pFlag, nRadioCheckId ), LIST_APPEND ); + pFlag, l_nRadioCheckId ), LIST_APPEND ); nId = aNmTb.Put( "RadioCheck", VARNAME ); - pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nVarId ); + pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, l_nVarId ); aBaseLst.Insert( pClient = new RscClient( pHS->getID( "BOOL" ), RSC_NOTYPE, - pFlag, nLeftId ), LIST_APPEND ); + pFlag, l_nLeftId ), LIST_APPEND ); nId = aNmTb.Put( "Left", VARNAME ); - pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nVarId ); + pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, l_nVarId ); aBaseLst.Insert( pClient = new RscClient( pHS->getID( "BOOL" ), RSC_NOTYPE, - pFlag, nAutoSizeId ), LIST_APPEND ); + pFlag, l_nAutoSizeId ), LIST_APPEND ); nId = aNmTb.Put( "AutoSize", VARNAME ); - pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nVarId ); + pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, l_nVarId ); aBaseLst.Insert( pClient = new RscClient( pHS->getID( "BOOL" ), RSC_NOTYPE, - pFlag, nDropDownId ), LIST_APPEND ); + pFlag, l_nDropDownId ), LIST_APPEND ); nId = aNmTb.Put( "DropDown", VARNAME ); - pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nVarId ); + pClassToolBoxItem->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, l_nVarId ); } nId = aNmTb.Put( "HelpID", VARNAME ); pClassToolBoxItem->SetVariable( nId, &aIdLong, NULL, 0, @@ -2169,7 +2167,7 @@ RscTop * RscTypCont::InitClassFloatingWindow( RscTop * pSuper, |* RscTypCont::InitClassTabControlItem() *************************************************************************/ RscTop * RscTypCont::InitClassTabControlItem( RscTop * pSuper, - RscTop * pClassTabPage ) + RscTop * /*pClassTabPage*/ ) { Atom nId; RscTop * pClassTabControlItem; |