diff options
Diffstat (limited to 'svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx')
-rw-r--r-- | svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx index fe8e701d3d12..1b4d0d9b650b 100644 --- a/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx @@ -84,7 +84,7 @@ namespace namespace drawinglayer::primitive2d - { +{ // support for XTEXT_PAINTSHAPE_BEGIN/XTEXT_PAINTSHAPE_END Metafile comments // for slideshow. This uses TextHierarchyBlockPrimitive2D to mark a text block. // ATM there is only one text block per SdrObject, this may get more in the future @@ -236,11 +236,10 @@ namespace drawinglayer::primitive2d // call parent BufferedDecompositionPrimitive2D::get2DDecomposition(rVisitor, rViewInformation); } - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { + + void SdrContourTextPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const { Primitive2DContainer aRetval; @@ -285,11 +284,8 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrContourTextPrimitive2D, PRIMITIVE2D_ID_SDRCONTOURTEXTPRIMITIVE2D) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { void SdrPathTextPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const { Primitive2DContainer aRetval; @@ -337,11 +333,8 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrPathTextPrimitive2D, PRIMITIVE2D_ID_SDRPATHTEXTPRIMITIVE2D) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { void SdrBlockTextPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const { Primitive2DContainer aRetval; @@ -410,11 +403,8 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrBlockTextPrimitive2D, PRIMITIVE2D_ID_SDRBLOCKTEXTPRIMITIVE2D) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { void SdrAutoFitTextPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const { Primitive2DContainer aRetval; @@ -455,10 +445,8 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrAutoFitTextPrimitive2D, PRIMITIVE2D_ID_SDRAUTOFITTEXTPRIMITIVE2D) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { + SdrChainedTextPrimitive2D::SdrChainedTextPrimitive2D( const SdrText* pSdrText, @@ -495,11 +483,8 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrChainedTextPrimitive2D, PRIMITIVE2D_ID_SDRCHAINEDTEXTPRIMITIVE2D) - } // end of namespace drawinglayer - namespace drawinglayer::primitive2d - { void SdrStretchTextPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const { Primitive2DContainer aRetval; @@ -544,6 +529,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrStretchTextPrimitive2D, PRIMITIVE2D_ID_SDRSTRETCHTEXTPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |