drawinglayer/source/processor2d/vclpixelprocessor2d.hxx | 19 ++++------------ 1 file changed, 5 insertions(+), 14 deletions(-)
New commits: commit c32844c53a33bc41beeaea4acf7e62d0a0001aa0 Author: Tomaž Vajngerl <[email protected]> AuthorDate: Sun Apr 12 13:05:17 2020 +0200 Commit: Tomaž Vajngerl <[email protected]> CommitDate: Tue Apr 14 23:23:01 2020 +0200 clean-up namespaces and pragma once for VclPixelProcessor2D Change-Id: I34fa0dc5cadbdfff8f70171715bc7cff462f7034 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92220 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <[email protected]> diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx index b1c7c47c2386..1ee765ab1e51 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx @@ -17,18 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_VCLPIXELPROCESSOR2D_HXX -#define INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_VCLPIXELPROCESSOR2D_HXX +#pragma once #include "vclprocessor2d.hxx" #include <vcl/outdev.hxx> #include <memory> - -// predefines - -namespace drawinglayer { namespace primitive2d { +namespace drawinglayer::primitive2d { class PolyPolygonColorPrimitive2D; class PolygonHairlinePrimitive2D; class PolygonStrokePrimitive2D; @@ -42,12 +38,10 @@ namespace drawinglayer { namespace primitive2d { class FillHatchPrimitive2D; class BackgroundColorPrimitive2D; class BorderLinePrimitive2D; -}} +} -namespace drawinglayer +namespace drawinglayer::processor2d { - namespace processor2d - { /** VclPixelProcessor2D class This processor derived from VclProcessor2D is the base class for rendering @@ -92,10 +86,7 @@ namespace drawinglayer OutputDevice& rOutDev); virtual ~VclPixelProcessor2D() override; }; - } // end of namespace processor2d -} // end of namespace drawinglayer - +} // end of namespace drawinglayer::processor2d -#endif // INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_VCLPIXELPROCESSOR2D_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
