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 /svx/source | |
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 'svx/source')
-rw-r--r-- | svx/source/accessibility/lookupcolorname.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/datanavi.cxx | 2 | ||||
-rw-r--r-- | svx/source/inc/docrecovery.hxx | 2 | ||||
-rw-r--r-- | svx/source/inc/recoveryui.hxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/recoveryui.cxx | 1 | ||||
-rw-r--r-- | svx/source/unodraw/unoshtxt.cxx | 3 |
7 files changed, 0 insertions, 14 deletions
diff --git a/svx/source/accessibility/lookupcolorname.cxx b/svx/source/accessibility/lookupcolorname.cxx index dd0956940cee..a108d84549ff 100644 --- a/svx/source/accessibility/lookupcolorname.cxx +++ b/svx/source/accessibility/lookupcolorname.cxx @@ -35,8 +35,6 @@ namespace { -namespace css = com::sun::star; - class ColorNameMap: private boost::noncopyable { public: ColorNameMap(); diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 6ce25d7fb68f..3f9d4de11c3f 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -60,8 +60,6 @@ namespace svx{ namespace DocRecovery{ -namespace css = ::com::sun::star; - using namespace ::rtl; using namespace ::osl; diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 2ec92b89ace4..3d6b18bfd280 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -66,8 +66,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::dom::events; using namespace ::svx; -namespace css = ::com::sun::star; - #define CFGNAME_DATANAVIGATOR DEFINE_CONST_UNICODE("DataNavigator") #define CFGNAME_SHOWDETAILS DEFINE_CONST_UNICODE("ShowDetails") #define MSG_VARIABLE DEFINE_CONST_UNICODE("%1") diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 6802827ac3bc..f3e47e0cbc89 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -80,8 +80,6 @@ #define DLG_RET_OK_AUTOLUNCH 101 -namespace css = ::com::sun::star; - namespace svx{ namespace DocRecovery{ diff --git a/svx/source/inc/recoveryui.hxx b/svx/source/inc/recoveryui.hxx index 4ec8ddc94873..c94271774b37 100644 --- a/svx/source/inc/recoveryui.hxx +++ b/svx/source/inc/recoveryui.hxx @@ -32,8 +32,6 @@ namespace svx { -// Dont export this header ... Otherwise you have to remove this namespace alias! -namespace css = ::com::sun::star; namespace svxdr = ::svx::DocRecovery; diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx index e987e7a870cf..c3e7c45be034 100644 --- a/svx/source/unodraw/recoveryui.cxx +++ b/svx/source/unodraw/recoveryui.cxx @@ -39,7 +39,6 @@ namespace svx { -namespace css = ::com::sun::star; namespace svxdr = ::svx::DocRecovery; using namespace ::rtl; diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index 1101bcd80ffc..49fe00c4011f 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -51,9 +51,6 @@ using namespace ::rtl; using ::com::sun::star::uno::XInterface; -namespace css = ::com::sun::star; - - //------------------------------------------------------------------------ // SvxTextEditSourceImpl //------------------------------------------------------------------------ |