summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-04-26 14:38:52 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-04-26 14:41:36 +0200
commitadd638b725bb9e5c94b33f6802483bc7101e3681 (patch)
treeafabfbf9b8bee490a1090bd7d45b33afa7f1e79a
parentf5e003050c65669d53d0d4d2208b2b4d1b699a86 (diff)
test: clean up namespacing
Change-Id: I7df07176bdbd15fdfdf8f9a7cdb26d4bee12997d
-rw-r--r--include/test/container/xelementaccess.hxx8
-rw-r--r--include/test/container/xindexaccess.hxx4
-rw-r--r--include/test/container/xnamecontainer.hxx4
-rw-r--r--include/test/container/xnamed.hxx4
-rw-r--r--include/test/container/xnamereplace.hxx6
-rw-r--r--include/test/sheet/cellproperties.hxx4
-rw-r--r--include/test/sheet/datapilotfield.hxx4
-rw-r--r--include/test/sheet/tableautoformatfield.hxx6
-rw-r--r--include/test/sheet/xcellrangedata.hxx5
-rw-r--r--include/test/sheet/xcellrangereferrer.hxx8
-rw-r--r--include/test/sheet/xcellrangesquery.hxx7
-rw-r--r--include/test/sheet/xdatabaserange.hxx5
-rw-r--r--include/test/sheet/xdatapilotdescriptor.hxx9
-rw-r--r--include/test/sheet/xdatapilotfieldgrouping.hxx4
-rw-r--r--include/test/sheet/xdatapilottable.hxx8
-rw-r--r--include/test/sheet/xdatapilottable2.hxx22
-rw-r--r--include/test/sheet/xgoalseek.hxx5
-rw-r--r--include/test/sheet/xnamedrange.hxx8
-rw-r--r--include/test/sheet/xnamedranges.hxx7
-rw-r--r--include/test/sheet/xprintareas.hxx10
-rw-r--r--include/test/sheet/xsheetannotation.hxx7
-rw-r--r--include/test/sheet/xsheetannotations.hxx9
-rw-r--r--include/test/sheet/xsheetoutline.hxx4
-rw-r--r--include/test/sheet/xspreadsheetdocument.hxx4
-rw-r--r--include/test/sheet/xspreadsheets2.hxx22
-rw-r--r--include/test/text/xtext.hxx6
-rw-r--r--include/test/text/xtextcontent.hxx10
-rw-r--r--include/test/text/xtextfield.hxx4
-rw-r--r--include/test/unoapi_test.hxx8
-rw-r--r--include/test/util/xreplaceable.hxx5
-rw-r--r--include/test/util/xsearchable.hxx5
-rw-r--r--test/source/container/xelementaccess.cxx3
-rw-r--r--test/source/container/xindexaccess.cxx3
-rw-r--r--test/source/container/xnamecontainer.cxx3
-rw-r--r--test/source/container/xnamed.cxx3
-rw-r--r--test/source/container/xnamereplace.cxx3
-rw-r--r--test/source/sheet/cellproperties.cxx3
-rw-r--r--test/source/sheet/datapilotfield.cxx3
-rw-r--r--test/source/sheet/xcellrangedata.cxx3
-rw-r--r--test/source/sheet/xcellrangereferrer.cxx3
-rw-r--r--test/source/sheet/xdatabaserange.cxx3
-rw-r--r--test/source/sheet/xdatapilotdescriptor.cxx3
-rw-r--r--test/source/sheet/xdatapilotfieldgrouping.cxx3
-rw-r--r--test/source/sheet/xdatapilottable.cxx3
-rw-r--r--test/source/sheet/xdatapilottable2.cxx3
-rw-r--r--test/source/sheet/xgoalseek.cxx3
-rw-r--r--test/source/sheet/xnamedrange.cxx3
-rw-r--r--test/source/sheet/xnamedranges.cxx3
-rw-r--r--test/source/sheet/xprintareas.cxx3
-rw-r--r--test/source/sheet/xsheetannotation.cxx3
-rw-r--r--test/source/sheet/xsheetannotations.cxx3
-rw-r--r--test/source/sheet/xsheetoutline.cxx3
-rw-r--r--test/source/sheet/xspreadsheetdocument.cxx3
-rw-r--r--test/source/sheet/xspreadsheets2.cxx3
-rw-r--r--test/source/text/xtext.cxx3
-rw-r--r--test/source/text/xtextcontent.cxx3
-rw-r--r--test/source/text/xtextfield.cxx4
-rw-r--r--test/source/unoapi_test.cxx3
-rw-r--r--test/source/util/xreplaceable.cxx3
-rw-r--r--test/source/util/xsearchable.cxx3
60 files changed, 128 insertions, 182 deletions
diff --git a/include/test/container/xelementaccess.hxx b/include/test/container/xelementaccess.hxx
index 71306d345df7..a776d3331376 100644
--- a/include/test/container/xelementaccess.hxx
+++ b/include/test/container/xelementaccess.hxx
@@ -10,24 +10,22 @@
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/uno/Reference.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class XElementAccess
{
public:
- XElementAccess(uno::Type& rType): maType(rType) {}
+ XElementAccess(css::uno::Type& rType): maType(rType) {}
void testGetElementType();
void testHasElements();
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
virtual ~XElementAccess() {}
private:
- uno::Type maType;
+ css::uno::Type maType;
};
}
diff --git a/include/test/container/xindexaccess.hxx b/include/test/container/xindexaccess.hxx
index 1962f9f6eb13..95401c1cddff 100644
--- a/include/test/container/xindexaccess.hxx
+++ b/include/test/container/xindexaccess.hxx
@@ -9,8 +9,6 @@
#include <com/sun/star/uno/Reference.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class XIndexAccess
@@ -18,7 +16,7 @@ class XIndexAccess
public:
XIndexAccess(sal_Int32 nItems);
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testGetCount();
void testGetByIndex();
// will throw an exception and should fail if not
diff --git a/include/test/container/xnamecontainer.hxx b/include/test/container/xnamecontainer.hxx
index c231daecc0c9..7a253df829fc 100644
--- a/include/test/container/xnamecontainer.hxx
+++ b/include/test/container/xnamecontainer.hxx
@@ -11,8 +11,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XNameContainer
@@ -23,7 +21,7 @@ public:
// removes given entry
XNameContainer(const OUString& rName);
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testRemoveByName();
diff --git a/include/test/container/xnamed.hxx b/include/test/container/xnamed.hxx
index acb367ead4a8..f57457666d91 100644
--- a/include/test/container/xnamed.hxx
+++ b/include/test/container/xnamed.hxx
@@ -11,8 +11,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XNamed
@@ -24,7 +22,7 @@ public:
void testGetName();
void testSetName();
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
private:
OUString maName;
diff --git a/include/test/container/xnamereplace.hxx b/include/test/container/xnamereplace.hxx
index 6b616cdec1a8..d9b039f4e6db 100644
--- a/include/test/container/xnamereplace.hxx
+++ b/include/test/container/xnamereplace.hxx
@@ -12,8 +12,6 @@
#include <test/testdllapi.hxx>
#include <com/sun/star/uno/Any.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XNameReplace
@@ -21,11 +19,11 @@ class OOO_DLLPUBLIC_TEST XNameReplace
public:
XNameReplace(const OUString& rName): maName(rName) {}
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testReplaceByName();
- virtual uno::Any getAnyElementForNameReplace() = 0;
+ virtual css::uno::Any getAnyElementForNameReplace() = 0;
virtual ~XNameReplace() {}
diff --git a/include/test/sheet/cellproperties.hxx b/include/test/sheet/cellproperties.hxx
index 49f9c37246cb..fcbdc5fe8611 100644
--- a/include/test/sheet/cellproperties.hxx
+++ b/include/test/sheet/cellproperties.hxx
@@ -11,14 +11,12 @@
#include <com/sun/star/uno/XInterface.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST CellProperties
{
public:
- virtual uno::Reference < uno::XInterface > init() = 0;
+ virtual css::uno::Reference < css::uno::XInterface > init() = 0;
void testVertJustify();
void testRotateReference();
diff --git a/include/test/sheet/datapilotfield.hxx b/include/test/sheet/datapilotfield.hxx
index 253bdf474ac2..8fa8cdb0d986 100644
--- a/include/test/sheet/datapilotfield.hxx
+++ b/include/test/sheet/datapilotfield.hxx
@@ -10,14 +10,12 @@
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST DataPilotField
{
public:
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testSortInfo();
void testLayoutInfo();
diff --git a/include/test/sheet/tableautoformatfield.hxx b/include/test/sheet/tableautoformatfield.hxx
index 6b6d79f1fe57..a42f5b908e50 100644
--- a/include/test/sheet/tableautoformatfield.hxx
+++ b/include/test/sheet/tableautoformatfield.hxx
@@ -9,17 +9,15 @@
#include <com/sun/star/beans/XPropertySet.hpp>
-using namespace com::sun::star;
-
namespace apitest {
class TableAutoFormatField
{
public:
//don't use virtual init() here
- uno::Reference< beans::XPropertySet > initTest();
+ css::uno::Reference< beans::XPropertySet > initTest();
- virtual uno::Reference< > getServiceFactory() = 0;
+ virtual css::uno::Reference< > getServiceFactory() = 0;
void testRotateReference();
void testVertJustify();
diff --git a/include/test/sheet/xcellrangedata.hxx b/include/test/sheet/xcellrangedata.hxx
index dd56045b8649..63cc44f08bc8 100644
--- a/include/test/sheet/xcellrangedata.hxx
+++ b/include/test/sheet/xcellrangedata.hxx
@@ -10,15 +10,12 @@
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XCellRangeData
{
public:
-
- virtual uno::Reference< uno::XInterface > getXCellRangeData() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > getXCellRangeData() = 0;
void testGetDataArray();
void testSetDataArray();
diff --git a/include/test/sheet/xcellrangereferrer.hxx b/include/test/sheet/xcellrangereferrer.hxx
index 22044302b087..5af153f86a13 100644
--- a/include/test/sheet/xcellrangereferrer.hxx
+++ b/include/test/sheet/xcellrangereferrer.hxx
@@ -10,17 +10,15 @@
#include <com/sun/star/table/CellRangeAddress.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XCellRangeReferrer
{
public:
- XCellRangeReferrer( table::CellRangeAddress aCellRange ):
+ XCellRangeReferrer( css::table::CellRangeAddress aCellRange ):
maCellRange( aCellRange ) {}
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testGetReferredCells();
@@ -28,7 +26,7 @@ protected:
~XCellRangeReferrer() {}
private:
- table::CellRangeAddress maCellRange;
+ css::table::CellRangeAddress maCellRange;
};
}
diff --git a/include/test/sheet/xcellrangesquery.hxx b/include/test/sheet/xcellrangesquery.hxx
index 3d419b7c8203..e48c5b5e0ab0 100644
--- a/include/test/sheet/xcellrangesquery.hxx
+++ b/include/test/sheet/xcellrangesquery.hxx
@@ -10,17 +10,12 @@
#include <com/sun/star/uno/XInterface.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
-
namespace apitest {
-
class OOO_DLLPUBLIC_TEST XCellRangesQuery
{
public:
-
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
//Testcases
void testQueryColumnDifference();
diff --git a/include/test/sheet/xdatabaserange.hxx b/include/test/sheet/xdatabaserange.hxx
index 2be7e4dc663f..aae8ec7bf73b 100644
--- a/include/test/sheet/xdatabaserange.hxx
+++ b/include/test/sheet/xdatabaserange.hxx
@@ -7,19 +7,16 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <rtl/ustring.hxx>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XDatabaseRange
{
public:
- virtual uno::Reference< uno::XInterface > init(const OUString& rDBName) = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init(const OUString& rDBName) = 0;
void testDataArea();
void testGetSortDescriptor();
diff --git a/include/test/sheet/xdatapilotdescriptor.hxx b/include/test/sheet/xdatapilotdescriptor.hxx
index 55b26a3bbfe7..9f85f2ebd40f 100644
--- a/include/test/sheet/xdatapilotdescriptor.hxx
+++ b/include/test/sheet/xdatapilotdescriptor.hxx
@@ -15,8 +15,6 @@
#include <vector>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XDataPilotDescriptor
@@ -32,16 +30,15 @@ public:
void testGetDataFields();
void testGetHiddenFields();
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
protected:
~XDataPilotDescriptor() {}
private:
+ void testGetDataPilotFields_Impl( css::uno::Reference< css::sheet::XDataPilotDescriptor > xDescr );
- void testGetDataPilotFields_Impl( uno::Reference< sheet::XDataPilotDescriptor > xDescr );
-
- void checkName( uno::Reference< container::XIndexAccess > xIndex, sal_Int32 nIndex );
+ void checkName( css::uno::Reference< css::container::XIndexAccess > xIndex, sal_Int32 nIndex );
static std::vector<OUString> maFieldNames;
};
diff --git a/include/test/sheet/xdatapilotfieldgrouping.hxx b/include/test/sheet/xdatapilotfieldgrouping.hxx
index fd11a45cb051..f741663b274e 100644
--- a/include/test/sheet/xdatapilotfieldgrouping.hxx
+++ b/include/test/sheet/xdatapilotfieldgrouping.hxx
@@ -11,8 +11,6 @@
#include <com/sun/star/uno/XInterface.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XDataPilotFieldGrouping
@@ -21,7 +19,7 @@ public:
void testCreateNameGroup();
void testCreateDateGroup();
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
protected:
~XDataPilotFieldGrouping() {}
diff --git a/include/test/sheet/xdatapilottable.hxx b/include/test/sheet/xdatapilottable.hxx
index 27c5f2a7ca8c..d11df25397d8 100644
--- a/include/test/sheet/xdatapilottable.hxx
+++ b/include/test/sheet/xdatapilottable.hxx
@@ -13,22 +13,20 @@
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XDataPilotTable
{
public:
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
virtual ~XDataPilotTable();
void testGetOutputRange();
void testRefresh();
protected:
- uno::Reference< table::XCell > xCellForChange;
- uno::Reference< table::XCell > xCellForCheck;
+ css::uno::Reference< css::table::XCell > xCellForChange;
+ css::uno::Reference< css::table::XCell > xCellForCheck;
};
}
diff --git a/include/test/sheet/xdatapilottable2.hxx b/include/test/sheet/xdatapilottable2.hxx
index b1dc31159af3..002218b78ebd 100644
--- a/include/test/sheet/xdatapilottable2.hxx
+++ b/include/test/sheet/xdatapilottable2.hxx
@@ -18,8 +18,6 @@
#include <vector>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XDataPilotTable2
@@ -31,23 +29,23 @@ public:
void testInsertDrillDownSheet();
virtual ~XDataPilotTable2();
- virtual uno::Reference< uno::XInterface > initDP2() = 0;
- virtual uno::Reference< uno::XInterface > getSheets() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > initDP2() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > getSheets() = 0;
protected:
private:
- bool checkDrillDownSheetContent(uno::Reference< sheet::XSpreadsheet >, uno::Sequence< uno::Sequence < uno::Any > > aData);
+ bool checkDrillDownSheetContent(css::uno::Reference< css::sheet::XSpreadsheet >, css::uno::Sequence< css::uno::Sequence < css::uno::Any > > aData);
- void getOutputRanges(uno::Reference< sheet::XDataPilotTable2 >);
- void buildDataFields(uno::Reference< sheet::XDataPilotTable2 >);
- void buildResultCells(uno::Reference< sheet::XDataPilotTable2 >);
+ void getOutputRanges(css::uno::Reference< css::sheet::XDataPilotTable2 >);
+ void buildDataFields(css::uno::Reference< css::sheet::XDataPilotTable2 >);
+ void buildResultCells(css::uno::Reference< css::sheet::XDataPilotTable2 >);
- std::vector< table::CellAddress > maResultCells;
+ std::vector< css::table::CellAddress > maResultCells;
std::vector< sal_Int32 > maDataFieldDims;
- table::CellRangeAddress maRangeWhole;
- table::CellRangeAddress maRangeTable;
- table::CellRangeAddress maRangeResult;
+ css::table::CellRangeAddress maRangeWhole;
+ css::table::CellRangeAddress maRangeTable;
+ css::table::CellRangeAddress maRangeResult;
};
}
diff --git a/include/test/sheet/xgoalseek.hxx b/include/test/sheet/xgoalseek.hxx
index 71fce12a356b..892a6b7a559f 100644
--- a/include/test/sheet/xgoalseek.hxx
+++ b/include/test/sheet/xgoalseek.hxx
@@ -10,15 +10,12 @@
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XGoalSeek
{
public:
-
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testSeekGoal();
diff --git a/include/test/sheet/xnamedrange.hxx b/include/test/sheet/xnamedrange.hxx
index 97a6afdf4926..19465fe528e7 100644
--- a/include/test/sheet/xnamedrange.hxx
+++ b/include/test/sheet/xnamedrange.hxx
@@ -30,14 +30,12 @@
#include <com/sun/star/sheet/XNamedRange.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XNamedRange
{
public:
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
// XNamedRange
void testGetContent();
@@ -46,11 +44,11 @@ public:
void testSetType();
void testGetReferencePosition();
void testSetReferencePosition();
+
protected:
~XNamedRange() {}
- virtual uno::Reference< sheet::XNamedRange> getNamedRange(const OUString&) = 0;
-
+ virtual css::uno::Reference< css::sheet::XNamedRange> getNamedRange(const OUString&) = 0;
};
}
diff --git a/include/test/sheet/xnamedranges.hxx b/include/test/sheet/xnamedranges.hxx
index d0d2eeedb66f..57b0b8521536 100644
--- a/include/test/sheet/xnamedranges.hxx
+++ b/include/test/sheet/xnamedranges.hxx
@@ -26,13 +26,10 @@
* instead of those above.
*/
-#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XNamedRanges
@@ -45,7 +42,7 @@ public:
virtual ~XNamedRanges();
- virtual uno::Reference< uno::XInterface > init(sal_Int32 nSheets = 0) = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init(sal_Int32 nSheets = 0) = 0;
// XNamedRanges
void testAddNewByName();
@@ -54,7 +51,7 @@ public:
void testOutputList();
protected:
- uno::Reference< sheet::XSpreadsheet > xSheet;
+ css::uno::Reference< css::sheet::XSpreadsheet > xSheet;
private:
OUString maNameToRemove;
diff --git a/include/test/sheet/xprintareas.hxx b/include/test/sheet/xprintareas.hxx
index 08f534877690..e1b7e2bdbc8c 100644
--- a/include/test/sheet/xprintareas.hxx
+++ b/include/test/sheet/xprintareas.hxx
@@ -26,17 +26,15 @@
* instead of those above.
*/
- #include <com/sun/star/sheet/XPrintAreas.hpp>
- #include <test/testdllapi.hxx>
-
-using namespace com::sun::star;
+#include <com/sun/star/sheet/XPrintAreas.hpp>
+#include <test/testdllapi.hxx>
namespace apitest {
class OOO_DLLPUBLIC_TEST XPrintAreas
{
public:
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testSetAndGetPrintTitleColumns(); //getter and setter in one test case
void testSetAndGetPrintTitleRows();
@@ -50,8 +48,6 @@ public:
protected:
~XPrintAreas() {}
-
-
};
}
diff --git a/include/test/sheet/xsheetannotation.hxx b/include/test/sheet/xsheetannotation.hxx
index 9dd552d2803d..03effd3f0198 100644
--- a/include/test/sheet/xsheetannotation.hxx
+++ b/include/test/sheet/xsheetannotation.hxx
@@ -32,14 +32,12 @@
#include <com/sun/star/table/CellAddress.hpp>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XSheetAnnotation
{
public:
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
// XSheetAnnotation
void testGetPosition();
@@ -51,8 +49,7 @@ public:
protected:
~XSheetAnnotation() {}
- virtual uno::Reference< sheet::XSheetAnnotation> getAnnotation(table::CellAddress&) = 0;
-
+ virtual css::uno::Reference< css::sheet::XSheetAnnotation> getAnnotation(css::table::CellAddress&) = 0;
};
}
diff --git a/include/test/sheet/xsheetannotations.hxx b/include/test/sheet/xsheetannotations.hxx
index 9c1c2111008c..314b841e948b 100644
--- a/include/test/sheet/xsheetannotations.hxx
+++ b/include/test/sheet/xsheetannotations.hxx
@@ -26,29 +26,24 @@
* instead of those above.
*/
-#include <rtl/ustring.hxx>
#include <com/sun/star/sheet/XSheetAnnotations.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XSheetAnnotations
{
public:
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
// XSheetAnnotations
void testInsertNew();
void testRemoveByIndex();
-
protected:
~XSheetAnnotations() {}
- virtual uno::Reference< sheet::XSheetAnnotations> getAnnotations() = 0;
-
+ virtual css::uno::Reference< css::sheet::XSheetAnnotations> getAnnotations() = 0;
};
}
diff --git a/include/test/sheet/xsheetoutline.hxx b/include/test/sheet/xsheetoutline.hxx
index b52ac0eeb7aa..54db6661e2c3 100644
--- a/include/test/sheet/xsheetoutline.hxx
+++ b/include/test/sheet/xsheetoutline.hxx
@@ -30,14 +30,12 @@
#include <com/sun/star/sheet/XSheetOutline.hpp>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XSheetOutline
{
public:
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
// XSheetOutline
void testHideDetail();
diff --git a/include/test/sheet/xspreadsheetdocument.hxx b/include/test/sheet/xspreadsheetdocument.hxx
index edeef9c4891c..51bdf62b5db4 100644
--- a/include/test/sheet/xspreadsheetdocument.hxx
+++ b/include/test/sheet/xspreadsheetdocument.hxx
@@ -10,8 +10,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class XSpreadsheetDocument
@@ -19,7 +17,7 @@ class XSpreadsheetDocument
public:
XSpreadsheetDocument(sal_Int32 nSheets) : mnSheets(nSheets) {}
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testGetSheets();
diff --git a/include/test/sheet/xspreadsheets2.hxx b/include/test/sheet/xspreadsheets2.hxx
index 83b9eddd15e7..3b429e412eb6 100644
--- a/include/test/sheet/xspreadsheets2.hxx
+++ b/include/test/sheet/xspreadsheets2.hxx
@@ -33,10 +33,6 @@
#include <com/sun/star/sheet/XNamedRanges.hpp>
#include <com/sun/star/lang/XComponent.hpp>
-#include <rtl/ustring.hxx>
-
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XSpreadsheets2
@@ -57,23 +53,23 @@ public:
void testImportNewNamedRange();
void testImportCellStyle();
- virtual uno::Reference< lang::XComponent > getComponent() = 0;
- virtual uno::Reference< uno::XInterface > init() = 0;
- virtual uno::Reference< lang::XComponent > loadFromDesktop(const OUString&) = 0;
+ virtual css::uno::Reference< css::lang::XComponent > getComponent() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::lang::XComponent > loadFromDesktop(const OUString&) = 0;
virtual void createFileURL(const OUString&, OUString&) = 0;
protected:
- uno::Reference< sheet::XSpreadsheetDocument> xDocument;
+ css::uno::Reference< css::sheet::XSpreadsheetDocument> xDocument;
private:
- uno::Reference< sheet::XSpreadsheetDocument> getDoc(const OUString&, uno::Reference< lang::XComponent >&);
- uno::Reference< sheet::XNamedRanges> getNamedRanges(uno::Reference< sheet::XSpreadsheetDocument >);
+ css::uno::Reference< css::sheet::XSpreadsheetDocument> getDoc(const OUString&, css::uno::Reference< css::lang::XComponent >&);
+ css::uno::Reference< css::sheet::XNamedRanges> getNamedRanges(css::uno::Reference< css::sheet::XSpreadsheetDocument >);
void importSheetToCopy();
bool isExternalReference(const OUString& aDestContent, const OUString& aSrcContent );
- uno::Reference< sheet::XSpreadsheetDocument> xDestDoc;
- uno::Reference< sheet::XSpreadsheet > xDestSheet;
- uno::Reference< sheet::XSpreadsheet > xSrcSheet;
+ css::uno::Reference< css::sheet::XSpreadsheetDocument> xDestDoc;
+ css::uno::Reference< css::sheet::XSpreadsheet > xDestSheet;
+ css::uno::Reference< css::sheet::XSpreadsheet > xSrcSheet;
OUString aSrcSheetName;
OUString aSrcFileName;
OUString aDestFileBase;
diff --git a/include/test/text/xtext.hxx b/include/test/text/xtext.hxx
index 2afee6cdcaec..bad665cfc357 100644
--- a/include/test/text/xtext.hxx
+++ b/include/test/text/xtext.hxx
@@ -17,8 +17,6 @@
#include <com/sun/star/text/XText.hpp>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XText
@@ -26,8 +24,8 @@ class OOO_DLLPUBLIC_TEST XText
public:
virtual ~XText();
- virtual uno::Reference<uno::XInterface> init() = 0;
- virtual uno::Reference<text::XTextContent> getTextContent() = 0;
+ virtual css::uno::Reference<css::uno::XInterface> init() = 0;
+ virtual css::uno::Reference<css::text::XTextContent> getTextContent() = 0;
void testInsertRemoveTextContent();
};
diff --git a/include/test/text/xtextcontent.hxx b/include/test/text/xtextcontent.hxx
index 80549b09655c..0d5cbb3661e2 100644
--- a/include/test/text/xtextcontent.hxx
+++ b/include/test/text/xtextcontent.hxx
@@ -13,8 +13,6 @@
#include "test/testdllapi.hxx"
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XTextContent
@@ -22,15 +20,13 @@ class OOO_DLLPUBLIC_TEST XTextContent
public:
virtual ~XTextContent() {}
- virtual uno::Reference< uno::XInterface > init() = 0;
- virtual uno::Reference< text::XTextRange > getTextRange() = 0;
- virtual uno::Reference< text::XTextContent > getTextContent() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::text::XTextRange > getTextRange() = 0;
+ virtual css::uno::Reference< css::text::XTextContent > getTextContent() = 0;
virtual bool isAttachSupported() = 0;
void testGetAnchor();
void testAttach();
-
-
};
}
diff --git a/include/test/text/xtextfield.hxx b/include/test/text/xtextfield.hxx
index 508a622724cf..17c60ed6ab0d 100644
--- a/include/test/text/xtextfield.hxx
+++ b/include/test/text/xtextfield.hxx
@@ -11,8 +11,6 @@
#include "test/testdllapi.hxx"
-using namespace com::sun::star;
-
namespace apitest
{
@@ -21,7 +19,7 @@ class OOO_DLLPUBLIC_TEST XTextField
public:
virtual ~XTextField() {}
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testGetPresentation();
};
diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx
index 171e47aa785d..ee83689bc06d 100644
--- a/include/test/unoapi_test.hxx
+++ b/include/test/unoapi_test.hxx
@@ -11,12 +11,8 @@
#include <test/bootstrapfixture.hxx>
#include <unotest/macros_test.hxx>
#include <com/sun/star/lang/XComponent.hpp>
-#include <rtl/ustrbuf.hxx>
#include <osl/file.hxx>
-using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
-
// basic uno api test class
class OOO_DLLPUBLIC_TEST UnoApiTest : public test::BootstrapFixture, public unotest::MacrosTest
@@ -30,11 +26,11 @@ public:
virtual void tearDown();
protected:
- void closeDocument( uno::Reference< lang::XComponent > xDocument );
+ void closeDocument( css::uno::Reference< css::lang::XComponent > xDocument );
private:
- uno::Reference<uno::XInterface> m_xCalcComponent;
+ css::uno::Reference<css::uno::XInterface> m_xCalcComponent;
OUString m_aBaseString;
};
diff --git a/include/test/util/xreplaceable.hxx b/include/test/util/xreplaceable.hxx
index 34b56b24514c..0f930b4ac2bd 100644
--- a/include/test/util/xreplaceable.hxx
+++ b/include/test/util/xreplaceable.hxx
@@ -7,12 +7,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XReplaceable
@@ -20,7 +17,7 @@ class OOO_DLLPUBLIC_TEST XReplaceable
public:
XReplaceable( const OUString& rSearchString, const OUString& rReplaceString):
maSearchString(rSearchString), maReplaceString(rReplaceString) {}
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void testCreateReplaceDescriptor();
void testReplaceAll();
diff --git a/include/test/util/xsearchable.hxx b/include/test/util/xsearchable.hxx
index 975ebb2a4a79..c7dfc210c834 100644
--- a/include/test/util/xsearchable.hxx
+++ b/include/test/util/xsearchable.hxx
@@ -7,11 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <rtl/ustring.hxx>
#include <test/testdllapi.hxx>
-using namespace com::sun::star;
-
namespace apitest {
class OOO_DLLPUBLIC_TEST XSearchable
@@ -25,7 +22,7 @@ public:
void testFindNext();
void testFindAll();
- virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual css::uno::Reference< css::uno::XInterface > init() = 0;
private:
OUString maSearchString;
diff --git a/test/source/container/xelementaccess.cxx b/test/source/container/xelementaccess.cxx
index e955d082e4c2..c1281feaa796 100644
--- a/test/source/container/xelementaccess.cxx
+++ b/test/source/container/xelementaccess.cxx
@@ -11,7 +11,8 @@
#include <com/sun/star/container/XElementAccess.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/container/xindexaccess.cxx b/test/source/container/xindexaccess.cxx
index 47dd19fb3d43..773366ab5ee2 100644
--- a/test/source/container/xindexaccess.cxx
+++ b/test/source/container/xindexaccess.cxx
@@ -11,7 +11,8 @@
#include <com/sun/star/container/XIndexAccess.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/container/xnamecontainer.cxx b/test/source/container/xnamecontainer.cxx
index 9afa09a22727..98fdf85c6857 100644
--- a/test/source/container/xnamecontainer.cxx
+++ b/test/source/container/xnamecontainer.cxx
@@ -14,7 +14,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <iostream>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/container/xnamed.cxx b/test/source/container/xnamed.cxx
index 74ebaad4dd21..6b28bf4d3af6 100644
--- a/test/source/container/xnamed.cxx
+++ b/test/source/container/xnamed.cxx
@@ -11,7 +11,8 @@
#include <test/container/xnamed.hxx>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/container/xnamereplace.cxx b/test/source/container/xnamereplace.cxx
index 505e42bbe570..8af5e7cce45c 100644
--- a/test/source/container/xnamereplace.cxx
+++ b/test/source/container/xnamereplace.cxx
@@ -11,7 +11,8 @@
#include <com/sun/star/container/XNameReplace.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/cellproperties.cxx b/test/source/sheet/cellproperties.cxx
index 069466fb8fae..c5a52367f34b 100644
--- a/test/source/sheet/cellproperties.cxx
+++ b/test/source/sheet/cellproperties.cxx
@@ -15,7 +15,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <iostream>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/datapilotfield.cxx b/test/source/sheet/datapilotfield.cxx
index fe7cb1a174c7..8a3399c145ad 100644
--- a/test/source/sheet/datapilotfield.cxx
+++ b/test/source/sheet/datapilotfield.cxx
@@ -26,7 +26,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <iostream>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xcellrangedata.cxx b/test/source/sheet/xcellrangedata.cxx
index 01be27075fd1..f297af531196 100644
--- a/test/source/sheet/xcellrangedata.cxx
+++ b/test/source/sheet/xcellrangedata.cxx
@@ -12,7 +12,8 @@
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xcellrangereferrer.cxx b/test/source/sheet/xcellrangereferrer.cxx
index 531d11890c2b..6b4f52442971 100644
--- a/test/source/sheet/xcellrangereferrer.cxx
+++ b/test/source/sheet/xcellrangereferrer.cxx
@@ -13,7 +13,8 @@
#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xdatabaserange.cxx b/test/source/sheet/xdatabaserange.cxx
index 6a572c30d214..21487efcd7e0 100644
--- a/test/source/sheet/xdatabaserange.cxx
+++ b/test/source/sheet/xdatabaserange.cxx
@@ -27,7 +27,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <iostream>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xdatapilotdescriptor.cxx b/test/source/sheet/xdatapilotdescriptor.cxx
index 4e316eb2f72d..1e2c67ac167c 100644
--- a/test/source/sheet/xdatapilotdescriptor.cxx
+++ b/test/source/sheet/xdatapilotdescriptor.cxx
@@ -18,7 +18,8 @@
#include <rtl/ustring.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xdatapilotfieldgrouping.cxx b/test/source/sheet/xdatapilotfieldgrouping.cxx
index cdbd080ec63a..fdfdfd5655c2 100644
--- a/test/source/sheet/xdatapilotfieldgrouping.cxx
+++ b/test/source/sheet/xdatapilotfieldgrouping.cxx
@@ -14,7 +14,8 @@
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xdatapilottable.cxx b/test/source/sheet/xdatapilottable.cxx
index 72d9734037ff..cef1550dc9d1 100644
--- a/test/source/sheet/xdatapilottable.cxx
+++ b/test/source/sheet/xdatapilottable.cxx
@@ -20,7 +20,8 @@
#include <rtl/ustring.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest
{
diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index 42a5911eed7a..ce78ccc82b3e 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -23,7 +23,8 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xgoalseek.cxx b/test/source/sheet/xgoalseek.cxx
index 6bdcfbbc5c84..745614ea2aee 100644
--- a/test/source/sheet/xgoalseek.cxx
+++ b/test/source/sheet/xgoalseek.cxx
@@ -14,7 +14,8 @@
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xnamedrange.cxx b/test/source/sheet/xnamedrange.cxx
index 0f431dd736da..c0a837fc1420 100644
--- a/test/source/sheet/xnamedrange.cxx
+++ b/test/source/sheet/xnamedrange.cxx
@@ -47,7 +47,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <rtl/ustring.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xnamedranges.cxx b/test/source/sheet/xnamedranges.cxx
index cf91ef5647a6..015ad5cc7132 100644
--- a/test/source/sheet/xnamedranges.cxx
+++ b/test/source/sheet/xnamedranges.cxx
@@ -49,7 +49,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <iostream>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xprintareas.cxx b/test/source/sheet/xprintareas.cxx
index 6a993095b44c..094e5419ddbc 100644
--- a/test/source/sheet/xprintareas.cxx
+++ b/test/source/sheet/xprintareas.cxx
@@ -32,7 +32,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <rtl/ustring.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xsheetannotation.cxx b/test/source/sheet/xsheetannotation.cxx
index 1475798558fd..42f8b53c781a 100644
--- a/test/source/sheet/xsheetannotation.cxx
+++ b/test/source/sheet/xsheetannotation.cxx
@@ -33,7 +33,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <rtl/ustring.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xsheetannotations.cxx b/test/source/sheet/xsheetannotations.cxx
index 637e88838220..b41bd06d324b 100644
--- a/test/source/sheet/xsheetannotations.cxx
+++ b/test/source/sheet/xsheetannotations.cxx
@@ -36,7 +36,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <rtl/ustring.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xsheetoutline.cxx b/test/source/sheet/xsheetoutline.cxx
index c902e65d1fc5..11d1acc4eb63 100644
--- a/test/source/sheet/xsheetoutline.cxx
+++ b/test/source/sheet/xsheetoutline.cxx
@@ -41,7 +41,8 @@
#include "cppunit/extensions/HelperMacros.h"
#include <rtl/ustring.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xspreadsheetdocument.cxx b/test/source/sheet/xspreadsheetdocument.cxx
index f6e0ca6922d2..31477643cf31 100644
--- a/test/source/sheet/xspreadsheetdocument.cxx
+++ b/test/source/sheet/xspreadsheetdocument.cxx
@@ -13,7 +13,8 @@
#include <com/sun/star/container/XIndexAccess.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/sheet/xspreadsheets2.cxx b/test/source/sheet/xspreadsheets2.cxx
index b4d734072119..13f25bdb8871 100644
--- a/test/source/sheet/xspreadsheets2.cxx
+++ b/test/source/sheet/xspreadsheets2.cxx
@@ -53,7 +53,8 @@
#include <rtl/ustring.hxx>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/text/xtext.cxx b/test/source/text/xtext.cxx
index 4648eccdf40c..1ca6012f417a 100644
--- a/test/source/text/xtext.cxx
+++ b/test/source/text/xtext.cxx
@@ -12,7 +12,8 @@
#include "test/text/xtext.hxx"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/text/xtextcontent.cxx b/test/source/text/xtextcontent.cxx
index 3c8488c50a92..6f6b00ff87c1 100644
--- a/test/source/text/xtextcontent.cxx
+++ b/test/source/text/xtextcontent.cxx
@@ -13,7 +13,8 @@
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/text/xtextfield.cxx b/test/source/text/xtextfield.cxx
index c799a624356b..4261d17c617f 100644
--- a/test/source/text/xtextfield.cxx
+++ b/test/source/text/xtextfield.cxx
@@ -7,12 +7,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-
#include "test/text/xtextfield.hxx"
#include <com/sun/star/text/XTextField.hpp>
#include "cppunit/extensions/HelperMacros.h"
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest
{
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index ac4eab6c4e12..caa3552dd221 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -13,6 +13,9 @@
#include <com/sun/star/frame/Desktop.hpp>
#include <comphelper/processfactory.hxx>
+using namespace css;
+using namespace css::uno;
+
UnoApiTest::UnoApiTest(const OUString& path)
: m_aBaseString(path)
{
diff --git a/test/source/util/xreplaceable.cxx b/test/source/util/xreplaceable.cxx
index 553d38c6d41a..42a31102a649 100644
--- a/test/source/util/xreplaceable.cxx
+++ b/test/source/util/xreplaceable.cxx
@@ -16,7 +16,8 @@
#include <iostream>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {
diff --git a/test/source/util/xsearchable.cxx b/test/source/util/xsearchable.cxx
index 9117e7e204ca..91006e18118a 100644
--- a/test/source/util/xsearchable.cxx
+++ b/test/source/util/xsearchable.cxx
@@ -14,7 +14,8 @@
#include <test/util/xsearchable.hxx>
-using namespace com::sun::star::uno;
+using namespace css;
+using namespace css::uno;
namespace apitest {