summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-29 21:26:09 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-30 14:36:36 +0100
commit66a175834c39ccde9475eac3adb72a843110d01f (patch)
treeef925daaf84a85731525c2b14f0cd4a2ed84e2de /sw/source/ui
parent90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (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 'sw/source/ui')
-rw-r--r--sw/source/ui/docvw/SidebarTxtControl.cxx2
-rw-r--r--sw/source/ui/docvw/SidebarTxtControlAcc.cxx2
-rw-r--r--sw/source/ui/docvw/SidebarWin.cxx2
-rw-r--r--sw/source/ui/docvw/SidebarWinAcc.cxx2
-rw-r--r--sw/source/ui/docvw/srcedtw.cxx6
-rw-r--r--sw/source/ui/wrtsh/navmgr.cxx2
6 files changed, 0 insertions, 16 deletions
diff --git a/sw/source/ui/docvw/SidebarTxtControl.cxx b/sw/source/ui/docvw/SidebarTxtControl.cxx
index d55bf9a99bab..17ca3caa3df2 100644
--- a/sw/source/ui/docvw/SidebarTxtControl.cxx
+++ b/sw/source/ui/docvw/SidebarTxtControl.cxx
@@ -51,8 +51,6 @@
#include <shellres.hxx>
#include <SwRewriter.hxx>
-namespace css = ::com::sun::star;
-
namespace sw { namespace sidebarwindows {
SidebarTxtControl::SidebarTxtControl( SwSidebarWin& rSidebarWin,
diff --git a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx
index 4e78579ae4c8..52d3047a2243 100644
--- a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx
+++ b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx
@@ -31,8 +31,6 @@
#include <editeng/outliner.hxx>
-namespace css = ::com::sun::star;
-
namespace sw { namespace sidebarwindows {
// =============================================================================
diff --git a/sw/source/ui/docvw/SidebarWin.cxx b/sw/source/ui/docvw/SidebarWin.cxx
index 6dd5f53c1ea7..8ad2c153b502 100644
--- a/sw/source/ui/docvw/SidebarWin.cxx
+++ b/sw/source/ui/docvw/SidebarWin.cxx
@@ -70,8 +70,6 @@
#include <drawinglayer/primitive2d/polygonprimitive2d.hxx>
#include <drawinglayer/primitive2d/shadowprimitive2d.hxx>
-namespace css = ::com::sun::star;
-
namespace sw { namespace sidebarwindows {
#define METABUTTON_WIDTH 16
diff --git a/sw/source/ui/docvw/SidebarWinAcc.cxx b/sw/source/ui/docvw/SidebarWinAcc.cxx
index 7fbb17cf82df..a54286497c94 100644
--- a/sw/source/ui/docvw/SidebarWinAcc.cxx
+++ b/sw/source/ui/docvw/SidebarWinAcc.cxx
@@ -26,8 +26,6 @@
#include <com/sun/star/accessibility/AccessibleRole.hpp>
-namespace css = ::com::sun::star;
-
namespace sw { namespace sidebarwindows {
// =============================================================================
diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx
index 213dabfe98ef..1e4058657c97 100644
--- a/sw/source/ui/docvw/srcedtw.cxx
+++ b/sw/source/ui/docvw/srcedtw.cxx
@@ -46,12 +46,6 @@
#include <helpid.h>
#include <deque>
-namespace {
-
-namespace css = com::sun::star;
-
-}
-
struct SwTextPortion
{
sal_uInt16 nLine;
diff --git a/sw/source/ui/wrtsh/navmgr.cxx b/sw/source/ui/wrtsh/navmgr.cxx
index 862726119d71..fc07b7561d32 100644
--- a/sw/source/ui/wrtsh/navmgr.cxx
+++ b/sw/source/ui/wrtsh/navmgr.cxx
@@ -38,8 +38,6 @@
#include <com/sun/star/frame/XLayoutManager.hpp>
-namespace css = ::com::sun::star;
-
/**
* If SMART is defined, the navigation history has recency with temporal ordering enhancement,
* as described on http://zing.ncsl.nist.gov/hfweb/proceedings/greenberg/