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 /comphelper/source/misc | |
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 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/configuration.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/configurationhelper.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/misc/mediadescriptor.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/misc/numberedcollection.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/misc/sequenceashashmap.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/misc/stillreadwriteinteraction.cxx | 2 |
6 files changed, 0 insertions, 16 deletions
diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx index dd5e6ca14fc1..e4bb82d0edb0 100644 --- a/comphelper/source/misc/configuration.cxx +++ b/comphelper/source/misc/configuration.cxx @@ -52,8 +52,6 @@ namespace { -namespace css = com::sun::star; - struct TheConfigurationWrapper: public rtl::StaticWithArg< comphelper::detail::ConfigurationWrapper, diff --git a/comphelper/source/misc/configurationhelper.cxx b/comphelper/source/misc/configurationhelper.cxx index 7c16385fd3cc..add324ba5712 100644 --- a/comphelper/source/misc/configurationhelper.cxx +++ b/comphelper/source/misc/configurationhelper.cxx @@ -28,9 +28,6 @@ namespace comphelper{ -namespace css = ::com::sun::star; - - //----------------------------------------------- css::uno::Reference< css::uno::XInterface > ConfigurationHelper::openConfig(const css::uno::Reference< css::uno::XComponentContext >& rxContext, const ::rtl::OUString& sPackage, diff --git a/comphelper/source/misc/mediadescriptor.cxx b/comphelper/source/misc/mediadescriptor.cxx index 84d3331da4ea..1957ab633a21 100644 --- a/comphelper/source/misc/mediadescriptor.cxx +++ b/comphelper/source/misc/mediadescriptor.cxx @@ -50,9 +50,6 @@ namespace comphelper{ -namespace css = ::com::sun::star; - - const ::rtl::OUString& MediaDescriptor::PROP_ABORTED() { static const ::rtl::OUString sProp(RTL_CONSTASCII_USTRINGPARAM("Aborted")); diff --git a/comphelper/source/misc/numberedcollection.cxx b/comphelper/source/misc/numberedcollection.cxx index 0bba81e73fd8..a23690ecfdd9 100644 --- a/comphelper/source/misc/numberedcollection.cxx +++ b/comphelper/source/misc/numberedcollection.cxx @@ -25,9 +25,6 @@ namespace comphelper{ -namespace css = ::com::sun::star; - - static const char ERRMSG_INVALID_COMPONENT_PARAM[] = "NULL as component reference not allowed."; //----------------------------------------------- diff --git a/comphelper/source/misc/sequenceashashmap.cxx b/comphelper/source/misc/sequenceashashmap.cxx index 3760b3cb1752..2867447222c4 100644 --- a/comphelper/source/misc/sequenceashashmap.cxx +++ b/comphelper/source/misc/sequenceashashmap.cxx @@ -22,9 +22,6 @@ namespace comphelper{ -namespace css = ::com::sun::star; - - SequenceAsHashMap::SequenceAsHashMap() : SequenceAsHashMapBase() { diff --git a/comphelper/source/misc/stillreadwriteinteraction.cxx b/comphelper/source/misc/stillreadwriteinteraction.cxx index b3dd6e863520..c1999e914650 100644 --- a/comphelper/source/misc/stillreadwriteinteraction.cxx +++ b/comphelper/source/misc/stillreadwriteinteraction.cxx @@ -27,8 +27,6 @@ namespace comphelper{ - namespace css = ::com::sun::star; - StillReadWriteInteraction::StillReadWriteInteraction(const css::uno::Reference< css::task::XInteractionHandler >& xHandler) : m_bUsed (sal_False) , m_bHandledByMySelf (sal_False) |