[Libreoffice-commits] core.git: Branch 'feature/drawinglayercore' - drawinglayer/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 5 20:59:46 UTC 2020
Rebased ref, commits from common ancestor:
commit c504c4bcb02e20ba8378ac38fd0bb17e5a730a57
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Tue May 5 22:58:01 2020 +0200
Commit: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
CommitDate: Tue May 5 22:59:13 2020 +0200
simplify namespaces vclmetafileprocessor2d.hxx
Change-Id: I3fd36b3d58aa35d68b3582baf87bf020ec894a63
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx
index 028af772015b..bf2cc266a685 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx
@@ -24,14 +24,7 @@
#include "vclprocessor2d.hxx"
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <basegfx/polygon/b2dpolypolygon.hxx>
-
-
-// vcl::PDFExtOutDevData support
-
-#include <vcl/pdfextoutdevdata.hxx>
-
-
-// predefines
+#include <vcl/pdfextoutdevdata.hxx> // vcl::PDFExtOutDevData support
class GDIMetaFile;
namespace tools { class Rectangle; }
@@ -39,14 +32,14 @@ class Gradient;
class SvtGraphicFill;
class SvtGraphicStroke;
-namespace drawinglayer { namespace attribute {
+namespace drawinglayer::attribute {
class FillGradientAttribute;
class LineAttribute;
class StrokeAttribute;
class LineStartEndAttribute;
-}}
+}
-namespace drawinglayer { namespace primitive2d {
+namespace drawinglayer::primitive2d {
class GraphicPrimitive2D;
class ControlPrimitive2D;
class TextHierarchyFieldPrimitive2D;
@@ -66,17 +59,14 @@ namespace drawinglayer { namespace primitive2d {
class UnifiedTransparencePrimitive2D;
class TransparencePrimitive2D;
class StructureTagPrimitive2D;
-}}
+}
namespace basegfx {
class BColor;
}
-
-namespace drawinglayer
+namespace drawinglayer::processor2d
{
- namespace processor2d
- {
/** VclMetafileProcessor2D class
This processor derived from VclProcessor2D is the base class for rendering
@@ -194,7 +184,6 @@ namespace drawinglayer
OutputDevice& rOutDev);
virtual ~VclMetafileProcessor2D() override;
};
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+} // end of namespace processor2d::drawinglayer
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list