From 66a175834c39ccde9475eac3adb72a843110d01f Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 29 Nov 2012 21:26:09 +0100 Subject: 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 --- svtools/source/edit/svmedit.cxx | 2 -- svtools/source/edit/textwindowpeer.cxx | 2 -- 2 files changed, 4 deletions(-) (limited to 'svtools/source/edit') diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx index eb4277687130..4c12b6c55c36 100644 --- a/svtools/source/edit/svmedit.cxx +++ b/svtools/source/edit/svmedit.cxx @@ -33,8 +33,6 @@ MultiLineEdit::MultiLineEdit( Window* pParent, const ResId& rResId ) { } -namespace css = ::com::sun::star; - // virtual ::css::uno::Reference< ::css::awt::XWindowPeer > MultiLineEdit::GetComponentInterface(sal_Bool bCreate) diff --git a/svtools/source/edit/textwindowpeer.cxx b/svtools/source/edit/textwindowpeer.cxx index 59eee86937c3..082897854eaa 100644 --- a/svtools/source/edit/textwindowpeer.cxx +++ b/svtools/source/edit/textwindowpeer.cxx @@ -22,8 +22,6 @@ #include #include "svtaccessiblefactory.hxx" -namespace css = ::com::sun::star; - namespace svt { TextWindowPeer::TextWindowPeer(::TextView & rView, bool bCompoundControlChild): -- cgit