[Libreoffice-commits] core.git: include/test

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Nov 12 04:12:32 UTC 2018


 include/test/sheet/xarealink.hxx                     |    5 +----
 include/test/sheet/xarealinks.hxx                    |    5 +----
 include/test/sheet/xcelladdressable.hxx              |    5 +----
 include/test/sheet/xsheetannotationshapesupplier.hxx |    5 +----
 include/test/sheet/xspreadsheet.hxx                  |    5 +----
 include/test/sheet/xspreadsheets.hxx                 |    5 +----
 include/test/sheet/xsubtotalcalculatable.hxx         |    7 ++-----
 include/test/sheet/xusedareacursor.hxx               |    7 ++-----
 include/test/sheet/xviewfreezable.hxx                |    5 +----
 include/test/sheet/xviewpane.hxx                     |    5 +----
 include/test/sheet/xviewsplitable.hxx                |    5 +----
 11 files changed, 13 insertions(+), 46 deletions(-)

New commits:
commit e3f013dadb3aef25763ba08c37abd84a50171b2f
Author:     Jens Carl <j.carl43 at gmx.de>
AuthorDate: Sun Nov 11 21:53:46 2018 +0000
Commit:     Jens Carl <j.carl43 at gmx.de>
CommitDate: Mon Nov 12 05:12:12 2018 +0100

    Replace "using namespace" with qualified indentifiers
    
    Change-Id: I69cfd2a3528b059fe7d0be8c38e49782ca1fa78a
    Reviewed-on: https://gerrit.libreoffice.org/63272
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.carl43 at gmx.de>

diff --git a/include/test/sheet/xarealink.hxx b/include/test/sheet/xarealink.hxx
index 4dae48cc1e10..1f1636207f6f 100644
--- a/include/test/sheet/xarealink.hxx
+++ b/include/test/sheet/xarealink.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/Reference.hxx>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XAreaLink
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
     virtual ~XAreaLink(){}
 
     void testGetSourceArea();
diff --git a/include/test/sheet/xarealinks.hxx b/include/test/sheet/xarealinks.hxx
index f85667b9b15e..1007c28e57df 100644
--- a/include/test/sheet/xarealinks.hxx
+++ b/include/test/sheet/xarealinks.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/Reference.hxx>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XAreaLinks
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
 
     void testInsertAtPosition();
     void testRemoveByIndex();
diff --git a/include/test/sheet/xcelladdressable.hxx b/include/test/sheet/xcelladdressable.hxx
index 00d26a3b9119..9fcae658b2a5 100644
--- a/include/test/sheet/xcelladdressable.hxx
+++ b/include/test/sheet/xcelladdressable.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/Reference.hxx>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XCellAddressable
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
     virtual ~XCellAddressable(){}
 
     void testGetCellAddress();
diff --git a/include/test/sheet/xsheetannotationshapesupplier.hxx b/include/test/sheet/xsheetannotationshapesupplier.hxx
index 704f9f1516d5..72600c1aac7f 100644
--- a/include/test/sheet/xsheetannotationshapesupplier.hxx
+++ b/include/test/sheet/xsheetannotationshapesupplier.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/Reference.hxx>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XSheetAnnotationShapeSupplier
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
     virtual ~XSheetAnnotationShapeSupplier(){}
 
     void testGetAnnotationShape();
diff --git a/include/test/sheet/xspreadsheet.hxx b/include/test/sheet/xspreadsheet.hxx
index 300d3670e1b5..13604921a5fb 100644
--- a/include/test/sheet/xspreadsheet.hxx
+++ b/include/test/sheet/xspreadsheet.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/XInterface.hpp>
 #include <com/sun/star/uno/Reference.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XSpreadsheet
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
 
     void testCreateCursor();
     void testCreateCursorByRange();
diff --git a/include/test/sheet/xspreadsheets.hxx b/include/test/sheet/xspreadsheets.hxx
index 3c8ecb4f37e5..40c4b2f5a03f 100644
--- a/include/test/sheet/xspreadsheets.hxx
+++ b/include/test/sheet/xspreadsheets.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/XInterface.hpp>
 #include <com/sun/star/uno/Reference.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XSpreadsheets
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
     virtual ~XSpreadsheets(){}
 
     void testInsertNewByName();
diff --git a/include/test/sheet/xsubtotalcalculatable.hxx b/include/test/sheet/xsubtotalcalculatable.hxx
index d083a85fc395..4c5202b16dd8 100644
--- a/include/test/sheet/xsubtotalcalculatable.hxx
+++ b/include/test/sheet/xsubtotalcalculatable.hxx
@@ -15,16 +15,13 @@
 #include <com/sun/star/uno/XInterface.hpp>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XSubTotalCalculatable
 {
 public:
-    virtual uno::Reference< css::uno::XInterface > init() = 0;
-    virtual 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();
diff --git a/include/test/sheet/xusedareacursor.hxx b/include/test/sheet/xusedareacursor.hxx
index 546907ddfa7c..fddd2002a8dc 100644
--- a/include/test/sheet/xusedareacursor.hxx
+++ b/include/test/sheet/xusedareacursor.hxx
@@ -14,16 +14,13 @@
 #include <com/sun/star/uno/Reference.hxx>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XUsedAreaCursor
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
-    virtual uno::Reference< uno::XInterface > getXSpreadsheet() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > getXSpreadsheet() = 0;
     virtual ~XUsedAreaCursor(){}
 
     void testGotoStartOfUsedArea();
diff --git a/include/test/sheet/xviewfreezable.hxx b/include/test/sheet/xviewfreezable.hxx
index da5b56febe41..1da565f70dd4 100644
--- a/include/test/sheet/xviewfreezable.hxx
+++ b/include/test/sheet/xviewfreezable.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/Reference.hxx>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XViewFreezable
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
     virtual ~XViewFreezable(){}
 
     void testFreeze();
diff --git a/include/test/sheet/xviewpane.hxx b/include/test/sheet/xviewpane.hxx
index 1ab20a189912..12ab794ecf07 100644
--- a/include/test/sheet/xviewpane.hxx
+++ b/include/test/sheet/xviewpane.hxx
@@ -14,15 +14,12 @@
 #include <com/sun/star/uno/XInterface.hpp>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XViewPane
 {
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
 
     void testFirstVisibleColumn();
     void testFirstVisibleRow();
diff --git a/include/test/sheet/xviewsplitable.hxx b/include/test/sheet/xviewsplitable.hxx
index 3ead42a919a9..36956d375e55 100644
--- a/include/test/sheet/xviewsplitable.hxx
+++ b/include/test/sheet/xviewsplitable.hxx
@@ -14,16 +14,13 @@
 #include <com/sun/star/uno/Reference.hxx>
 #include <test/testdllapi.hxx>
 
-using namespace css;
-using namespace css::uno;
-
 namespace apitest {
 
 class OOO_DLLPUBLIC_TEST XViewSplitable
 {
 
 public:
-    virtual uno::Reference< uno::XInterface > init() = 0;
+    virtual css::uno::Reference< css::uno::XInterface > init() = 0;
     virtual ~XViewSplitable(){}
 
     void testSplit();


More information about the Libreoffice-commits mailing list