diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-22 14:35:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-22 14:42:17 +0200 |
commit | dd28837249088bf6e6ec11ed01a01be6f1774985 (patch) | |
tree | 452a88ea26e395f846df690472147898dd999036 /chart2 | |
parent | 61027a637760087ee716f64ae0f216ef2a640108 (diff) |
vcl: mark more Image constructors as "explicit"
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 206 |
1 files changed, 103 insertions, 103 deletions
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 3dc268dd80c6..baf4568cd663 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -450,36 +450,36 @@ void ColumnChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const switch(rParameter.nGeometry3D) { case DataPointGeometry3D::CYLINDER: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_SAEULE_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_SAEULE_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_SAEULE_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_SAEULE_3D_4 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_SAEULE_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_SAEULE_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_SAEULE_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_SAEULE_3D_4)))); break; case DataPointGeometry3D::CONE: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_KEGEL_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_KEGEL_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_KEGEL_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_KEGEL_3D_4 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_KEGEL_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_KEGEL_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_KEGEL_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_KEGEL_3D_4)))); break; case DataPointGeometry3D::PYRAMID: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_PYRAMID_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_PYRAMID_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_PYRAMID_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_PYRAMID_3D_4 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_PYRAMID_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_PYRAMID_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_PYRAMID_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_PYRAMID_3D_4)))); break; default: //DataPointGeometry3D::CUBOID: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_COLUMNS_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_COLUMNS_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_COLUMNS_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_COLUMNS_3D ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_COLUMNS_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_COLUMNS_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_COLUMNS_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_COLUMNS_3D)))); break; } } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_COLUMNS_2D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_COLUMNS_2D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_COLUMNS_2D_3 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_COLUMNS_2D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_COLUMNS_2D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_COLUMNS_2D_3)))); } rSubTypeList.SetItemText( 1, SCH_RESSTR( STR_NORMAL ) ); @@ -525,36 +525,36 @@ void BarChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const Ch switch(rParameter.nGeometry3D) { case DataPointGeometry3D::CYLINDER: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_ROEHRE_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_ROEHRE_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_ROEHRE_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_ROEHRE_3D_4 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_ROEHRE_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_ROEHRE_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_ROEHRE_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_ROEHRE_3D_4)))); break; case DataPointGeometry3D::CONE: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_KEGELQ_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_KEGELQ_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_KEGELQ_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_KEGELQ_3D_4 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_KEGELQ_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_KEGELQ_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_KEGELQ_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_KEGELQ_3D_4)))); break; case DataPointGeometry3D::PYRAMID: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_PYRAMIDQ_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_PYRAMIDQ_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_PYRAMIDQ_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_PYRAMIDQ_3D_4 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_PYRAMIDQ_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_PYRAMIDQ_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_PYRAMIDQ_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_PYRAMIDQ_3D_4)))); break; default: //DataPointGeometry3D::CUBOID: - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_BARS_3D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_BARS_3D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_BARS_3D_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_BARS_3D ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_BARS_3D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_BARS_3D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_BARS_3D_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_BARS_3D)))); break; } } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_BARS_2D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_BARS_2D_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_BARS_2D_3 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_BARS_2D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_BARS_2D_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_BARS_2D_3)))); } rSubTypeList.SetItemText( 1, SCH_RESSTR( STR_NORMAL ) ); rSubTypeList.SetItemText( 2, SCH_RESSTR( STR_STACKED ) ); @@ -597,17 +597,17 @@ void PieChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const Ch if( rParameter.b3DLook ) { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_CIRCLES_3D ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_CIRCLES_3D_EXPLODED ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_DONUT_3D ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_DONUT_3D_EXPLODED ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_CIRCLES_3D)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_CIRCLES_3D_EXPLODED)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_DONUT_3D)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_DONUT_3D_EXPLODED)))); } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_CIRCLES_2D ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_CIRCLES_2D_EXPLODED ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_DONUT_2D ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_DONUT_2D_EXPLODED ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_CIRCLES_2D)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_CIRCLES_2D_EXPLODED)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_DONUT_2D)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_DONUT_2D_EXPLODED)))); } rSubTypeList.SetItemText( 1, SCH_RESSTR( STR_NORMAL ) ); rSubTypeList.SetItemText( 2, SCH_RESSTR( STR_PIE_EXPLODED ) ); @@ -667,17 +667,17 @@ void LineChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const C case CurveStyle_B_SPLINES: if( GlobalStackMode_NONE == rParameter.eStackMode || GlobalStackMode_STACK_Z == rParameter.eStackMode ) { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_XCATEGORY ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_XCATEGORY_SMOOTH ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_XCATEGORY_SMOOTH ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_XCATEGORY_SMOOTH ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_XCATEGORY)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_XCATEGORY_SMOOTH)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_XCATEGORY_SMOOTH)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_XCATEGORY_SMOOTH)))); } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_STACKED ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_STACKED_SMOOTH ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_STACKED_SMOOTH ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_STACKED_SMOOTH ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_STACKED)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_STACKED_SMOOTH)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_STACKED_SMOOTH)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_STACKED_SMOOTH)))); } break; case CurveStyle_STEP_START: @@ -686,34 +686,34 @@ void LineChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const C case CurveStyle_STEP_CENTER_Y: if( GlobalStackMode_NONE == rParameter.eStackMode || GlobalStackMode_STACK_Z == rParameter.eStackMode ) { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_XCATEGORY ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_XCATEGORY_STEPPED ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_XCATEGORY_STEPPED ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_XCATEGORY_STEPPED ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_XCATEGORY)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_XCATEGORY_STEPPED)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_XCATEGORY_STEPPED)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_XCATEGORY_STEPPED)))); } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_STACKED ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_STACKED_STEPPED ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_STACKED_STEPPED ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_STACKED_STEPPED ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_STACKED)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_STACKED_STEPPED)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_STACKED_STEPPED)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_STACKED_STEPPED)))); } break; default: // includes CurveStyle_LINES //direct lines if( GlobalStackMode_NONE == rParameter.eStackMode || GlobalStackMode_STACK_Z == rParameter.eStackMode ) { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_XCATEGORY ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_XCATEGORY ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_XCATEGORY ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_XCATEGORY ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_XCATEGORY)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_XCATEGORY)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_XCATEGORY)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_XCATEGORY)))); } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_STACKED ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_STACKED ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_STACKED ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_STACKED ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_STACKED)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_STACKED)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_STACKED)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_STACKED)))); } } @@ -806,10 +806,10 @@ void XYChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const Cha case CurveStyle_CUBIC_SPLINES: case CurveStyle_B_SPLINES: { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_XVALUES ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_XVALUES_SMOOTH ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_XVALUES_SMOOTH ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_XVALUES_SMOOTH ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_XVALUES)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_XVALUES_SMOOTH)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_XVALUES_SMOOTH)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_XVALUES_SMOOTH)))); break; } case CurveStyle_STEP_START: @@ -817,17 +817,17 @@ void XYChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const Cha case CurveStyle_STEP_CENTER_X: case CurveStyle_STEP_CENTER_Y: { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_XVALUES ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_XVALUES_STEPPED ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_XVALUES_STEPPED ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_XVALUES_STEPPED ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_XVALUES)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_XVALUES_STEPPED)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_XVALUES_STEPPED)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_XVALUES_STEPPED)))); break; } default: // includes CurveStyle_LINES - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_POINTS_XVALUES ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_LINE_P_XVALUES ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_LINE_O_XVALUES ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_LINE3D_XVALUES ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_POINTS_XVALUES)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_LINE_P_XVALUES)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_LINE_O_XVALUES)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_LINE3D_XVALUES)))); } rSubTypeList.SetItemText( 1, SCH_RESSTR( STR_POINTS_ONLY ) ); @@ -907,15 +907,15 @@ void AreaChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const C if( rParameter.b3DLook ) { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_AREAS_3D ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_AREAS_3D_1 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_AREAS_3D_2 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_AREAS_3D)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_AREAS_3D_1)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_AREAS_3D_2)))); } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_AREAS_2D_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_AREAS_2D ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_AREAS_2D_3 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_AREAS_2D_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_AREAS_2D)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_AREAS_2D_3)))); } rSubTypeList.SetItemText( 1, SCH_RESSTR( rParameter.b3DLook ? STR_DEEP : STR_NORMAL ) ); @@ -999,17 +999,17 @@ void NetChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const Ch if( GlobalStackMode_NONE == rParameter.eStackMode ) { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_NET_SYMB ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_NET_LINESYMB ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_NET ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_NET_FILL ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_NET_SYMB)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_NET_LINESYMB)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_NET)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_NET_FILL)))); } else { - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_NET_SYMB_STACK ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_NET_LINESYMB_STACK ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_NET_STACK ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_NET_FILL_STACK ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_NET_SYMB_STACK)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_NET_LINESYMB_STACK)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_NET_STACK)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_NET_FILL_STACK)))); } rSubTypeList.SetItemText( 1, SCH_RESSTR( STR_POINTS_ONLY ) ); @@ -1075,10 +1075,10 @@ const tTemplateServiceChartTypeParameterMap& StockChartDialogController::getTemp void StockChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const ChartTypeParameter& /*rParameter*/ ) { rSubTypeList.Clear(); - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_STOCK_1 ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_STOCK_2 ))); - rSubTypeList.InsertItem( 3, Bitmap( SchResId( BMP_STOCK_3 ))); - rSubTypeList.InsertItem( 4, Bitmap( SchResId( BMP_STOCK_4 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_STOCK_1)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_STOCK_2)))); + rSubTypeList.InsertItem(3, Image(Bitmap(SchResId(BMP_STOCK_3)))); + rSubTypeList.InsertItem(4, Image(Bitmap(SchResId(BMP_STOCK_4)))); rSubTypeList.SetItemText( 1, SCH_RESSTR(STR_STOCK_1) ); rSubTypeList.SetItemText( 2, SCH_RESSTR(STR_STOCK_2) ); @@ -1127,8 +1127,8 @@ const tTemplateServiceChartTypeParameterMap& CombiColumnLineChartDialogControlle void CombiColumnLineChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const ChartTypeParameter& /*rParameter*/ ) { rSubTypeList.Clear(); - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_COLUMN_LINE ))); - rSubTypeList.InsertItem( 2, Bitmap( SchResId( BMP_COLUMN_LINE_STACKED ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_COLUMN_LINE)))); + rSubTypeList.InsertItem(2, Image(Bitmap(SchResId(BMP_COLUMN_LINE_STACKED)))); rSubTypeList.SetItemText(1, SCH_RESSTR(STR_LINE_COLUMN)); rSubTypeList.SetItemText(2, SCH_RESSTR(STR_LINE_STACKEDCOLUMN)); @@ -1268,7 +1268,7 @@ const tTemplateServiceChartTypeParameterMap& BubbleChartDialogController::getTem void BubbleChartDialogController::fillSubTypeList( ValueSet& rSubTypeList, const ChartTypeParameter& /*rParameter*/ ) { rSubTypeList.Clear(); - rSubTypeList.InsertItem( 1, Bitmap( SchResId( BMP_BUBBLE_1 ))); + rSubTypeList.InsertItem(1, Image(Bitmap(SchResId(BMP_BUBBLE_1)))); rSubTypeList.SetItemText( 1, SCH_RESSTR(STR_BUBBLE_1) ); } |