Kaydet (Commit) e01b9e77 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use C++17 nested namespace definitions (in binaryurp)

Change-Id: I21594a9fec47ac4a0dd1b821a6b47ea468445c42
Reviewed-on: https://gerrit.libreoffice.org/66295
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 1977291f
......@@ -24,9 +24,7 @@
#include <uno/any2.h>
namespace com { namespace sun { namespace star { namespace uno {
class TypeDescription;
} } } }
namespace com::sun::star::uno { class TypeDescription; }
namespace binaryurp {
......
......@@ -50,7 +50,7 @@ namespace binaryurp {
class Proxy;
class Reader;
}
namespace com { namespace sun { namespace star {
namespace com::sun::star {
namespace bridge { class XInstanceProvider; }
namespace connection { class XConnection; }
namespace lang { class XEventListener; }
......@@ -60,7 +60,7 @@ namespace com { namespace sun { namespace star {
class UnoInterfaceReference;
class XInterface;
}
} } }
}
namespace rtl { class ByteSequence; }
namespace binaryurp {
......
......@@ -35,13 +35,13 @@
#include <cppuhelper/compbase.hxx>
#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace com::sun::star {
namespace connection { class XConnection; }
namespace uno {
class XComponentContext;
class XInterface;
}
} } }
}
namespace binaryurp {
......
......@@ -30,9 +30,7 @@
#include "currentcontext.hxx"
namespace binaryurp {
namespace current_context {
namespace binaryurp::current_context {
css::uno::UnoInterfaceReference get() {
css::uno::UnoInterfaceReference cc;
......@@ -57,6 +55,4 @@ void set(css::uno::UnoInterfaceReference const & value) {
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -22,13 +22,9 @@
#include <sal/config.h>
namespace com { namespace sun { namespace star { namespace uno {
class UnoInterfaceReference;
} } } }
namespace com::sun::star::uno { class UnoInterfaceReference; }
namespace binaryurp {
namespace current_context {
namespace binaryurp::current_context {
com::sun::star::uno::UnoInterfaceReference get();
......@@ -36,8 +32,6 @@ void set(com::sun::star::uno::UnoInterfaceReference const & value);
}
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -30,7 +30,7 @@
#include "lessoperators.hxx"
namespace com { namespace sun { namespace star { namespace uno {
namespace com::sun::star::uno {
bool operator <(TypeDescription const & left, TypeDescription const & right) {
assert(left.is() && right.is());
......@@ -42,7 +42,7 @@ bool operator <(TypeDescription const & left, TypeDescription const & right) {
OUString::unacquired(&right.get()->pTypeName)));
}
} } } }
}
namespace rtl {
......
......@@ -22,16 +22,14 @@
#include <sal/config.h>
namespace com { namespace sun { namespace star { namespace uno {
class TypeDescription;
} } } }
namespace com::sun::star::uno { class TypeDescription; }
namespace rtl { class ByteSequence; }
namespace com { namespace sun { namespace star { namespace uno {
namespace com::sun::star::uno {
bool operator <(TypeDescription const & left, TypeDescription const & right);
} } } }
}
namespace rtl {
......
......@@ -33,9 +33,7 @@
#include <uno/dispatcher.h>
namespace binaryurp { class Bridge; }
namespace com { namespace sun { namespace star { namespace uno {
class UnoInterfaceReference;
} } } }
namespace com::sun::star::uno { class UnoInterfaceReference; }
namespace binaryurp {
......
......@@ -34,9 +34,7 @@ namespace binaryurp {
class Bridge;
struct ReaderState;
}
namespace com { namespace sun { namespace star { namespace uno {
class TypeDescription;
} } } }
namespace com::sun::star::uno { class TypeDescription; }
namespace binaryurp {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment