Education Project/Effort/Fixing warning
Contents
Modules and respective files which are currently being debugged.
Please put in dates when entered and expected time in which you will release lock, so that in case someone forgets other can contribute on that part, in short avoid deadlocks This page is just for collaboration. Mark done one changed
So the format should be
<user> <Modules> <file1>, <file2>, <file3>...etc <date>
1. RakeshPandit (rakesh.pandit@gmail.com)
binfilter
../../../inc/bf_sc/source/code/data/ Folder: sc_column2.cxx, sc_column3.cxx, sc_documen4.cxx, sc_table3.cxx, sc_dociter.cxx
7th Jun Note: Fixing enumerator value not handled in switch error.
DONE
2. RakeshPandit (rakesh.pandit@gmail.com) binfilter
../../../inc/bf_sc/source/code/tool/ Folder: sc_compiler.cxx, sc_interpr1.cxx, sc_addincol.cxx
8th Jun Note: Fixing enumerator value not handled in switch error.
DONE
Patch
Need review.
Files modified:
Handling: 'warning: enumerator value 'xxxx' not handled in switch'
1. binfilter/bf_sc/source/core/data/sc_column2.cxx 2. binfilter/bf_sc/source/core/data/sc_column3.cxx 3. binfilter/bf_sc/source/core/data/sc_documen4.cxx 4. binfilter/bf_sc/source/core/data/sc_table3.cxx 5. binfilter/bf_sc/source/core/data/sc_table5.cxx 6. binfilter/bf_sc/source/core/data/sc_dociter.cxx
Patch for 1st: switch_case_enum_warnings.diff
Files modified:
Handling: 'warning: enumerator value 'xxxx' not handled in switch'
1. binfilter/bf_sc/source/core/tool/sc_compiler.cxx 2. binfilter/bf_sc/source/core/tool/sc_interpr1.cxx 3. binfilter/bf_sc/source/core/tool/sc_addincol.cxx
Patch for 2nd: switch_case_enum_warnings1.diff
Files modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sc/source/filter/xml/sc_xmlexprt.cxx 2. binfilter/bf_sc/source/filter/xml/sc_xmlstyle.cxx 3. binfilter/bf_sc/source/filter/xml/sc_XMLStylesExportHelper.cxx 4. binfilter/bf_sc/source/filter/xml/sc_XMLExportDatabaseRanges.cxx 5. binfilter/bf_sc/source/filter/xml/sc_XMLChangeTrackingExportHelper.cxx 6. binfilter/bf_sc/source/filter/xml/sc_XMLChangeTrackingImportHelper.cxx
Patch for 3rd: switch_case_enum_warnings2.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sc/source/ui/unoobj/sc_cellsuno.cxx
Patch for 4th: switch_case_enum_warnings3.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_starmath/source/starmath_parse.cxx
Patch for 5th: switch_case_enum_warnings4.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/doc/sw_docfld.cxx 2. binfilter/bf_sw/source/core/doc/sw_docfly.cxx
Patch for 6th: switch_case_enum_warnings5.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/docnode/sw_node.cxx 2. binfilter/bf_sw/source/core/docnode/sw_section.cxx
Patch for 7th: switch_case_enum_warnings6.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/draw/sw_dcontact.cxx
Patch for 8th: switch_case_enum_warnings7.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/frmedt/sw_fews.cxx
Patch for 9th: switch_case_enum_warnings8.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/layout/sw_atrfrm.cxx 2. binfilter/bf_sw/source/core/layout/sw_flowfrm.cxx 3. binfilter/bf_sw/source/core/layout/sw_pagechg.cxx 4. binfilter/bf_sw/source/core/layout/sw_tabfrm.cxx
Patch for 10th: switch_case_enum_warnings9.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/sw3io/sw_sw3misc.cxx
Patch for 11rd: switch_case_enum_warnings10.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/text/sw_txtfrm.cxx
Patch for 12rd: switch_case_enum_warnings11.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/tox/sw_txmsrt.cxx
Patch for 13th: switch_case_enum_warnings12.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/core/unocore/sw_unocoll.cxx 2. binfilter/bf_sw/source/core/unocore/sw_unoframe.cxx 3. binfilter/bf_sw/source/core/unocore/sw_unoidx.cxx 4. binfilter/bf_sw/source/core/unocore/sw_unoobj.cxx 5. binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx 6. binfilter/bf_sw/source/core/unocore/sw_unotext.cxx
Patch for 14th: switch_case_enum_warnings13.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_sw/source/filter/xml/sw_xmltexte.cxx 2. binfilter/bf_sw/source/filter/xml/sw_xmltbli.cxx 3. binfilter/bf_sw/source/filter/xml/sw_xmlexpit.cxx
Patch for 15th: switch_case_enum_warnings14.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_xmloff/source/chart/xmloff_SchXMLExport.cxx
Patch for 16th: switch_case_enum_warnings15.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_xmloff/source/draw/xmloff_shapeexport2.cxx 2. binfilter/bf_xmloff/source/draw/xmloff_shapeexport3.cxx
Patch for 17th: switch_case_enum_warnings16.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx
Patch for 18th: switch_case_enum_warnings17.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_xmloff/source/style/xmloff_xmlnumfe.cxx
Patch for 19th: switch_case_enum_warnings18.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. binfilter/bf_xmloff/source/text/xmloff_XMLTextColumnsExport.cxx
Patch for 20th: switch_case_enum_warnings19.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_forms/source/component/forms_ListBox.cxx 2. bf_forms/source/component/forms_ComboBox.cxx
Patch for 21th: switch_case_enum_warnings20.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sc/source/filter/xml/sc_XMLConverter.cxx
Patch for 22th: switch_case_enum_warnings21.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sc/source/ui/unoobj/sc_appluno.cxx 2. bf_sc/source/ui/unoobj/sc_dapiuno.cxx 3. bf_sc/source/ui/unoobj/sc_fmtuno.cxx
Patch for 23th: switch_case_enum_warnings22.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sch/source/core/sch_globfunc.cxx 2. bf_sch/source/core/sch_chtmode2.cxx 3. bf_sch/source/core/sch_chtmode4.cxx 4. bf_sch/source/core/sch_chtmode9.cxx 5. bf_sch/source/core/sch_chtmod3d.cxx
Patch for 24th: switch_case_enum_warnings23.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sch/source/ui/unoidl/sch_ChXDataPoint.cxx 2. bf_sch/source/ui/unoidl/sch_ChXDataRow.cxx 3. bf_sch/source/ui/unoidl/sch_ChXDiagram.cxx
Patch for 25th: switch_case_enum_warnings24.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sd/source/ui/unoidl/sd_unopage.cxx 2. bf_sd/source/ui/unoidl/sd_unopsfm.cxx
Patch for 26th: switch_case_enum_warnings25.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_svx/source/dialog/svx_dlgutil.cxx
Patch for 27th: switch_case_enum_warnings26.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_svx/source/engine3d/svx_viewpt3d.cxx
Patch for 28th: switch_case_enum_warnings27.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_svx/source/svdraw/svx_svdetc.cxx 2. bf_svx/source/svdraw/svx_svdmodel.cxx 3. bf_svx/source/svdraw/svx_svdmrkv.cxx 4. bf_svx/source/svdraw/svx_svdobj.cxx 5. bf_svx/source/svdraw/svx_svdocirc.cxx 6. bf_svx/source/svdraw/svx_svdopath.cxx 7. bf_svx/source/svdraw/svx_svdview.cxx
Patch for 29th: switch_case_enum_warnings28.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_svx/source/unodraw/svx_unoshape.cxx 2. bf_svx/source/unodraw/svx_unopage.cxx 3. bf_svx/source/unodraw/svx_unoshtxt.cxx
Patch for 30th: switch_case_enum_warnings29.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_svx/source/xml/svx_xmlxtimp.cxx
Patch for 31th: switch_case_enum_warnings30.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_svx/source/xoutdev/svx_xattr2.cxx
Patch for 32th: switch_case_enum_warnings31.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/core/fields/sw_fldbas.cxx
Patch for 33th: switch_case_enum_warnings32.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/core/sw3io/sw_sw3imp.cxx 2. bf_sw/source/core/sw3io/sw_sw3style.cxx
Patch for 34th: switch_case_enum_warnings33.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/core/tox/sw_tox.cxx
Patch for 35th: switch_case_enum_warnings34.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/filter/excel/sw_exctools.cxx
Patch for 36th: switch_case_enum_warnings35.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/filter/sw6/sw_sw6par.cxx
Patch for 37th: switch_case_enum_warnings36.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/filter/w4w/sw_w4watr.cxx 2. bf_sw/source/filter/w4w/sw_w4wpar2.cxx 3. bf_sw/source/filter/w4w/sw_wrtw4w.cxx
Patch for 38th: switch_case_enum_warnings37.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/filter/xml/sw_xmlithlp.cxx
Patch for 39th: switch_case_enum_warnings38.diff Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_sw/source/ui/app/sw_docshini.cxx 2. bf_sw/source/ui/app/sw_docstyle.cxx
Patch for 40th: switch_case_enum_warnings39.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/chart/xmloff_SchXMLPlotAreaContext.cxx
Patch for 41th: switch_case_enum_warnings40.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/core/xmloff_xmlehelp.cxx
Patch for 42th: switch_case_enum_warnings41.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/draw/xmloff_eventimp.cxx
Patch for 43th: switch_case_enum_warnings42.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/draw/xmloff_XMLImageMapContext.cxx
Patch for 44th: switch_case_enum_warnings43.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/forms/xmloff_formenums.cxx
Patch for 45th: switch_case_enum_warnings44.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/style/xmloff_backhdl.cxx
Patch for 46th: switch_case_enum_warnings45.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/style/xmloff_PagePropertySetContext.cxx
Patch for 47th: switch_case_enum_warnings46.diff
Files Modified:
warning: enumerator value 'xxxx' not handled in switch
1. bf_xmloff/source/text/xmloff_XMLTextShapeImportHelper.cxx
Patch for 48th: switch_case_enum_warnings47.diff
Notes
1. Don't write too long patches. Writing small patches may help in review and collaboration.
Individual Status/Message
1. Rakesh Pandit -- Working on fixing all warning -- enumerator value 'xxxx' not handled in switch after that will shift to other warnings. Will work in small small manageable patches (also concentrate on particular folder) rather then working randomly so that others could take up anything. -- 7th July
2. Fix first first warnings caused by uninitialized values then probably bad Ctors initializations that is leaving difficult ones for later.
3. Corrected all of them to latest.