diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:03:16 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-21 13:19:17 +0100 |
commit | 01baeab99890e5650b3dabc15f8d900490a5a133 (patch) | |
tree | 64a1b30b20a53262605312fff4d035876fc7c811 /include/test | |
parent | 0108cd51faf942b3fc3a292522d4b2f421f1cf45 (diff) |
tdf#123936 Formatting files in module include with clang-format
Change-Id: I0507dd797cd5a35e0ae14f4b69ee4e172d08a71a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105681
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'include/test')
31 files changed, 111 insertions, 142 deletions
diff --git a/include/test/bootstrapfixture.hxx b/include/test/bootstrapfixture.hxx index 84cf1ade2728..052e3a8e229d 100644 --- a/include/test/bootstrapfixture.hxx +++ b/include/test/bootstrapfixture.hxx @@ -24,8 +24,8 @@ #include <unotest/bootstrapfixturebase.hxx> #include <test/testdllapi.hxx> -namespace test { - +namespace test +{ enum ValidationFormat { OOXML, @@ -42,23 +42,22 @@ enum ValidationFormat // run of unit tests ... class OOO_DLLPUBLIC_TEST BootstrapFixture : public BootstrapFixtureBase { - bool m_bNeedUCB; - bool m_bAssertOnDialog; + bool m_bNeedUCB; + bool m_bAssertOnDialog; protected: - css::uno::Reference<css::uno::XComponentContext> mxComponentContext; + css::uno::Reference<css::uno::XComponentContext> mxComponentContext; public: - DECL_STATIC_LINK( BootstrapFixture, ImplInitFilterHdl, ConvertData&, bool ); + DECL_STATIC_LINK(BootstrapFixture, ImplInitFilterHdl, ConvertData&, bool); - BootstrapFixture( bool bAssertOnDialog = true, bool bNeedUCB = true ); - virtual ~BootstrapFixture() override; + BootstrapFixture(bool bAssertOnDialog = true, bool bNeedUCB = true); + virtual ~BootstrapFixture() override; - virtual void setUp() override; + virtual void setUp() override; - void validate(const OUString& rURL, ValidationFormat) const; + void validate(const OUString& rURL, ValidationFormat) const; }; - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/container/xnamed.hxx b/include/test/container/xnamed.hxx index 2b323e6f95b9..ff4c4616df36 100644 --- a/include/test/container/xnamed.hxx +++ b/include/test/container/xnamed.hxx @@ -18,13 +18,13 @@ #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XNamed { public: XNamed(const OUString& rTestName) - : m_aTestName(rTestName) + : m_aTestName(rTestName) { } @@ -34,7 +34,7 @@ public: void testSetNameByScSheetLinkObj(); void testSetNameThrowsException(); - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; protected: ~XNamed() {} @@ -42,7 +42,6 @@ protected: private: OUString m_aTestName; }; - } #endif // INCLUDED_TEST_CONTAINER_XNAMED_HXX diff --git a/include/test/htmltesttools.hxx b/include/test/htmltesttools.hxx index fa5722075f87..154bb902dfac 100644 --- a/include/test/htmltesttools.hxx +++ b/include/test/htmltesttools.hxx @@ -24,7 +24,7 @@ using htmlDocUniquePtr = xmlDocUniquePtr; class OOO_DLLPUBLIC_TEST HtmlTestTools { protected: - static htmlDocUniquePtr parseHtml(utl::TempFile const & aTempFile); + static htmlDocUniquePtr parseHtml(utl::TempFile const& aTempFile); static htmlDocUniquePtr parseHtmlStream(SvStream* pStream); }; diff --git a/include/test/screenshot_test.hxx b/include/test/screenshot_test.hxx index 3e1f3f84a06f..9acee7a5d656 100644 --- a/include/test/screenshot_test.hxx +++ b/include/test/screenshot_test.hxx @@ -20,16 +20,16 @@ #include <map> class VclAbstractDialog; -typedef std::map< OString, sal_uInt32 > mapType; +typedef std::map<OString, sal_uInt32> mapType; class OOO_DLLPUBLIC_TEST ScreenshotTest : public test::BootstrapFixture, public unotest::MacrosTest { private: /// The current UI language - OUString maCurrentLanguage; + OUString maCurrentLanguage; /// the set of known dialogs and their ID for usage in createDialogByID - mapType maKnownDialogs; + mapType maKnownDialogs; /// parent for non-dialog buildables weld::GenericDialogController maParent; @@ -38,7 +38,7 @@ private: private: /// helpers void implSaveScreenshot(const BitmapEx& rScreenshot, const OString& rScreenshotId); - void saveScreenshot(VclAbstractDialog const & rDialog); + void saveScreenshot(VclAbstractDialog const& rDialog); void saveScreenshot(weld::Window& rDialog); /// helper method to create and dump a dialog based on Builder contents. diff --git a/include/test/sheet/cellproperties.hxx b/include/test/sheet/cellproperties.hxx index 4ffd785e43c1..aa5fe0f2c162 100644 --- a/include/test/sheet/cellproperties.hxx +++ b/include/test/sheet/cellproperties.hxx @@ -14,12 +14,12 @@ #include <com/sun/star/uno/XInterface.hpp> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST CellProperties { public: - virtual css::uno::Reference < css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testVertJustify(); void testRotateReference(); @@ -27,7 +27,6 @@ public: protected: ~CellProperties() {} }; - } #endif // INCLUDED_TEST_SHEET_CELLPROPERTIES_HXX diff --git a/include/test/sheet/databaserange.hxx b/include/test/sheet/databaserange.hxx index 3932fb41b1b0..9aca2f5eb390 100644 --- a/include/test/sheet/databaserange.hxx +++ b/include/test/sheet/databaserange.hxx @@ -14,12 +14,12 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST DatabaseRange { public: - virtual css::uno::Reference< css::uno::XInterface > init(const OUString& rDBName) = 0; + virtual css::uno::Reference<css::uno::XInterface> init(const OUString& rDBName) = 0; void testMoveCells(); void testKeepFormats(); @@ -36,7 +36,6 @@ public: protected: ~DatabaseRange() {} }; - } #endif // INCLUDED_TEST_SHEET_DATABASERANGE_HXX diff --git a/include/test/sheet/datapilotfield.hxx b/include/test/sheet/datapilotfield.hxx index b1eda76c2450..28e73d7a2081 100644 --- a/include/test/sheet/datapilotfield.hxx +++ b/include/test/sheet/datapilotfield.hxx @@ -13,12 +13,12 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST DataPilotField { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testSortInfo(); void testLayoutInfo(); @@ -29,7 +29,6 @@ public: protected: ~DataPilotField() {} }; - } #endif // INCLUDED_TEST_SHEET_DATAPILOTFIELD_HXX diff --git a/include/test/sheet/datapilotitem.hxx b/include/test/sheet/datapilotitem.hxx index 1c05078352a6..bf711d3babfd 100644 --- a/include/test/sheet/datapilotitem.hxx +++ b/include/test/sheet/datapilotitem.hxx @@ -14,19 +14,18 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST DataPilotItem { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testProperties(); protected: ~DataPilotItem() {} }; - } #endif // INCLUDED_TEST_SHEET_DATAPILOTITEM_HXX diff --git a/include/test/sheet/xarealink.hxx b/include/test/sheet/xarealink.hxx index 1f1636207f6f..15a65f249a27 100644 --- a/include/test/sheet/xarealink.hxx +++ b/include/test/sheet/xarealink.hxx @@ -14,20 +14,19 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XAreaLink { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; - virtual ~XAreaLink(){} + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual ~XAreaLink() {} void testGetSourceArea(); void testSetSourceArea(); void testGetDestArea(); void testSetDestArea(); }; - } #endif // INCLUDED_TEST_SHEET_XAREALINK_HXX diff --git a/include/test/sheet/xcelladdressable.hxx b/include/test/sheet/xcelladdressable.hxx index 9fcae658b2a5..506415a11a40 100644 --- a/include/test/sheet/xcelladdressable.hxx +++ b/include/test/sheet/xcelladdressable.hxx @@ -14,17 +14,16 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XCellAddressable { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; - virtual ~XCellAddressable(){} + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual ~XCellAddressable() {} void testGetCellAddress(); }; - } #endif // INCLUDED_TEST_SHEET_XCELLADDRESSABLE_HXX diff --git a/include/test/sheet/xcellrangedata.hxx b/include/test/sheet/xcellrangedata.hxx index 00aef5e8152c..0b6efef2e07e 100644 --- a/include/test/sheet/xcellrangedata.hxx +++ b/include/test/sheet/xcellrangedata.hxx @@ -13,13 +13,13 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XCellRangeData { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; - virtual css::uno::Reference< css::uno::XInterface > getXCellRangeData() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual css::uno::Reference<css::uno::XInterface> getXCellRangeData() = 0; void testGetDataArray(); void testSetDataArray(); @@ -29,7 +29,6 @@ public: protected: ~XCellRangeData() {} }; - } #endif // INCLUDED_TEST_SHEET_XCELLRANGEDATA_HXX diff --git a/include/test/sheet/xcellrangereferrer.hxx b/include/test/sheet/xcellrangereferrer.hxx index 949f6b12eb7e..a2a659d17d13 100644 --- a/include/test/sheet/xcellrangereferrer.hxx +++ b/include/test/sheet/xcellrangereferrer.hxx @@ -16,15 +16,15 @@ #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XCellRangeReferrer { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void setCellRange(css::table::CellRangeAddress aCellRange) { m_aCellRange = aCellRange; } - const css::table::CellRangeAddress & getCellRange() const { return m_aCellRange; } + const css::table::CellRangeAddress& getCellRange() const { return m_aCellRange; } void testGetReferredCells(); protected: @@ -33,7 +33,6 @@ protected: private: css::table::CellRangeAddress m_aCellRange; }; - } #endif // INCLUDED_TEST_SHEET_XCELLRANGEREFERRER_HXX diff --git a/include/test/sheet/xcellrangesquery.hxx b/include/test/sheet/xcellrangesquery.hxx index 4d3cdcf1c6ec..ba275295a07a 100644 --- a/include/test/sheet/xcellrangesquery.hxx +++ b/include/test/sheet/xcellrangesquery.hxx @@ -13,12 +13,12 @@ #include <com/sun/star/uno/XInterface.hpp> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XCellRangesQuery { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; //Testcases void testQueryColumnDifference(); @@ -32,7 +32,6 @@ public: protected: ~XCellRangesQuery() {} }; - } #endif // INCLUDED_TEST_SHEET_XCELLRANGESQUERY_HXX diff --git a/include/test/sheet/xdatabaserange.hxx b/include/test/sheet/xdatabaserange.hxx index 09f640935e4d..388b89d9abfd 100644 --- a/include/test/sheet/xdatabaserange.hxx +++ b/include/test/sheet/xdatabaserange.hxx @@ -14,12 +14,12 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XDatabaseRange { public: - virtual css::uno::Reference< css::uno::XInterface > init(const OUString& rDBName) = 0; + virtual css::uno::Reference<css::uno::XInterface> init(const OUString& rDBName) = 0; void testDataArea(); void testGetSortDescriptor(); @@ -31,7 +31,6 @@ public: protected: ~XDatabaseRange() {} }; - } #endif // INCLUDED_TEST_SHEET_XDATABASERANGE_HXX diff --git a/include/test/sheet/xgoalseek.hxx b/include/test/sheet/xgoalseek.hxx index cb984f20fb66..08eeae92acd0 100644 --- a/include/test/sheet/xgoalseek.hxx +++ b/include/test/sheet/xgoalseek.hxx @@ -13,19 +13,18 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XGoalSeek { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testSeekGoal(); protected: virtual ~XGoalSeek() {} }; - } #endif // INCLUDED_TEST_SHEET_XGOALSEEK_HXX diff --git a/include/test/sheet/xnamedrange.hxx b/include/test/sheet/xnamedrange.hxx index 180c82727b9f..f088bf2abf66 100644 --- a/include/test/sheet/xnamedrange.hxx +++ b/include/test/sheet/xnamedrange.hxx @@ -14,12 +14,12 @@ #include <com/sun/star/sheet/XNamedRange.hpp> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XNamedRange { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; // XNamedRange void testGetContent(); @@ -32,9 +32,8 @@ public: protected: ~XNamedRange() {} - virtual css::uno::Reference< css::sheet::XNamedRange> getNamedRange(const OUString&) = 0; + virtual css::uno::Reference<css::sheet::XNamedRange> getNamedRange(const OUString&) = 0; }; - } #endif // INCLUDED_TEST_SHEET_XNAMEDRANGE_HXX diff --git a/include/test/sheet/xsheetannotation.hxx b/include/test/sheet/xsheetannotation.hxx index c12106209f8b..0003d8b119a3 100644 --- a/include/test/sheet/xsheetannotation.hxx +++ b/include/test/sheet/xsheetannotation.hxx @@ -15,12 +15,12 @@ #include <com/sun/star/table/CellAddress.hpp> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSheetAnnotation { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; // XSheetAnnotation void testGetPosition(); @@ -32,9 +32,9 @@ public: protected: ~XSheetAnnotation() {} - virtual css::uno::Reference< css::sheet::XSheetAnnotation> getAnnotation(css::table::CellAddress&) = 0; + virtual css::uno::Reference<css::sheet::XSheetAnnotation> + getAnnotation(css::table::CellAddress&) = 0; }; - } #endif // INCLUDED_TEST_SHEET_XSHEETANNOTATION_HXX diff --git a/include/test/sheet/xsheetlinkable.hxx b/include/test/sheet/xsheetlinkable.hxx index 08cfd9642ba0..fc239fb7b75c 100644 --- a/include/test/sheet/xsheetlinkable.hxx +++ b/include/test/sheet/xsheetlinkable.hxx @@ -10,26 +10,24 @@ #ifndef INCLUDED_TEST_SHEET_XSHEETLINKABLE_HXX #define INCLUDED_TEST_SHEET_XSHEETLINKABLE_HXX - #include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSheetLinkable { public: - virtual css::uno::Reference< css::uno::XInterface > init() =0; - virtual OUString getFileURL() =0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual OUString getFileURL() = 0; void testSheetLinkable(); protected: ~XSheetLinkable() {} }; - } #endif // INCLUDED_TEST_SHEET_XSHEETLINKABLE_HXX diff --git a/include/test/sheet/xsheetoperation.hxx b/include/test/sheet/xsheetoperation.hxx index ab03d2d451d0..ea436ce38b6e 100644 --- a/include/test/sheet/xsheetoperation.hxx +++ b/include/test/sheet/xsheetoperation.hxx @@ -10,18 +10,17 @@ #ifndef INCLUDED_TEST_SHEET_XSHEETOPERATION_HXX #define INCLUDED_TEST_SHEET_XSHEETOPERATION_HXX - #include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSheetOperation { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testComputeFunction(); void testClearContents(); @@ -29,7 +28,6 @@ public: protected: ~XSheetOperation() {} }; - } #endif // INCLUDED_TEST_SHEET_XSHEETOPERATION_HXX diff --git a/include/test/sheet/xsheetoutline.hxx b/include/test/sheet/xsheetoutline.hxx index f477b188257d..0210e6214742 100644 --- a/include/test/sheet/xsheetoutline.hxx +++ b/include/test/sheet/xsheetoutline.hxx @@ -13,12 +13,12 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSheetOutline { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; // XSheetOutline void testHideDetail(); @@ -31,7 +31,6 @@ public: protected: ~XSheetOutline() {} }; - } #endif // INCLUDED_TEST_SHEET_XSHEETOUTLINE_HXX diff --git a/include/test/sheet/xsheetpagebreak.hxx b/include/test/sheet/xsheetpagebreak.hxx index be8b2ff0a072..e7a47628d0d6 100644 --- a/include/test/sheet/xsheetpagebreak.hxx +++ b/include/test/sheet/xsheetpagebreak.hxx @@ -13,12 +13,12 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSheetPageBreak { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testGetColumnPageBreaks(); void testGetRowPageBreaks(); @@ -27,7 +27,6 @@ public: protected: ~XSheetPageBreak() {} }; - } #endif // INCLUDED_TEST_SHEET_XSHEETPAGEBREAK_HXX diff --git a/include/test/sheet/xspreadsheet.hxx b/include/test/sheet/xspreadsheet.hxx index 13604921a5fb..8033b8e55292 100644 --- a/include/test/sheet/xspreadsheet.hxx +++ b/include/test/sheet/xspreadsheet.hxx @@ -14,20 +14,19 @@ #include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/Reference.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSpreadsheet { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testCreateCursor(); void testCreateCursorByRange(); protected: - ~XSpreadsheet(){} + ~XSpreadsheet() {} }; - } #endif // INCLUDED_TEST_SHEET_XSPREADSHEET_HXX diff --git a/include/test/sheet/xspreadsheets.hxx b/include/test/sheet/xspreadsheets.hxx index 40c4b2f5a03f..2ec471db6479 100644 --- a/include/test/sheet/xspreadsheets.hxx +++ b/include/test/sheet/xspreadsheets.hxx @@ -14,20 +14,19 @@ #include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/Reference.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSpreadsheets { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; - virtual ~XSpreadsheets(){} + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual ~XSpreadsheets() {} void testInsertNewByName(); void testInsertNewByNameBadName(); void testMoveByName(); void testCopyByName(); }; - } #endif // INCLUDED_TEST_SHEET_XSPREADSHEETS_HXX diff --git a/include/test/sheet/xsubtotalcalculatable.hxx b/include/test/sheet/xsubtotalcalculatable.hxx index 11f822b6b15f..2160816d3ac8 100644 --- a/include/test/sheet/xsubtotalcalculatable.hxx +++ b/include/test/sheet/xsubtotalcalculatable.hxx @@ -14,13 +14,13 @@ #include <com/sun/star/uno/XInterface.hpp> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSubTotalCalculatable { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; - virtual css::uno::Reference< css::uno::XInterface > getXSpreadsheet() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual css::uno::Reference<css::uno::XInterface> getXSpreadsheet() = 0; void testCreateSubTotalDescriptor(); void testApplyRemoveSubTotals(); @@ -28,7 +28,6 @@ public: protected: ~XSubTotalCalculatable() {} }; - } #endif // INCLUDED_TEST_SHEET_XSUBTOTALCALCULATABLE_HXX diff --git a/include/test/sheet/xsubtotaldescriptor.hxx b/include/test/sheet/xsubtotaldescriptor.hxx index 9ca44718cf24..dc570c1819ba 100644 --- a/include/test/sheet/xsubtotaldescriptor.hxx +++ b/include/test/sheet/xsubtotaldescriptor.hxx @@ -14,12 +14,12 @@ #include <com/sun/star/uno/XInterface.hpp> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSubTotalDescriptor { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testAddNew(); void testClear(); @@ -27,7 +27,6 @@ public: protected: ~XSubTotalDescriptor() {} }; - } #endif // INCLUDED_TEST_SHEET_XSUBTOTALDESCRIPTOR_HXX diff --git a/include/test/sheet/xsubtotalfield.hxx b/include/test/sheet/xsubtotalfield.hxx index c32af101aae9..c5925ee6c70e 100644 --- a/include/test/sheet/xsubtotalfield.hxx +++ b/include/test/sheet/xsubtotalfield.hxx @@ -14,12 +14,12 @@ #include <com/sun/star/uno/XInterface.hpp> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XSubTotalField { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testGetSetGroupColumn(); void testGetSetTotalColumns(); @@ -27,7 +27,6 @@ public: protected: ~XSubTotalField() {} }; - } #endif // INCLUDED_TEST_SHEET_XSUBTOTALFIELD_HXX diff --git a/include/test/sheet/xusedareacursor.hxx b/include/test/sheet/xusedareacursor.hxx index fddd2002a8dc..95b4fe402574 100644 --- a/include/test/sheet/xusedareacursor.hxx +++ b/include/test/sheet/xusedareacursor.hxx @@ -14,19 +14,18 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XUsedAreaCursor { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; - virtual css::uno::Reference< css::uno::XInterface > getXSpreadsheet() = 0; - virtual ~XUsedAreaCursor(){} + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual css::uno::Reference<css::uno::XInterface> getXSpreadsheet() = 0; + virtual ~XUsedAreaCursor() {} void testGotoStartOfUsedArea(); void testGotoEndOfUsedArea(); }; - } #endif // INCLUDED_TEST_SHEET_XUSEDAREACURSOR_HXX diff --git a/include/test/sheet/xviewfreezable.hxx b/include/test/sheet/xviewfreezable.hxx index 1da565f70dd4..642e2eaf03e1 100644 --- a/include/test/sheet/xviewfreezable.hxx +++ b/include/test/sheet/xviewfreezable.hxx @@ -14,17 +14,16 @@ #include <com/sun/star/uno/Reference.hxx> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XViewFreezable { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; - virtual ~XViewFreezable(){} + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + virtual ~XViewFreezable() {} void testFreeze(); }; - } #endif // INCLUDED_TEST_SHEET_XVIEWFREEZABLE_HXX diff --git a/include/test/sheet/xviewpane.hxx b/include/test/sheet/xviewpane.hxx index 12ab794ecf07..ba0689bd24d9 100644 --- a/include/test/sheet/xviewpane.hxx +++ b/include/test/sheet/xviewpane.hxx @@ -14,12 +14,12 @@ #include <com/sun/star/uno/XInterface.hpp> #include <test/testdllapi.hxx> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XViewPane { public: - virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference<css::uno::XInterface> init() = 0; void testFirstVisibleColumn(); void testFirstVisibleRow(); @@ -27,9 +27,7 @@ public: protected: virtual ~XViewPane() {} - }; - } #endif // INCLUDED_TEST_SHEET_XVIEWPANE_HXX diff --git a/include/test/text/xtext.hxx b/include/test/text/xtext.hxx index d5c0801f7c31..537cfa21dae7 100644 --- a/include/test/text/xtext.hxx +++ b/include/test/text/xtext.hxx @@ -14,8 +14,8 @@ #include <com/sun/star/text/XTextContent.hpp> -namespace apitest { - +namespace apitest +{ class OOO_DLLPUBLIC_TEST XText { public: @@ -26,7 +26,6 @@ public: void testInsertRemoveTextContent(); }; - } #endif diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx index 32c20997808f..b4a09b4a28cd 100644 --- a/include/test/unoapi_test.hxx +++ b/include/test/unoapi_test.hxx @@ -28,8 +28,7 @@ public: virtual void setUp() override; protected: - void closeDocument( css::uno::Reference< css::lang::XComponent > const & xDocument ); - + void closeDocument(css::uno::Reference<css::lang::XComponent> const& xDocument); private: OUString m_aBaseString; |