diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:03:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:17:08 +0100 |
commit | 8ee94bfb1d3cb16e533dbed3cc4a03fafa9062df (patch) | |
tree | f95deefb4d7211e36ec7552daed0d024c7610921 /sc/qa | |
parent | 214f5cf2f104c1e64307ca9d4b933a39c87c507b (diff) |
loplugin:privatebase: Publicly derive from apitest classes
Somewhat arbitrarily prefer public over private derivation.
Change-Id: I444babc5c5dbbf46d77d3e1439c12399976d8fe8
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/extras/scannotationobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scannotationshapeobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scannotationsobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/sccellrangeobj.cxx | 4 | ||||
-rw-r--r-- | sc/qa/extras/scdatabaserangeobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scdatapilotfieldobj.cxx | 4 | ||||
-rw-r--r-- | sc/qa/extras/scdatapilottableobj.cxx | 4 | ||||
-rw-r--r-- | sc/qa/extras/sceditfieldobj-cell.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/sceditfieldobj-header.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scmodelobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scnamedrangeobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scnamedrangesobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scoutlineobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/scstyleloaderobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/sctablesheetobj.cxx | 2 | ||||
-rw-r--r-- | sc/qa/extras/sctablesheetsobj.cxx | 2 |
16 files changed, 19 insertions, 19 deletions
diff --git a/sc/qa/extras/scannotationobj.cxx b/sc/qa/extras/scannotationobj.cxx index e0b25000acc9..4aa3f2337fe6 100644 --- a/sc/qa/extras/scannotationobj.cxx +++ b/sc/qa/extras/scannotationobj.cxx @@ -26,7 +26,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 5 -class ScAnnontationObj : public CalcUnoApiTest, apitest::XSheetAnnotation +class ScAnnontationObj : public CalcUnoApiTest, public apitest::XSheetAnnotation { public: ScAnnontationObj(); diff --git a/sc/qa/extras/scannotationshapeobj.cxx b/sc/qa/extras/scannotationshapeobj.cxx index 8f0c16e823fc..7eefd0c043f2 100644 --- a/sc/qa/extras/scannotationshapeobj.cxx +++ b/sc/qa/extras/scannotationshapeobj.cxx @@ -24,7 +24,7 @@ using namespace css::uno; namespace sc_apitest { -class ScAnnotationShapeObj : public CalcUnoApiTest, apitest::XText +class ScAnnotationShapeObj : public CalcUnoApiTest, public apitest::XText { public: ScAnnotationShapeObj(); diff --git a/sc/qa/extras/scannotationsobj.cxx b/sc/qa/extras/scannotationsobj.cxx index 84b51245d8ee..8c3a097999a0 100644 --- a/sc/qa/extras/scannotationsobj.cxx +++ b/sc/qa/extras/scannotationsobj.cxx @@ -22,7 +22,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 4 -class ScAnnontationsObj : public CalcUnoApiTest, apitest::XSheetAnnotations +class ScAnnontationsObj : public CalcUnoApiTest, public apitest::XSheetAnnotations { public: ScAnnontationsObj(); diff --git a/sc/qa/extras/sccellrangeobj.cxx b/sc/qa/extras/sccellrangeobj.cxx index 2757f6260269..a81377e48eeb 100644 --- a/sc/qa/extras/sccellrangeobj.cxx +++ b/sc/qa/extras/sccellrangeobj.cxx @@ -25,8 +25,8 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 14 -class ScCellRangeObj : public CalcUnoApiTest, apitest::XCellRangesQuery, apitest::CellProperties, - apitest::XSearchable, apitest::XReplaceable, apitest::XCellRangeData +class ScCellRangeObj : public CalcUnoApiTest, public apitest::XCellRangesQuery, public apitest::CellProperties, + public apitest::XSearchable, public apitest::XReplaceable, public apitest::XCellRangeData { public: ScCellRangeObj(); diff --git a/sc/qa/extras/scdatabaserangeobj.cxx b/sc/qa/extras/scdatabaserangeobj.cxx index f6aca7abdf89..430c9882461c 100644 --- a/sc/qa/extras/scdatabaserangeobj.cxx +++ b/sc/qa/extras/scdatabaserangeobj.cxx @@ -22,7 +22,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 6 -class ScDatabaseRangeObj : public CalcUnoApiTest, apitest::XDatabaseRange +class ScDatabaseRangeObj : public CalcUnoApiTest, public apitest::XDatabaseRange { public: virtual void setUp() override; diff --git a/sc/qa/extras/scdatapilotfieldobj.cxx b/sc/qa/extras/scdatapilotfieldobj.cxx index d97cd1ffa189..58849d88cf6d 100644 --- a/sc/qa/extras/scdatapilotfieldobj.cxx +++ b/sc/qa/extras/scdatapilotfieldobj.cxx @@ -24,8 +24,8 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 6 -class ScDataPilotFieldObj : public CalcUnoApiTest, apitest::XDataPilotFieldGrouping, - apitest::DataPilotField +class ScDataPilotFieldObj : public CalcUnoApiTest, public apitest::XDataPilotFieldGrouping, + public apitest::DataPilotField { public: virtual void setUp() override; diff --git a/sc/qa/extras/scdatapilottableobj.cxx b/sc/qa/extras/scdatapilottableobj.cxx index 88e31a545d2d..8464e2fa2661 100644 --- a/sc/qa/extras/scdatapilottableobj.cxx +++ b/sc/qa/extras/scdatapilottableobj.cxx @@ -26,8 +26,8 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 16 -class ScDataPilotTableObj : public CalcUnoApiTest, apitest::XDataPilotDescriptor, apitest::XDataPilotTable, - apitest::XNamed, apitest::XDataPilotTable2 +class ScDataPilotTableObj : public CalcUnoApiTest, public apitest::XDataPilotDescriptor, public apitest::XDataPilotTable, + public apitest::XNamed, public apitest::XDataPilotTable2 { public: ScDataPilotTableObj(); diff --git a/sc/qa/extras/sceditfieldobj-cell.cxx b/sc/qa/extras/sceditfieldobj-cell.cxx index b16aaf6bc5e0..a0533e34bf86 100644 --- a/sc/qa/extras/sceditfieldobj-cell.cxx +++ b/sc/qa/extras/sceditfieldobj-cell.cxx @@ -27,7 +27,7 @@ using namespace css::uno; namespace sc_apitest { -class ScEditFieldObj_Cell : public CalcUnoApiTest, apitest::XTextField, apitest::XTextContent, apitest::XPropertySet +class ScEditFieldObj_Cell : public CalcUnoApiTest, public apitest::XTextField, public apitest::XTextContent, public apitest::XPropertySet { public: ScEditFieldObj_Cell(); diff --git a/sc/qa/extras/sceditfieldobj-header.cxx b/sc/qa/extras/sceditfieldobj-header.cxx index d55663923dbf..d4e87bda0f96 100644 --- a/sc/qa/extras/sceditfieldobj-header.cxx +++ b/sc/qa/extras/sceditfieldobj-header.cxx @@ -30,7 +30,7 @@ using namespace css::uno; namespace sc_apitest { -class ScEditFieldObj_Header : public CalcUnoApiTest, apitest::XTextContent, apitest::XPropertySet +class ScEditFieldObj_Header : public CalcUnoApiTest, public apitest::XTextContent, public apitest::XPropertySet { public: ScEditFieldObj_Header(); diff --git a/sc/qa/extras/scmodelobj.cxx b/sc/qa/extras/scmodelobj.cxx index 929e76d3703a..9a2666f8cdfc 100644 --- a/sc/qa/extras/scmodelobj.cxx +++ b/sc/qa/extras/scmodelobj.cxx @@ -17,7 +17,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 1 -class ScModelObj : public UnoApiTest, apitest::XGoalSeek +class ScModelObj : public UnoApiTest, public apitest::XGoalSeek { public: virtual void setUp() override; diff --git a/sc/qa/extras/scnamedrangeobj.cxx b/sc/qa/extras/scnamedrangeobj.cxx index 4b01d6a26030..c1cbc9306016 100644 --- a/sc/qa/extras/scnamedrangeobj.cxx +++ b/sc/qa/extras/scnamedrangeobj.cxx @@ -24,7 +24,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 9 -class ScNamedRangeObj : public CalcUnoApiTest, apitest::XNamedRange, apitest::XNamed, apitest::XCellRangeReferrer +class ScNamedRangeObj : public CalcUnoApiTest, public apitest::XNamedRange, public apitest::XNamed, public apitest::XCellRangeReferrer { public: ScNamedRangeObj(); diff --git a/sc/qa/extras/scnamedrangesobj.cxx b/sc/qa/extras/scnamedrangesobj.cxx index 4eb341a46b25..d0d3d57273c2 100644 --- a/sc/qa/extras/scnamedrangesobj.cxx +++ b/sc/qa/extras/scnamedrangesobj.cxx @@ -21,7 +21,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 3 -class ScNamedRangesObj : public CalcUnoApiTest, apitest::XNamedRanges +class ScNamedRangesObj : public CalcUnoApiTest, public apitest::XNamedRanges { public: virtual void setUp() override; diff --git a/sc/qa/extras/scoutlineobj.cxx b/sc/qa/extras/scoutlineobj.cxx index 979cbbcc4443..9d1b511bc362 100644 --- a/sc/qa/extras/scoutlineobj.cxx +++ b/sc/qa/extras/scoutlineobj.cxx @@ -20,7 +20,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 6 -class ScOutlineObj : public CalcUnoApiTest, apitest::XSheetOutline +class ScOutlineObj : public CalcUnoApiTest, public apitest::XSheetOutline { public: ScOutlineObj(); diff --git a/sc/qa/extras/scstyleloaderobj.cxx b/sc/qa/extras/scstyleloaderobj.cxx index 000da4040e2e..1a1f819cccae 100644 --- a/sc/qa/extras/scstyleloaderobj.cxx +++ b/sc/qa/extras/scstyleloaderobj.cxx @@ -20,7 +20,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 2 -class ScStyleLoaderObj : public CalcUnoApiTest, apitest::XStyleLoader +class ScStyleLoaderObj : public CalcUnoApiTest, public apitest::XStyleLoader { public: ScStyleLoaderObj(); diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx index 0d34f0b35e43..ecc5406aa816 100644 --- a/sc/qa/extras/sctablesheetobj.cxx +++ b/sc/qa/extras/sctablesheetobj.cxx @@ -21,7 +21,7 @@ using namespace css::uno; namespace sc_apitest { -class ScTableSheetObj : public CalcUnoApiTest, apitest::XSearchable, apitest::XReplaceable, apitest::XPrintAreas +class ScTableSheetObj : public CalcUnoApiTest, public apitest::XSearchable, public apitest::XReplaceable, public apitest::XPrintAreas { public: ScTableSheetObj(); diff --git a/sc/qa/extras/sctablesheetsobj.cxx b/sc/qa/extras/sctablesheetsobj.cxx index b062f271a049..51636f2e2568 100644 --- a/sc/qa/extras/sctablesheetsobj.cxx +++ b/sc/qa/extras/sctablesheetsobj.cxx @@ -21,7 +21,7 @@ namespace sc_apitest { #define NUMBER_OF_TESTS 11 -class ScTableSheetsObj : public CalcUnoApiTest, public ::apitest::XSpreadsheets2, apitest::XNameContainer +class ScTableSheetsObj : public CalcUnoApiTest, public ::apitest::XSpreadsheets2, public apitest::XNameContainer { public: ScTableSheetsObj(); |