diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-04-12 13:04:55 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-04-14 23:22:42 +0200 |
commit | 5163eccc8be832fdc5eee5fd8d66549550e5f53d (patch) | |
tree | fd8d6468ec73f96a6021c6bdeca9bc50ca196ee1 /drawinglayer/source | |
parent | 4a581f12e0d0fa105f053904300b729acb18194a (diff) |
clean-up namespaces and pragma once for VclProcessor2D
Change-Id: I9518a0bc6c30e0a544a52f1e996bfe8195e63cdf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92219
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/processor2d/vclprocessor2d.hxx | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.hxx b/drawinglayer/source/processor2d/vclprocessor2d.hxx index 46b9682d1383..73cf8d5b1a8d 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_VCLPROCESSOR2D_HXX -#define INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_VCLPROCESSOR2D_HXX +#pragma once #include <drawinglayer/processor2d/baseprocessor2d.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> @@ -26,11 +25,9 @@ #include <svtools/optionsdrawinglayer.hxx> #include <vcl/vclptr.hxx> - -// predefines class OutputDevice; -namespace drawinglayer { namespace primitive2d { +namespace drawinglayer::primitive2d { class TextSimplePortionPrimitive2D; class PolygonHairlinePrimitive2D; class BitmapPrimitive2D; @@ -52,13 +49,10 @@ namespace drawinglayer { namespace primitive2d { class ObjectInfoPrimitive2D; class SvgLinearAtomPrimitive2D; class SvgRadialAtomPrimitive2D; -}} - +} -namespace drawinglayer +namespace drawinglayer::processor2d { - namespace processor2d - { /** VclProcessor2D class This processor is the base class for VCL-Based processors. It has no @@ -125,10 +119,7 @@ namespace drawinglayer // access to currently used ObjectInfoPrimitive2D const primitive2d::ObjectInfoPrimitive2D* getObjectInfoPrimitive2D() const { return mpObjectInfoPrimitive2D; } }; - } // end of namespace processor2d -} // end of namespace drawinglayer - +} // end of namespace drawinglayer::processor2d -#endif // INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_VCLPROCESSOR2D_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |