summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-10 15:19:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-20 10:12:57 +0200
commitda7489eb6aa9dfedb43f9be6e1b90e3ae06a75cc (patch)
treea83a32677046ede93c124af8edc8801bcb6e896f /forms
parentabea0d6647c7f1f7e76c73c26cb80e6a67dc5111 (diff)
compact namespace decl
used git grep -lw namespace | xargs perl -i -p0e 's/(\w+)\s*.\{.\s*namespace\s*(\w+)/\1::\2/smg;' to do the initial replace, then compiled and fixed. Change-Id: If69904d75940c851aeffab0e78c4ba02cc968d44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98526 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/pathexpression.hxx9
-rw-r--r--forms/source/xforms/xformsevent.hxx7
2 files changed, 5 insertions, 11 deletions
diff --git a/forms/source/xforms/pathexpression.hxx b/forms/source/xforms/pathexpression.hxx
index 7f01c673ce72..23a35a033d27 100644
--- a/forms/source/xforms/pathexpression.hxx
+++ b/forms/source/xforms/pathexpression.hxx
@@ -25,13 +25,10 @@
#include <vector>
// forward declaractions
-namespace com::sun::star
+namespace com::sun::star::xml::dom
{
- namespace xml::dom
- {
- class XNodeList;
- namespace events { class XEventListener; }
- }
+ class XNodeList;
+ namespace events { class XEventListener; }
}
diff --git a/forms/source/xforms/xformsevent.hxx b/forms/source/xforms/xformsevent.hxx
index df4f5bcd20da..bfe7b2593026 100644
--- a/forms/source/xforms/xformsevent.hxx
+++ b/forms/source/xforms/xformsevent.hxx
@@ -25,10 +25,7 @@
#include <com/sun/star/xforms/XFormsEvent.hpp>
#include <com/sun/star/xml/dom/events/XEventTarget.hpp>
-namespace com {
-namespace sun {
-namespace star {
-namespace xforms {
+namespace com::sun::star::xforms {
class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > {
@@ -67,7 +64,7 @@ class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > {
bool m_cancelable;
};
-} } } }
+}
#endif