diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-06-19 12:47:44 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-06-19 12:47:44 +0200 |
commit | 941020379b1ea1ec7c564c21e68ea1674cda7683 (patch) | |
tree | 40fcaf109d6d585bcdc0faf7ea6c0812b3cc9a39 /rsc/source/parser/rscinit.cxx | |
parent | 0692507dcc62e94c7af88388961db1d7d12d6dbd (diff) | |
parent | 0d2916e03ea51529e15995830a1a8c36bd72e442 (diff) |
Merge branch 'master' into feature/gnumake4
Conflicts:
basebmp/prj/d.lst
basebmp/test/basictest.cxx
basebmp/test/makefile.mk
basegfx/inc/basegfx/basegfxdllapi.h
basegfx/inc/basegfx/tools/debugplotter.hxx
basegfx/inc/basegfx/tuple/b2ituple.hxx
basegfx/prj/d.lst
basegfx/source/numeric/makefile.mk
basegfx/source/polygon/makefile.mk
basegfx/source/range/makefile.mk
basegfx/source/raster/makefile.mk
basegfx/source/tuple/makefile.mk
basegfx/source/vector/makefile.mk
basegfx/test/basegfx1d.cxx
basegfx/test/makefile.mk
basegfx/util/makefile.mk
canvas/Library_canvasfactory.mk
canvas/Module_canvas.mk
canvas/prj/build.lst
canvas/prj/d.lst
canvas/source/cairo/cairo_canvashelper_texturefill.cxx
canvas/source/cairo/makefile.mk
canvas/source/tools/makefile.mk
comphelper/qa/string/makefile.mk
cppcanvas/Module_cppcanvas.mk
cppcanvas/inc/cppcanvas/cppcanvasdllapi.h
cppcanvas/prj/build.lst
cppcanvas/prj/d.lst
cppcanvas/source/mtfrenderer/makefile.mk
cppcanvas/util/makefile.mk
i18npool/source/search/makefile.mk
regexp/Library_regexp.mk
regexp/prj/d.lst
sax/CppunitTest_sax.mk
sax/Library_sax.mk
sax/prj/d.lst
sax/qa/cppunit/test_converter.cxx
sax/source/expatwrap/attrlistimpl.hxx
sax/util/makefile.mk
svtools/Library_svt.mk
tools/Executable_sspretty.mk
ucbhelper/prj/d.lst
ucbhelper/source/provider/configureucb.cxx
ucbhelper/source/provider/provconf.cxx
ucbhelper/util/makefile.mk
unotools/Library_utl.mk
unotools/Module_unotools.mk
unotools/Package_inc.mk
unotools/prj/build.lst
vcl/Library_desktop_detector.mk
vcl/Library_vcl.mk
vcl/Library_vclplug_gtk.mk
vcl/aqua/source/gdi/salprn.cxx
vcl/inc/aqua/saldata.hxx
vcl/unx/generic/gdi/salgdi3.cxx
Diffstat (limited to 'rsc/source/parser/rscinit.cxx')
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 95 |
1 files changed, 44 insertions, 51 deletions
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index a686fbb5a101..c16c9826dbf7 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -84,10 +85,6 @@ void NameToVerCtrl( RSCINST & aVersion, RscTop * pClass, |* |* RscTypCont::Init() |* -|* Beschreibung -|* Ersterstellung MM 22.03.91 -|* Letzte Aenderung MM 27.06.91 -|* *************************************************************************/ void RscTypCont::Init() { @@ -374,35 +371,31 @@ void RscTypCont::Init() aWinBits.SetConstant( nVertId, sal::static_int_cast<sal_Int32>(WB_VERT) ); nSysWinId = pHS->getID( "WB_SYSTEMWINDOW" ); aWinBits.SetConstant( nSysWinId, sal::static_int_cast<sal_Int32>(WB_SYSTEMWINDOW) ); + nStdPopupId = pHS->getID( "WB_STDPOPUP" ); + aWinBits.SetConstant( nStdPopupId, sal::static_int_cast<sal_Int32>(WB_STDPOPUP) ); } { /********** I n i t B a s i c T y p e s **************************/ InitLangType(); - aBaseLst.Insert( pFieldUnits = InitFieldUnitsType(), LIST_APPEND ); - aBaseLst.Insert( pTimeFieldFormat = InitTimeFieldFormat(), LIST_APPEND ); - aBaseLst.Insert( pColor = InitColor(), LIST_APPEND ); - aBaseLst.Insert( pMapUnit = InitMapUnit(), LIST_APPEND ); - aBaseLst.Insert( pKey = InitKey(), LIST_APPEND ); - aBaseLst.Insert( pTriState = InitTriState(), LIST_APPEND ); - aBaseLst.Insert( pMessButtons = InitMessButtons(), LIST_APPEND ); - aBaseLst.Insert( pMessDefButton = InitMessDefButton(), LIST_APPEND ); - - aBaseLst.Insert( pGeometry = InitGeometry(), LIST_APPEND ); - aBaseLst.Insert( pLangGeometry = InitLangGeometry( pGeometry ), - LIST_APPEND ); - aBaseLst.Insert( pStringList = InitStringList(), LIST_APPEND ); - aBaseLst.Insert( pLangStringList = InitLangStringList( pStringList ), - LIST_APPEND ); - aBaseLst.Insert( pStringTupel = InitStringTupel(), LIST_APPEND ); - aBaseLst.Insert( pStringTupelList = InitStringTupelList( pStringTupel ), - LIST_APPEND ); - aBaseLst.Insert( pLangStringTupelList = - InitLangStringTupelList( pStringTupelList ), LIST_APPEND ); - aBaseLst.Insert( pStringLongTupel = InitStringLongTupel(), LIST_APPEND ); - aBaseLst.Insert( pStringLongTupelList = InitStringLongTupelList( pStringLongTupel ), - LIST_APPEND ); - aBaseLst.Insert( pLangStringLongTupelList = - InitLangStringLongTupelList( pStringLongTupelList ), LIST_APPEND ); + aBaseLst.push_back( pFieldUnits = InitFieldUnitsType() ); + aBaseLst.push_back( pTimeFieldFormat = InitTimeFieldFormat() ); + aBaseLst.push_back( pColor = InitColor() ); + aBaseLst.push_back( pMapUnit = InitMapUnit() ); + aBaseLst.push_back( pKey = InitKey() ); + aBaseLst.push_back( pTriState = InitTriState() ); + aBaseLst.push_back( pMessButtons = InitMessButtons() ); + aBaseLst.push_back( pMessDefButton = InitMessDefButton() ); + + aBaseLst.push_back( pGeometry = InitGeometry() ); + aBaseLst.push_back( pLangGeometry = InitLangGeometry( pGeometry ) ); + aBaseLst.push_back( pStringList = InitStringList() ); + aBaseLst.push_back( pLangStringList = InitLangStringList( pStringList ) ); + aBaseLst.push_back( pStringTupel = InitStringTupel() ); + aBaseLst.push_back( pStringTupelList = InitStringTupelList( pStringTupel ) ); + aBaseLst.push_back( pLangStringTupelList = InitLangStringTupelList( pStringTupelList ) ); + aBaseLst.push_back( pStringLongTupel = InitStringLongTupel() ); + aBaseLst.push_back( pStringLongTupelList = InitStringLongTupelList( pStringLongTupel ) ); + aBaseLst.push_back( pLangStringLongTupelList = InitLangStringLongTupelList( pStringLongTupelList ) ); } { /********** R E S O U R C E T Y P E N ******************************/ @@ -473,7 +466,7 @@ void RscTypCont::Init() pClassDialog = new RscClass( pHS->getID( "Dialog" ), RSC_DIALOG, pClassSystemWindow ); pClassDialog->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aBaseLst.Insert( pClassDialog, LIST_APPEND ); + aBaseLst.push_back( pClassDialog ); /********** M O D A L D I A L O G ***********************************/ // Klasse anlegen @@ -606,7 +599,7 @@ void RscTypCont::Init() { pLangClassKeyCode = new RscClassArray( pHS->getID( "LangKeyCode" ), RSC_KEYCODE, pClassKeyCode, &aLangType ); - aBaseLst.Insert( pLangClassKeyCode ); + aBaseLst.push_back( pLangClassKeyCode ); } /********** A C C E L I T E M ***************************************/ @@ -701,10 +694,9 @@ void RscTypCont::Init() // Clientvariablen einfuegen // Sysmodal - aBaseLst.Insert( - pClient = new RscClient( pHS->getID( "sal_Bool" ), RSC_NOTYPE, - &aWinBits, nRepeatId ), - LIST_APPEND ); + aBaseLst.push_back( + pClient = new RscClient( pHS->getID( "sal_Bool" ), RSC_NOTYPE, &aWinBits, nRepeatId ) + ); nId = aNmTb.Put( "Repeat", VARNAME ); pClassSpinButton->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nWinBitVarId ); @@ -729,7 +721,7 @@ void RscTypCont::Init() /********** P A T T E R N F I E L D **********************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassPatternFormatter( pClassSpinField ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassPatternField = InitClassPatternField( pClassTmp ); pRoot->Insert( pClassPatternField ); @@ -737,7 +729,7 @@ void RscTypCont::Init() /********** N U M E R I C F I E L D **********************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassNumericFormatter( pClassSpinField ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassNumericField = InitClassNumericField( pClassTmp ); pRoot->Insert( pClassNumericField ); @@ -745,9 +737,9 @@ void RscTypCont::Init() /********** M E T R I C F I E L D ************************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassNumericFormatter( pClassSpinField ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassTmp = InitClassMetricFormatter( pClassTmp, pFieldUnits ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassMetricField = InitClassMetricField( pClassTmp ); pRoot->Insert( pClassMetricField ); @@ -755,9 +747,9 @@ void RscTypCont::Init() /********** C U R R E N C Y F I E L D ********************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassNumericFormatter( pClassSpinField ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassTmp = InitClassCurrencyFormatter( pClassTmp, pFieldUnits ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassCurrencyField = InitClassCurrencyField( "CurrencyField", RSC_CURRENCYFIELD, pClassTmp ); pRoot->Insert( pClassCurrencyField ); @@ -769,7 +761,7 @@ void RscTypCont::Init() /********** D A T E F I E L D ****************************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassDateFormatter( pClassSpinField, pClassDate ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassDateField = InitClassDateField( pClassTmp, pClassDate ); pRoot->Insert( pClassDateField ); @@ -778,7 +770,7 @@ void RscTypCont::Init() { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassTimeFormatter( pClassSpinField, pClassTime, pTimeFieldFormat ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassTimeField = InitClassTimeField( pClassTmp, pClassTime ); pRoot->Insert( pClassTimeField ); @@ -786,7 +778,7 @@ void RscTypCont::Init() /********** P A T T E R N B O X **************************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassPatternFormatter( pClassComboBox ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassPatternBox = InitClassPatternBox( pClassTmp ); pRoot->Insert( pClassPatternBox ); @@ -794,7 +786,7 @@ void RscTypCont::Init() /********** N U M E R I C B O X **************************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassNumericFormatter( pClassComboBox ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassNumericBox = InitClassNumericBox( pClassTmp ); pRoot->Insert( pClassNumericBox ); @@ -804,9 +796,9 @@ void RscTypCont::Init() /********** M E T R I C B O X ****************************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassNumericFormatter( pClassComboBox ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassTmp = InitClassMetricFormatter( pClassTmp, pFieldUnits ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassMetricBox = InitClassMetricBox( pClassTmp ); pRoot->Insert( pClassMetricBox ); @@ -814,9 +806,9 @@ void RscTypCont::Init() /********** C U R R E N C Y B O X ************************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassNumericFormatter( pClassComboBox ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassTmp = InitClassCurrencyFormatter( pClassTmp, pFieldUnits ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassCurrencyBox = InitClassCurrencyBox( "CurrencyBox", RSC_CURRENCYBOX, pClassTmp ); pRoot->Insert( pClassCurrencyBox ); @@ -827,7 +819,7 @@ void RscTypCont::Init() /********** D A T E B O X ********************************************/ { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassDateFormatter( pClassComboBox, pClassDate ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassDateBox = InitClassDateBox( pClassTmp, pClassDate ); pRoot->Insert( pClassDateBox ); @@ -836,7 +828,7 @@ void RscTypCont::Init() { // Mehrfachvererbung von Hand RscTop * pClassTmp = InitClassTimeFormatter( pClassComboBox, pClassTime, pTimeFieldFormat ); - aBaseLst.Insert( pClassTmp, LIST_APPEND ); + aBaseLst.push_back( pClassTmp ); pClassTimeBox = InitClassTimeBox( pClassTmp, pClassTime ); pRoot->Insert( pClassTimeBox ); @@ -939,3 +931,4 @@ void RscTypCont::Init() aNmTb.SetSort(); } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |