diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:21:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-27 07:10:49 -0600 |
commit | d0d1534b6baa7fedfd771ceb2958305eb1986c48 (patch) | |
tree | da1b8f3931c28c12a90ab85093c809234270e7fd /drawinglayer/source/processor2d | |
parent | 95ab91d0fb172f8c7692cb043dfd6b079f319601 (diff) |
Remove visual noise from drawinglayer
Change-Id: Ida745b9d994d09081ad3d18cdf2494a97438dc56
Reviewed-on: https://gerrit.libreoffice.org/8253
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'drawinglayer/source/processor2d')
17 files changed, 46 insertions, 46 deletions
diff --git a/drawinglayer/source/processor2d/baseprocessor2d.cxx b/drawinglayer/source/processor2d/baseprocessor2d.cxx index f8747db08794..d5d4ea492bcc 100644 --- a/drawinglayer/source/processor2d/baseprocessor2d.cxx +++ b/drawinglayer/source/processor2d/baseprocessor2d.cxx @@ -19,11 +19,11 @@ #include <drawinglayer/processor2d/baseprocessor2d.hxx> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/contourextractor2d.cxx b/drawinglayer/source/processor2d/contourextractor2d.cxx index e97e7e107e39..249c2915d82f 100644 --- a/drawinglayer/source/processor2d/contourextractor2d.cxx +++ b/drawinglayer/source/processor2d/contourextractor2d.cxx @@ -29,11 +29,11 @@ #include <drawinglayer/primitive2d/transformprimitive2d.hxx> #include <drawinglayer/primitive2d/sceneprimitive2d.hxx> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx b/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx index d28d71eb6fd4..8d1e69f34edf 100644 --- a/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx +++ b/drawinglayer/source/processor2d/helperwrongspellrenderer.cxx @@ -23,11 +23,11 @@ #include <vcl/outdev.hxx> #include <basegfx/color/bcolormodifier.hxx> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx b/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx index b358a7f04b6d..eaaaf92bf885 100644 --- a/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx +++ b/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx @@ -22,7 +22,7 @@ #include <sal/types.h> -////////////////////////////////////////////////////////////////////////////// + // predefines class OutputDevice; @@ -36,7 +36,7 @@ namespace basegfx { class BColorModifierStack; } -////////////////////////////////////////////////////////////////////////////// + // support WrongSpell rendreing using VCL from primitives due to VCLs nice // and fast solution with wavelines @@ -50,7 +50,7 @@ namespace drawinglayer } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// + #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_HELPERWRONGSPELLRENDER_HXX diff --git a/drawinglayer/source/processor2d/hittestprocessor2d.cxx b/drawinglayer/source/processor2d/hittestprocessor2d.cxx index 2e09ba1bb1df..bda0990fcd8f 100644 --- a/drawinglayer/source/processor2d/hittestprocessor2d.cxx +++ b/drawinglayer/source/processor2d/hittestprocessor2d.cxx @@ -33,7 +33,7 @@ #include <drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx> #include <drawinglayer/primitive2d/bitmapprimitive2d.hxx> -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/linegeometryextractor2d.cxx b/drawinglayer/source/processor2d/linegeometryextractor2d.cxx index e7e9949c8f58..7ef3a0473f21 100644 --- a/drawinglayer/source/processor2d/linegeometryextractor2d.cxx +++ b/drawinglayer/source/processor2d/linegeometryextractor2d.cxx @@ -23,11 +23,11 @@ #include <drawinglayer/primitive2d/polypolygonprimitive2d.hxx> #include <drawinglayer/primitive2d/transformprimitive2d.hxx> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/objectinfoextractor2d.cxx b/drawinglayer/source/processor2d/objectinfoextractor2d.cxx index 94ff4a55969a..6d81d87c90a9 100644 --- a/drawinglayer/source/processor2d/objectinfoextractor2d.cxx +++ b/drawinglayer/source/processor2d/objectinfoextractor2d.cxx @@ -21,11 +21,11 @@ #include <drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx> #include <drawinglayer/primitive2d/objectinfoprimitive2d.hxx> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { @@ -64,7 +64,7 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// + // eof /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/drawinglayer/source/processor2d/processor2dtools.cxx b/drawinglayer/source/processor2d/processor2dtools.cxx index 9b68f88fa52e..4c96d9e6fa14 100644 --- a/drawinglayer/source/processor2d/processor2dtools.cxx +++ b/drawinglayer/source/processor2d/processor2dtools.cxx @@ -20,11 +20,11 @@ #include "vclpixelprocessor2d.hxx" #include "vclmetafileprocessor2d.hxx" -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { @@ -61,6 +61,6 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/drawinglayer/source/processor2d/processorfromoutputdevice.cxx b/drawinglayer/source/processor2d/processorfromoutputdevice.cxx index dd2269cca28f..1fb20646f403 100644 --- a/drawinglayer/source/processor2d/processorfromoutputdevice.cxx +++ b/drawinglayer/source/processor2d/processorfromoutputdevice.cxx @@ -28,11 +28,11 @@ #include "vclpixelprocessor2d.hxx" #include <vcl/window.hxx> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx b/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx index cc3329ef29da..a698902cbf16 100644 --- a/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx +++ b/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx @@ -24,7 +24,7 @@ #include <drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx> #include <drawinglayer/primitive2d/transformprimitive2d.hxx> -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx index ffb84cf5f3d3..8d01cc21e56d 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx @@ -27,7 +27,7 @@ #include <vcl/lazydelete.hxx> #include <vcl/dibtools.hxx> -////////////////////////////////////////////////////////////////////////////// + // buffered VDev usage namespace @@ -198,7 +198,7 @@ namespace } } -////////////////////////////////////////////////////////////////////////////// + // support for rendering Bitmap and BitmapEx contents namespace drawinglayer diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx index ceef5962c1c5..ce4c629317eb 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx @@ -22,12 +22,12 @@ #include <vcl/virdev.hxx> -////////////////////////////////////////////////////////////////////////////// + // predefines namespace basegfx { class B2DRange; } -////////////////////////////////////////////////////////////////////////////// + // support methods for vcl direct gradient renderering namespace drawinglayer @@ -55,7 +55,7 @@ namespace drawinglayer }; } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// + #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_VCLHELPERBUFFERDEVICE_HXX diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 5e14161821cb..c1d83b90c679 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -57,35 +57,35 @@ #include <basegfx/polygon/b2dlinegeometry.hxx> #include <vcl/dibtools.hxx> -////////////////////////////////////////////////////////////////////////////// + // for PDFExtOutDevData Graphic support #include <vcl/graph.hxx> #include <vcl/svapp.hxx> #include <toolkit/helper/formpdfexport.hxx> -////////////////////////////////////////////////////////////////////////////// + // for Control printing #include <com/sun/star/beans/XPropertySet.hpp> -////////////////////////////////////////////////////////////////////////////// + // for StructureTagPrimitive support in sd's unomodel.cxx #include <drawinglayer/primitive2d/structuretagprimitive2d.hxx> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; -////////////////////////////////////////////////////////////////////////////// + // #112245# definition for maximum allowed point count due to Metafile target. // To be on the safe side with the old tools polygon, use slightly less then // the theoretical maximum (bad experiences with tools polygon) #define MAX_POLYGON_POINT_COUNT_METAFILE (0x0000fff0) -////////////////////////////////////////////////////////////////////////////// + namespace { @@ -243,7 +243,7 @@ namespace } // end of anonymous namespace -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx index 6ddafe386fc7..fd2175f1857d 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx @@ -26,12 +26,12 @@ #include <com/sun/star/i18n/XBreakIterator.hpp> #include <basegfx/polygon/b2dpolypolygon.hxx> -////////////////////////////////////////////////////////////////////////////// + // vcl::PDFExtOutDevData support #include <vcl/pdfextoutdevdata.hxx> -////////////////////////////////////////////////////////////////////////////// + // predefines class GDIMetaFile; @@ -51,7 +51,7 @@ namespace basegfx { class BColor; } -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { @@ -144,7 +144,7 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// + #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_VCLMETAFILEPROCESSOR2D_HXX diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx index 5e055fa266b7..4605aee96eca 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx @@ -56,7 +56,7 @@ #include <com/sun/star/table/BorderLineStyle.hpp> -////////////////////////////////////////////////////////////////////////////// + using namespace com::sun::star; diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx index c9c2d7422dc6..3b2d8e73c120 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx @@ -27,7 +27,7 @@ #include <boost/scoped_ptr.hpp> -////////////////////////////////////////////////////////////////////////////// + // predefines namespace drawinglayer { namespace primitive2d { @@ -37,7 +37,7 @@ namespace drawinglayer { namespace primitive2d { class BorderLinePrimitive2D; }} -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { @@ -77,7 +77,7 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// + #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_VCLPIXELPROCESSOR2D_HXX diff --git a/drawinglayer/source/processor2d/vclprocessor2d.hxx b/drawinglayer/source/processor2d/vclprocessor2d.hxx index c97222f16773..38d96c83cc01 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.hxx @@ -27,7 +27,7 @@ #include <basegfx/color/bcolormodifier.hxx> #include <svtools/optionsdrawinglayer.hxx> -////////////////////////////////////////////////////////////////////////////// + // predefines class OutputDevice; @@ -54,7 +54,7 @@ namespace drawinglayer { namespace primitive2d { class SvgRadialAtomPrimitive2D; }} -////////////////////////////////////////////////////////////////////////////// + namespace drawinglayer { @@ -86,7 +86,7 @@ namespace drawinglayer // PolygonStrokePrimitive2D's decompositions (normally only one) sal_uInt32 mnPolygonStrokePrimitive2D; - ////////////////////////////////////////////////////////////////////////////// + // common VCL rendering support void RenderTextSimpleOrDecoratedPortionPrimitive2D(const primitive2d::TextSimplePortionPrimitive2D& rTextCandidate); @@ -108,7 +108,7 @@ namespace drawinglayer void RenderSvgRadialAtomPrimitive2D(const primitive2d::SvgRadialAtomPrimitive2D& rCandidate); void RenderMetafilePrimitive2D(const primitive2d::MetafilePrimitive2D& rPolygonCandidate); - ///////////////////////////////////////////////////////////////////////////// + // DrawMode adaption support void adaptLineToFillDrawMode() const; void adaptTextToFillDrawMode() const; @@ -126,7 +126,7 @@ namespace drawinglayer } // end of namespace processor2d } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// + #endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_VCLPROCESSOR2D_HXX |