From d1ca0f4ed0e30394ce6759a20d4896651dd43051 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 30 Apr 2015 05:32:26 +0300 Subject: Bin some pointless comments and reduce some vertical whitespace Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9 --- .../drawinglayer/primitive2d/textdecoratedprimitive2d.hxx | 7 ------- include/drawinglayer/processor2d/canvasprocessor.hxx | 7 ------- include/drawinglayer/processor2d/hittestprocessor2d.hxx | 7 ------- .../drawinglayer/processor2d/processorfromoutputdevice.hxx | 7 ------- include/drawinglayer/texture/texture3d.hxx | 13 ------------- 5 files changed, 41 deletions(-) (limited to 'include/drawinglayer') diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx index d33ee9e56828..d996fb9b77e4 100644 --- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx @@ -25,9 +25,6 @@ #include #include - -// predeclarations - namespace basegfx { namespace tools { class B2DHomMatrixBufferedOnDemandDecompose; }} @@ -36,8 +33,6 @@ namespace com { namespace sun { namespace star { namespace i18n { struct Boundary; }}}} - - namespace drawinglayer { namespace primitive2d @@ -140,8 +135,6 @@ namespace drawinglayer } // end of namespace primitive2d } // end of namespace drawinglayer - - #endif //INCLUDED_DRAWINGLAYER_PRIMITIVE2D_TEXTDECORATEDPRIMITIVE2D_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/drawinglayer/processor2d/canvasprocessor.hxx b/include/drawinglayer/processor2d/canvasprocessor.hxx index fb10ad339e0b..5385582330f5 100644 --- a/include/drawinglayer/processor2d/canvasprocessor.hxx +++ b/include/drawinglayer/processor2d/canvasprocessor.hxx @@ -32,9 +32,6 @@ #include #include - -// forward declaration - namespace basegfx { class BColor; class B2DPolygon; @@ -56,8 +53,6 @@ namespace drawinglayer { namespace primitive2d { class UnifiedTransparencePrimitive2D; }} - - namespace drawinglayer { namespace processor2d @@ -115,8 +110,6 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer - - #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_CANVASPROCESSOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx index e06f006bf479..2b6419d74b2f 100644 --- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx +++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx @@ -24,15 +24,10 @@ #include - -// predeclarations - namespace basegfx { class B2DPolygon; } namespace basegfx { class B2DPolyPolygon; } namespace drawinglayer { namespace primitive2d { class ScenePrimitive2D; }} - - namespace drawinglayer { namespace processor2d @@ -105,8 +100,6 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer - - #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_HITTESTPROCESSOR2D_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx index b3302a6c1d53..6f759faf4916 100644 --- a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx +++ b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx @@ -23,17 +23,12 @@ #include #include - -// predeclarations - class OutputDevice; namespace drawinglayer { namespace processor2d { class BaseProcessor2D; }} - - namespace drawinglayer { namespace processor2d @@ -48,8 +43,6 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer - - #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_PROCESSORFROMOUTPUTDEVICE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/drawinglayer/texture/texture3d.hxx b/include/drawinglayer/texture/texture3d.hxx index 2068218d5354..9a033c7422f4 100644 --- a/include/drawinglayer/texture/texture3d.hxx +++ b/include/drawinglayer/texture/texture3d.hxx @@ -25,15 +25,10 @@ #include #include - -// predeclarations - namespace drawinglayer { namespace primitive3d { class HatchTexturePrimitive3D; }} - - namespace drawinglayer { namespace texture @@ -57,8 +52,6 @@ namespace drawinglayer } // end of namespace texture } // end of namespace drawinglayer - - namespace drawinglayer { namespace texture @@ -95,8 +88,6 @@ namespace drawinglayer } // end of namespace texture } // end of namespace drawinglayer - - namespace drawinglayer { namespace texture @@ -127,8 +118,6 @@ namespace drawinglayer } // end of namespace texture } // end of namespace drawinglayer - - namespace drawinglayer { namespace texture @@ -160,8 +149,6 @@ namespace drawinglayer } // end of namespace texture } // end of namespace drawinglayer - - #endif // INCLUDED_DRAWINGLAYER_TEXTURE_TEXTURE3D_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit