summaryrefslogtreecommitdiff
path: root/unotest/source
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-29 21:26:09 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-30 14:36:36 +0100
commit66a175834c39ccde9475eac3adb72a843110d01f (patch)
treeef925daaf84a85731525c2b14f0cd4a2ed84e2de /unotest/source
parent90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (diff)
c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
Diffstat (limited to 'unotest/source')
-rw-r--r--unotest/source/cpp/officeconnection.cxx6
-rw-r--r--unotest/source/cpp/toabsolutefileurl.cxx6
-rw-r--r--unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx2
3 files changed, 0 insertions, 14 deletions
diff --git a/unotest/source/cpp/officeconnection.cxx b/unotest/source/cpp/officeconnection.cxx
index 96f9a8a6252f..69c28283edcd 100644
--- a/unotest/source/cpp/officeconnection.cxx
+++ b/unotest/source/cpp/officeconnection.cxx
@@ -36,12 +36,6 @@
#include "getargument.hxx"
-namespace {
-
-namespace css = com::sun::star;
-
-}
-
namespace test {
OfficeConnection::OfficeConnection(): process_(0) {}
diff --git a/unotest/source/cpp/toabsolutefileurl.cxx b/unotest/source/cpp/toabsolutefileurl.cxx
index 4805a9f39903..b92069b418f7 100644
--- a/unotest/source/cpp/toabsolutefileurl.cxx
+++ b/unotest/source/cpp/toabsolutefileurl.cxx
@@ -27,12 +27,6 @@
#include "rtl/ustring.hxx"
#include "unotest/toabsolutefileurl.hxx"
-namespace {
-
-namespace css = com::sun::star;
-
-}
-
namespace test {
rtl::OUString toAbsoluteFileUrl(rtl::OUString const & relativePathname) {
diff --git a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
index 1ee70993437e..b28e075f4ff3 100644
--- a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
+++ b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
@@ -36,8 +36,6 @@
namespace {
-namespace css = com::sun::star;
-
// Best effort conversion:
std::string convert(rtl::OUString const & s16) {
rtl::OString s8(rtl::OUStringToOString(s16, osl_getThreadTextEncoding()));