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 /fpicker | |
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 'fpicker')
8 files changed, 0 insertions, 16 deletions
diff --git a/fpicker/source/generic/fpicker.cxx b/fpicker/source/generic/fpicker.cxx index cf1ec475005b..43f584589f06 100644 --- a/fpicker/source/generic/fpicker.cxx +++ b/fpicker/source/generic/fpicker.cxx @@ -35,8 +35,6 @@ #include <odma_lib.hxx> #endif -namespace css = com::sun::star; - using css::uno::Reference; using css::uno::Sequence; using rtl::OUString; diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx index da1cc07ae105..40c2fa37d548 100644 --- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx @@ -56,8 +56,6 @@ // namespace directives //------------------------------------------------------------------------ -namespace css = ::com::sun::star; - namespace fpicker{ namespace win32{ namespace vista{ diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.hxx b/fpicker/source/win32/filepicker/VistaFilePicker.hxx index 86a2784d3f47..0fdd42de3529 100644 --- a/fpicker/source/win32/filepicker/VistaFilePicker.hxx +++ b/fpicker/source/win32/filepicker/VistaFilePicker.hxx @@ -40,8 +40,6 @@ #include <cppuhelper/basemutex.hxx> #include <rtl/ustring.hxx> -namespace css = ::com::sun::star; - namespace fpicker{ namespace win32{ namespace vista{ diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx index 988b7fd1f942..cef6ad360f35 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx @@ -41,8 +41,6 @@ // namespace directives //------------------------------------------------------------------------ -namespace css = ::com::sun::star; - namespace fpicker{ namespace win32{ namespace vista{ diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx index dd22a75044fa..4da4bee44747 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx @@ -40,8 +40,6 @@ #include <cppuhelper/interfacecontainer.h> #include <osl/interlck.h> -namespace css = ::com::sun::star; - namespace fpicker{ namespace win32{ namespace vista{ diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx index d3d1689ae217..655568508b76 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx @@ -55,8 +55,6 @@ namespace fpicker{ namespace win32{ namespace vista{ -namespace css = ::com::sun::star; - //----------------------------------------------------------------------------- // types, const etcpp. //----------------------------------------------------------------------------- diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx index 15ed136b5d8c..03e5a927b651 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx @@ -54,8 +54,6 @@ #include <osl/conditn.hxx> #include <rtl/ustring.hxx> -namespace css = ::com::sun::star; - namespace fpicker{ namespace win32{ namespace vista{ diff --git a/fpicker/source/win32/filepicker/asyncrequests.hxx b/fpicker/source/win32/filepicker/asyncrequests.hxx index 6e3fc5233220..265259dbece1 100644 --- a/fpicker/source/win32/filepicker/asyncrequests.hxx +++ b/fpicker/source/win32/filepicker/asyncrequests.hxx @@ -28,8 +28,6 @@ #include <queue> #include <boost/shared_ptr.hpp> -namespace css = ::com::sun::star; - namespace fpicker{ namespace win32{ namespace vista{ |