summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-19 21:10:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-20 08:42:36 +0200
commitbc262b9a3dafdbaf8aa8e85b3c9110bafdc6cae9 (patch)
tree473f8d624444044da2123ca6bc0f338595803c7e /writerfilter/source/ooxml
parent39177e57834f4cb2fbceda72f4debe7a8d4ce4e7 (diff)
compact namespace: writerfilter
Change-Id: I1dd3aff6c08fb2bce031abd6e88603a4ec9077fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99012 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/ooxml')
-rw-r--r--writerfilter/source/ooxml/Handler.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLFactory.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLFastHelper.hxx6
-rw-r--r--writerfilter/source/ooxml/OOXMLParserState.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySet.hxx5
-rw-r--r--writerfilter/source/ooxml/OOXMLStreamImpl.hxx5
10 files changed, 20 insertions, 31 deletions
diff --git a/writerfilter/source/ooxml/Handler.hxx b/writerfilter/source/ooxml/Handler.hxx
index 47ae7d562a53..5e18db73a494 100644
--- a/writerfilter/source/ooxml/Handler.hxx
+++ b/writerfilter/source/ooxml/Handler.hxx
@@ -22,8 +22,7 @@
#include <dmapper/resourcemodel.hxx>
#include "OOXMLFastContextHandler.hxx"
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
class OOXMLFootnoteHandler : public Properties
{
@@ -157,7 +156,7 @@ public:
};
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_HANDLER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
index 979998fec317..a6daaa836f82 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
@@ -23,8 +23,7 @@
#include <ooxml/OOXMLDocument.hxx>
#include <vector>
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
class OOXMLBinaryObjectReference :
public writerfilter::Reference<BinaryObj>
@@ -41,7 +40,7 @@ public:
virtual void resolve(BinaryObj & rHandler) override;
};
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLBINARYOBJECTREFERENCE_HXX
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
index b68d524f0c5e..efaefd5f7d2a 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
@@ -28,8 +28,7 @@
#include <vector>
#include <stack>
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
class OOXMLDocumentImpl : public OOXMLDocument
@@ -136,7 +135,7 @@ public:
OUString const& GetDocumentBaseURL() const { return m_rBaseURL; };
const css::uno::Sequence<css::beans::PropertyValue>& getMediaDescriptor() const;
};
-}}
+}
#endif // OOXML_DOCUMENT_IMPL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLFactory.hxx b/writerfilter/source/ooxml/OOXMLFactory.hxx
index aa3c981c695d..bf92bd6e2a51 100644
--- a/writerfilter/source/ooxml/OOXMLFactory.hxx
+++ b/writerfilter/source/ooxml/OOXMLFactory.hxx
@@ -24,8 +24,7 @@
#include "OOXMLFastContextHandler.hxx"
-namespace writerfilter {
-namespace ooxml {
+namespace writerfilter::ooxml {
enum class ResourceType {
NoResource,
@@ -102,7 +101,7 @@ private:
};
}
-}
+
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFACTORY_HXX
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index ca6e6507ecba..0d797226d101 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -30,8 +30,7 @@
#include "OOXMLParserState.hxx"
#include "OOXMLPropertySet.hxx"
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
class OOXMLDocumentImpl;
@@ -599,7 +598,7 @@ protected:
virtual void process() override;
};
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTCONTEXTHANDLER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
index b7839178f475..a6c3c58f3569 100644
--- a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
@@ -27,8 +27,7 @@
#include <ooxml/OOXMLDocumentImpl.hxx>
#include <rtl/ref.hxx>
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
class OOXMLFastContextHandler;
@@ -87,7 +86,7 @@ private:
mutable rtl::Reference<OOXMLFastContextHandler> mxContextHandler;
rtl::Reference<OOXMLFastContextHandler> const & getContextHandler() const;
};
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTDOCUMENTHANDLER_HXX
diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
index fcf162f44949..b68baee63b96 100644
--- a/writerfilter/source/ooxml/OOXMLFastHelper.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
@@ -21,9 +21,7 @@
#include "OOXMLFastContextHandler.hxx"
-namespace writerfilter {
-
-namespace ooxml
+namespace writerfilter::ooxml
{
template <class T>
@@ -59,7 +57,7 @@ void OOXMLFastHelper<T>::newProperty(OOXMLFastContextHandler * pHandler,
pHandler->newProperty(nId, pVal);
}
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTHELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/ooxml/OOXMLParserState.hxx b/writerfilter/source/ooxml/OOXMLParserState.hxx
index 5e9811e2ac51..65009aba4a70 100644
--- a/writerfilter/source/ooxml/OOXMLParserState.hxx
+++ b/writerfilter/source/ooxml/OOXMLParserState.hxx
@@ -23,8 +23,7 @@
#include "OOXMLDocumentImpl.hxx"
#include "OOXMLPropertySet.hxx"
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
/**
@@ -117,7 +116,7 @@ public:
};
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPARSERSTATE_HXX
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
index f31d46fce232..892bef78ceaa 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
@@ -24,8 +24,7 @@
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <dmapper/resourcemodel.hxx>
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
class OOXMLValue : public Value
@@ -395,7 +394,7 @@ public:
};
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLPROPERTYSET_HXX
diff --git a/writerfilter/source/ooxml/OOXMLStreamImpl.hxx b/writerfilter/source/ooxml/OOXMLStreamImpl.hxx
index b7d5b4aaa7ed..383cec85c22a 100644
--- a/writerfilter/source/ooxml/OOXMLStreamImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLStreamImpl.hxx
@@ -27,8 +27,7 @@
extern OUString customTarget;
extern OUString embeddingsTarget;
-namespace writerfilter {
-namespace ooxml
+namespace writerfilter::ooxml
{
class OOXMLStreamImpl : public OOXMLStream
@@ -80,7 +79,7 @@ public:
// Giving access to mxDocumentStream. It is needed by resolving custom xml to get list of customxml's used in document.
const css::uno::Reference<css::io::XStream>& accessDocumentStream() { return mxDocumentStream;}
};
-}}
+}
#endif // INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLSTREAMIMPL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */