diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 21:26:09 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-30 14:36:36 +0100 |
commit | 66a175834c39ccde9475eac3adb72a843110d01f (patch) | |
tree | ef925daaf84a85731525c2b14f0cd4a2ed84e2de /shell | |
parent | 90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (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 'shell')
-rw-r--r-- | shell/source/backends/desktopbe/desktopbackend.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/gconfbe/gconfaccess.cxx | 1 | ||||
-rw-r--r-- | shell/source/backends/gconfbe/gconfbackend.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/kde4be/kde4access.cxx | 1 | ||||
-rw-r--r-- | shell/source/backends/kde4be/kde4backend.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/kdebe/kdeaccess.cxx | 1 | ||||
-rw-r--r-- | shell/source/backends/kdebe/kdebackend.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/localebe/localebackend.hxx | 1 | ||||
-rw-r--r-- | shell/source/backends/macbe/macbackend.hxx | 1 | ||||
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.hxx | 1 | ||||
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 2 | ||||
-rw-r--r-- | shell/source/win32/SysShExec.cxx | 2 | ||||
-rw-r--r-- | shell/source/win32/simplemail/smplmailclient.hxx | 2 |
13 files changed, 0 insertions, 20 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx index 76d6c8c76349..fe50565536d0 100644 --- a/shell/source/backends/desktopbe/desktopbackend.cxx +++ b/shell/source/backends/desktopbe/desktopbackend.cxx @@ -54,8 +54,6 @@ namespace { -namespace css = com::sun::star; - rtl::OUString SAL_CALL getDefaultImplementationName() { return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx index ce5c71085f0d..87382045c24f 100644 --- a/shell/source/backends/gconfbe/gconfaccess.cxx +++ b/shell/source/backends/gconfbe/gconfaccess.cxx @@ -39,7 +39,6 @@ namespace gconfaccess { namespace { -namespace css = com::sun::star ; namespace uno = css::uno ; using ::rtl::OUString; diff --git a/shell/source/backends/gconfbe/gconfbackend.cxx b/shell/source/backends/gconfbe/gconfbackend.cxx index c93a06329dc1..34f4560a58ce 100644 --- a/shell/source/backends/gconfbe/gconfbackend.cxx +++ b/shell/source/backends/gconfbe/gconfbackend.cxx @@ -55,8 +55,6 @@ namespace { -namespace css = com::sun::star; - rtl::OUString SAL_CALL getServiceImplementationName() { return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( diff --git a/shell/source/backends/kde4be/kde4access.cxx b/shell/source/backends/kde4be/kde4access.cxx index 62d1669de27f..1669263b3c95 100644 --- a/shell/source/backends/kde4be/kde4access.cxx +++ b/shell/source/backends/kde4be/kde4access.cxx @@ -42,7 +42,6 @@ namespace kde4access { namespace { -namespace css = com::sun::star ; namespace uno = css::uno ; } diff --git a/shell/source/backends/kde4be/kde4backend.cxx b/shell/source/backends/kde4be/kde4backend.cxx index c453864cca1c..6e8bbd9a9cd6 100644 --- a/shell/source/backends/kde4be/kde4backend.cxx +++ b/shell/source/backends/kde4be/kde4backend.cxx @@ -55,8 +55,6 @@ namespace { -namespace css = com::sun::star; - rtl::OUString SAL_CALL getServiceImplementationName() { return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( diff --git a/shell/source/backends/kdebe/kdeaccess.cxx b/shell/source/backends/kdebe/kdeaccess.cxx index ccc98a7c5a21..5785579c06c2 100644 --- a/shell/source/backends/kdebe/kdeaccess.cxx +++ b/shell/source/backends/kdebe/kdeaccess.cxx @@ -38,7 +38,6 @@ namespace kdeaccess { namespace { -namespace css = com::sun::star ; namespace uno = css::uno ; } diff --git a/shell/source/backends/kdebe/kdebackend.cxx b/shell/source/backends/kdebe/kdebackend.cxx index 9efe8dbbf16f..20dd08b7bdea 100644 --- a/shell/source/backends/kdebe/kdebackend.cxx +++ b/shell/source/backends/kdebe/kdebackend.cxx @@ -55,8 +55,6 @@ namespace { -namespace css = com::sun::star; - rtl::OUString SAL_CALL getServiceImplementationName() { return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( diff --git a/shell/source/backends/localebe/localebackend.hxx b/shell/source/backends/localebe/localebackend.hxx index 00eb9bf41aee..e84be5e2285e 100644 --- a/shell/source/backends/localebe/localebackend.hxx +++ b/shell/source/backends/localebe/localebackend.hxx @@ -26,7 +26,6 @@ #include <rtl/string.hxx> -namespace css = com::sun::star ; namespace uno = css::uno ; namespace lang = css::lang ; diff --git a/shell/source/backends/macbe/macbackend.hxx b/shell/source/backends/macbe/macbackend.hxx index 7005426ca7b7..bc623709449f 100644 --- a/shell/source/backends/macbe/macbackend.hxx +++ b/shell/source/backends/macbe/macbackend.hxx @@ -28,7 +28,6 @@ // FIXME: stdio.h only for debugging... #include <stdio.h> -namespace css = com::sun::star; namespace uno = css::uno; namespace lang = css::lang; diff --git a/shell/source/backends/wininetbe/wininetbackend.hxx b/shell/source/backends/wininetbe/wininetbackend.hxx index e7120fa5ed16..dd6edf165afb 100644 --- a/shell/source/backends/wininetbe/wininetbackend.hxx +++ b/shell/source/backends/wininetbe/wininetbackend.hxx @@ -26,7 +26,6 @@ #include <cppuhelper/implbase2.hxx> #include <rtl/string.hxx> -namespace css = com::sun::star ; namespace uno = css::uno ; namespace lang = css::lang ; diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index a3efe312dc92..4c69d771bef2 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -64,8 +64,6 @@ using namespace cppu; namespace // private { - namespace css = com::sun::star; - Sequence< OUString > SAL_CALL ShellExec_getSupportedServiceNames() { Sequence< OUString > aRet(1); diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx index efc720fcb65a..30ff62deb07b 100644 --- a/shell/source/win32/SysShExec.cxx +++ b/shell/source/win32/SysShExec.cxx @@ -63,8 +63,6 @@ using namespace cppu; namespace // private { - namespace css = com::sun::star; - Sequence< OUString > SAL_CALL SysShExec_getSupportedServiceNames() { Sequence< OUString > aRet(1); diff --git a/shell/source/win32/simplemail/smplmailclient.hxx b/shell/source/win32/simplemail/smplmailclient.hxx index 94ee2e07362d..58214bcf5878 100644 --- a/shell/source/win32/simplemail/smplmailclient.hxx +++ b/shell/source/win32/simplemail/smplmailclient.hxx @@ -25,8 +25,6 @@ #include <com/sun/star/system/XSimpleMailClient.hpp> -namespace css = ::com::sun::star; - class CSmplMailClient : public cppu::WeakImplHelper1<css::system::XSimpleMailClient> { public: |