diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-23 15:16:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-31 09:34:46 +0100 |
commit | 84b396a235671ea77f1a9fa0d131cb56d7662737 (patch) | |
tree | 13d9de3d2b31424e785780864e084bd2d9315ff1 /svx/source | |
parent | c81d766dd4ff7d8b580b7fdc79db6e68c5f14204 (diff) |
new loplugin:namespaceindentation
check indentation of braces in namespace decls,
and the comments that often appear with them.
This is my penance for messing up the indentation with
clang-tidy-modernize-namespaces.
As such I have limited it to new-style namespaces for now,
and the check is off by default.
Change-Id: I4db7f10a81c79bc0eece8f8e3ee564da8bc7f168
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87723
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
93 files changed, 228 insertions, 229 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index b51ddc2ca71a..b5c35bef6271 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -38,7 +38,8 @@ #include <osl/file.hxx> #include <unotools/pathoptions.hxx> -namespace svx::DocRecovery{ +namespace svx::DocRecovery +{ using namespace ::osl; @@ -1087,6 +1088,6 @@ void BrokenRecoveryDialog::impl_askForSavePath() } } - } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 21eea0663987..68d52462025e 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -27,7 +27,8 @@ using namespace ::com::sun::star; using namespace editeng; -namespace svx::frame { +namespace svx::frame +{ // Classes void Style::implEnsureImplStyle() diff --git a/svx/source/engine3d/helperminimaldepth3d.cxx b/svx/source/engine3d/helperminimaldepth3d.cxx index 918e207b6e7d..9d170160d24f 100644 --- a/svx/source/engine3d/helperminimaldepth3d.cxx +++ b/svx/source/engine3d/helperminimaldepth3d.cxx @@ -31,7 +31,7 @@ namespace drawinglayer::processor3d - { +{ namespace { class MinimalDephInViewExtractor : public BaseProcessor3D @@ -136,7 +136,7 @@ namespace drawinglayer::processor3d } } } - } // end of namespace drawinglayer +} // end of namespace // changed to create values using VCs, Primitive3DContainer and ViewInformation3D to allow diff --git a/svx/source/sdr/animation/animationstate.cxx b/svx/source/sdr/animation/animationstate.cxx index 68746d908aac..25d80b04d2bd 100644 --- a/svx/source/sdr/animation/animationstate.cxx +++ b/svx/source/sdr/animation/animationstate.cxx @@ -28,7 +28,7 @@ namespace sdr::animation - { +{ double PrimitiveAnimation::getSmallestNextTime(double fCurrentTime) { double fRetval(0.0); @@ -130,6 +130,7 @@ namespace sdr::animation // re-setup prepareNextEvent(); } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/animation/objectanimator.cxx b/svx/source/sdr/animation/objectanimator.cxx index 378b3e993069..4e4c4d72cc59 100644 --- a/svx/source/sdr/animation/objectanimator.cxx +++ b/svx/source/sdr/animation/objectanimator.cxx @@ -22,7 +22,7 @@ namespace sdr::animation - { +{ primitiveAnimator::primitiveAnimator() : Scheduler() { @@ -31,6 +31,7 @@ namespace sdr::animation primitiveAnimator::~primitiveAnimator() { } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/animation/scheduler.cxx b/svx/source/sdr/animation/scheduler.cxx index 0efac9e6fac0..1994dcc0b1eb 100644 --- a/svx/source/sdr/animation/scheduler.cxx +++ b/svx/source/sdr/animation/scheduler.cxx @@ -26,7 +26,7 @@ // event class namespace sdr::animation - { +{ Event::Event() : mnTime(0) { } @@ -165,6 +165,7 @@ namespace sdr::animation checkTimeout(); } } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx b/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx index 36587b8761a8..cc954881d9c3 100644 --- a/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx +++ b/svx/source/sdr/attribute/sdrallfillattributeshelper.cxx @@ -30,7 +30,7 @@ ////////////////////////////////////////////////////////////////////////////// namespace drawinglayer::attribute - { +{ void SdrAllFillAttributesHelper::createPrimitive2DSequence( const basegfx::B2DRange& rPaintRange, const basegfx::B2DRange& rDefineRange) @@ -253,6 +253,7 @@ namespace drawinglayer::attribute // color fill return false; } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrfilltextattribute.cxx b/svx/source/sdr/attribute/sdrfilltextattribute.cxx index 2660ed795b27..4cad7e636244 100644 --- a/svx/source/sdr/attribute/sdrfilltextattribute.cxx +++ b/svx/source/sdr/attribute/sdrfilltextattribute.cxx @@ -22,7 +22,7 @@ namespace drawinglayer::attribute - { +{ SdrFillTextAttribute::SdrFillTextAttribute( const SdrFillAttribute& rFill, const FillGradientAttribute& rFillFloatTransGradient, @@ -62,6 +62,7 @@ namespace drawinglayer::attribute && getFillFloatTransGradient() == rCandidate.getFillFloatTransGradient() && getText() == rCandidate.getText()); } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrformtextattribute.cxx b/svx/source/sdr/attribute/sdrformtextattribute.cxx index 487affa5e60e..85b902949c46 100644 --- a/svx/source/sdr/attribute/sdrformtextattribute.cxx +++ b/svx/source/sdr/attribute/sdrformtextattribute.cxx @@ -141,7 +141,7 @@ namespace namespace drawinglayer::attribute - { +{ class ImpSdrFormTextAttribute { public: @@ -369,6 +369,7 @@ namespace drawinglayer::attribute { return mpSdrFormTextAttribute->getFormTextOutline(); } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx b/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx index 416d746325a9..a8079ffee2a3 100644 --- a/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx +++ b/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx @@ -25,7 +25,7 @@ namespace drawinglayer::attribute - { +{ class ImpSdrFormTextOutlineAttribute { public: @@ -135,6 +135,7 @@ namespace drawinglayer::attribute { return mpSdrFormTextOutlineAttribute->getTransparence(); } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrlinefillshadowtextattribute.cxx b/svx/source/sdr/attribute/sdrlinefillshadowtextattribute.cxx index ed359ba9bdef..d65afc97b4d4 100644 --- a/svx/source/sdr/attribute/sdrlinefillshadowtextattribute.cxx +++ b/svx/source/sdr/attribute/sdrlinefillshadowtextattribute.cxx @@ -22,7 +22,7 @@ namespace drawinglayer::attribute - { +{ SdrLineFillShadowTextAttribute::SdrLineFillShadowTextAttribute( const SdrLineAttribute& rLine, const SdrFillAttribute& rFill, @@ -72,6 +72,7 @@ namespace drawinglayer::attribute && getFill() == rCandidate.getFill() && getFillFloatTransGradient() == rCandidate.getFillFloatTransGradient()); } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrlineshadowtextattribute.cxx b/svx/source/sdr/attribute/sdrlineshadowtextattribute.cxx index df964b32e367..421d79857188 100644 --- a/svx/source/sdr/attribute/sdrlineshadowtextattribute.cxx +++ b/svx/source/sdr/attribute/sdrlineshadowtextattribute.cxx @@ -22,7 +22,7 @@ namespace drawinglayer::attribute - { +{ SdrLineShadowTextAttribute::SdrLineShadowTextAttribute( const SdrLineAttribute& rLine, const SdrLineStartEndAttribute& rLineStartEnd, @@ -70,6 +70,7 @@ namespace drawinglayer::attribute && getLine() == rCandidate.getLine() && getLineStartEnd() == rCandidate.getLineStartEnd()); } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrshadowtextattribute.cxx b/svx/source/sdr/attribute/sdrshadowtextattribute.cxx index 16947d8b6436..690938bd8331 100644 --- a/svx/source/sdr/attribute/sdrshadowtextattribute.cxx +++ b/svx/source/sdr/attribute/sdrshadowtextattribute.cxx @@ -22,7 +22,7 @@ namespace drawinglayer::attribute - { +{ SdrShadowTextAttribute::SdrShadowTextAttribute( const SdrShadowAttribute& rShadow, const SdrTextAttribute& rTextAttribute) @@ -62,6 +62,7 @@ namespace drawinglayer::attribute return (getShadow() == rCandidate.getShadow() && getText() == rCandidate.getText()); } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/attribute/sdrtextattribute.cxx b/svx/source/sdr/attribute/sdrtextattribute.cxx index fb0826b4ebe5..50ae63e5ea06 100644 --- a/svx/source/sdr/attribute/sdrtextattribute.cxx +++ b/svx/source/sdr/attribute/sdrtextattribute.cxx @@ -29,7 +29,7 @@ namespace drawinglayer::attribute - { +{ class ImpSdrTextAttribute { public: @@ -418,6 +418,7 @@ namespace drawinglayer::attribute getSdrText().GetObject().impGetScrollTextTiming(rAnimList, fFrameLength, fTextLength); } } - } // end of namespace drawinglayer + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/displayinfo.cxx b/svx/source/sdr/contact/displayinfo.cxx index aba8fcffebf9..d837c8c1e3b6 100644 --- a/svx/source/sdr/contact/displayinfo.cxx +++ b/svx/source/sdr/contact/displayinfo.cxx @@ -21,7 +21,7 @@ namespace sdr::contact - { +{ DisplayInfo::DisplayInfo() : maProcessLayers(true), // init layer info with all bits set to draw everything on default maRedrawArea(), @@ -83,6 +83,6 @@ namespace sdr::contact } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index a1b72feb6b87..12918e3f85a0 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -45,7 +45,7 @@ using namespace com::sun::star; namespace sdr::contact - { +{ // internal access to SdrPage of SdrPageView SdrPage* ObjectContactOfPageView::GetSdrPage() const { @@ -436,6 +436,7 @@ namespace sdr::contact } } } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofe3dcube.cxx b/svx/source/sdr/contact/viewcontactofe3dcube.cxx index 885fc5ef243d..bc315b10fa5c 100644 --- a/svx/source/sdr/contact/viewcontactofe3dcube.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dcube.cxx @@ -28,7 +28,7 @@ namespace sdr::contact - { +{ ViewContactOfE3dCube::ViewContactOfE3dCube(E3dCubeObj& rCubeObj) : ViewContactOfE3d(rCubeObj) { @@ -83,6 +83,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofe3dextrude.cxx b/svx/source/sdr/contact/viewcontactofe3dextrude.cxx index c51651414e00..e4a5df993579 100644 --- a/svx/source/sdr/contact/viewcontactofe3dextrude.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dextrude.cxx @@ -28,7 +28,7 @@ namespace sdr::contact - { +{ ViewContactOfE3dExtrude::ViewContactOfE3dExtrude(E3dExtrudeObj& rExtrude) : ViewContactOfE3d(rExtrude) { @@ -78,6 +78,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofe3dlathe.cxx b/svx/source/sdr/contact/viewcontactofe3dlathe.cxx index 95242e9428ed..d3d8f59f2934 100644 --- a/svx/source/sdr/contact/viewcontactofe3dlathe.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dlathe.cxx @@ -28,7 +28,7 @@ namespace sdr::contact - { +{ ViewContactOfE3dLathe::ViewContactOfE3dLathe(E3dLatheObj& rLathe) : ViewContactOfE3d(rLathe) { @@ -91,6 +91,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofe3dpolygon.cxx b/svx/source/sdr/contact/viewcontactofe3dpolygon.cxx index 6191af22b993..eb9b2c261faa 100644 --- a/svx/source/sdr/contact/viewcontactofe3dpolygon.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dpolygon.cxx @@ -29,7 +29,7 @@ namespace sdr::contact - { +{ ViewContactOfE3dPolygon::ViewContactOfE3dPolygon(E3dPolygonObj& rPolygon) : ViewContactOfE3d(rPolygon) { @@ -164,6 +164,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofe3dsphere.cxx b/svx/source/sdr/contact/viewcontactofe3dsphere.cxx index 1a1dc1564d6a..dbec97e884fc 100644 --- a/svx/source/sdr/contact/viewcontactofe3dsphere.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dsphere.cxx @@ -27,7 +27,7 @@ namespace sdr::contact - { +{ ViewContactOfE3dSphere::ViewContactOfE3dSphere(E3dSphereObj& rSphere) : ViewContactOfE3d(rSphere) { @@ -75,6 +75,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofgraphic.cxx b/svx/source/sdr/contact/viewcontactofgraphic.cxx index de4c0c9e4114..4af15e3a7ea9 100644 --- a/svx/source/sdr/contact/viewcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewcontactofgraphic.cxx @@ -54,7 +54,7 @@ #include <bitmaps.hlst> namespace sdr::contact - { +{ // Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. ViewObjectContact& ViewContactOfGraphic::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) @@ -410,6 +410,6 @@ namespace sdr::contact return GraphicType::NONE == rGraphicObject.GetType() || GraphicType::Default == rGraphicObject.GetType(); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofgroup.cxx b/svx/source/sdr/contact/viewcontactofgroup.cxx index ad2fc2195a93..b1b113375c5c 100644 --- a/svx/source/sdr/contact/viewcontactofgroup.cxx +++ b/svx/source/sdr/contact/viewcontactofgroup.cxx @@ -32,7 +32,7 @@ namespace sdr::contact - { +{ // Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. ViewObjectContact& ViewContactOfGroup::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) @@ -82,6 +82,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofmasterpagedescriptor.cxx b/svx/source/sdr/contact/viewcontactofmasterpagedescriptor.cxx index c275b184e846..760378f07179 100644 --- a/svx/source/sdr/contact/viewcontactofmasterpagedescriptor.cxx +++ b/svx/source/sdr/contact/viewcontactofmasterpagedescriptor.cxx @@ -38,7 +38,7 @@ namespace sdr::contact - { +{ ViewObjectContact& ViewContactOfMasterPageDescriptor::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) { return *(new ViewObjectContactOfMasterPageDescriptor(rObjectContact, *this)); @@ -103,6 +103,7 @@ namespace sdr::contact { return &(GetMasterPageDescriptor().GetOwnerPage().GetViewContact()); } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx b/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx index 082ed9d760f5..a8e57620bef9 100644 --- a/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx @@ -44,7 +44,7 @@ using namespace com::sun::star; namespace sdr::contact - { +{ ViewContactOfSdrCaptionObj::ViewContactOfSdrCaptionObj(SdrCaptionObj& rCaptionObj) : ViewContactOfSdrRectObj(rCaptionObj) { @@ -190,6 +190,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx b/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx index b76448c4a6d9..675dc1fe973b 100644 --- a/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx @@ -29,7 +29,7 @@ namespace sdr::contact - { +{ ViewContactOfSdrCircObj::ViewContactOfSdrCircObj(SdrCircObj& rCircObj) : ViewContactOfSdrRectObj(rCircObj) { @@ -96,6 +96,7 @@ namespace sdr::contact return drawinglayer::primitive2d::Primitive2DContainer { xReference }; } } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx b/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx index f8a7819d6e14..85af9e68e515 100644 --- a/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx @@ -26,7 +26,7 @@ namespace sdr::contact - { +{ ViewContactOfSdrEdgeObj::ViewContactOfSdrEdgeObj(SdrEdgeObj& rEdgeObj) : ViewContactOfTextObj(rEdgeObj) { @@ -60,6 +60,7 @@ namespace sdr::contact return drawinglayer::primitive2d::Primitive2DContainer { xReference }; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofsdrmeasureobj.cxx b/svx/source/sdr/contact/viewcontactofsdrmeasureobj.cxx index 9452127278bb..69303bba9758 100644 --- a/svx/source/sdr/contact/viewcontactofsdrmeasureobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrmeasureobj.cxx @@ -31,7 +31,7 @@ namespace sdr::contact - { +{ ViewContactOfSdrMeasureObj::ViewContactOfSdrMeasureObj(SdrMeasureObj& rMeasureObj) : ViewContactOfTextObj(rMeasureObj) { @@ -122,6 +122,6 @@ namespace sdr::contact return drawinglayer::primitive2d::Primitive2DContainer { xReference }; } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx index 0443be3193c1..3097e5f14c4c 100644 --- a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx @@ -34,7 +34,7 @@ namespace sdr::contact - { +{ ViewContactOfSdrObjCustomShape::ViewContactOfSdrObjCustomShape(SdrObjCustomShape& rCustomShape) : ViewContactOfTextObj(rCustomShape) { @@ -249,6 +249,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx index 6879f226fd3e..bda673d35a9e 100644 --- a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx @@ -31,7 +31,7 @@ #include <vcl/canvastools.hxx> namespace sdr::contact - { +{ ViewContactOfSdrPathObj::ViewContactOfSdrPathObj(SdrPathObj& rPathObj) : ViewContactOfTextObj(rPathObj) { @@ -200,6 +200,7 @@ namespace sdr::contact return drawinglayer::primitive2d::Primitive2DContainer { xReference }; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewobjectcontactofe3d.cxx b/svx/source/sdr/contact/viewobjectcontactofe3d.cxx index 88fe38ca3c01..8e0dcd474ae8 100644 --- a/svx/source/sdr/contact/viewobjectcontactofe3d.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofe3d.cxx @@ -26,7 +26,7 @@ #include <svx/sdr/contact/viewcontactofe3dscene.hxx> namespace sdr::contact - { +{ ViewObjectContactOfE3d::ViewObjectContactOfE3d(ObjectContact& rObjectContact, ViewContact& rViewContact) : ViewObjectContactOfSdrObj(rObjectContact, rViewContact) { @@ -83,6 +83,7 @@ namespace sdr::contact // return current Primitive2DContainer return mxPrimitive3DContainer; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewobjectcontactofe3dscene.cxx b/svx/source/sdr/contact/viewobjectcontactofe3dscene.cxx index aa7eb9058c05..a6c9aaa96052 100644 --- a/svx/source/sdr/contact/viewobjectcontactofe3dscene.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofe3dscene.cxx @@ -53,7 +53,7 @@ namespace namespace sdr::contact - { +{ ViewObjectContactOfE3dScene::ViewObjectContactOfE3dScene(ObjectContact& rObjectContact, ViewContact& rViewContact) : ViewObjectContactOfSdrObj(rObjectContact, rViewContact) { @@ -135,6 +135,7 @@ namespace sdr::contact // call parent return ViewObjectContactOfSdrObj::getPrimitive2DSequenceHierarchy(rDisplayInfo); } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx index 800c92042002..4e215825557e 100644 --- a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx @@ -25,7 +25,7 @@ #include <svx/svdpage.hxx> namespace sdr::contact - { +{ drawinglayer::primitive2d::Primitive2DContainer ViewObjectContactOfGraphic::createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const { // get return value by calling parent @@ -59,6 +59,7 @@ namespace sdr::contact ViewObjectContactOfGraphic::~ViewObjectContactOfGraphic() { } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewobjectcontactofgroup.cxx b/svx/source/sdr/contact/viewobjectcontactofgroup.cxx index 5f3ad6ee594d..fa67da29c0db 100644 --- a/svx/source/sdr/contact/viewobjectcontactofgroup.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofgroup.cxx @@ -33,7 +33,7 @@ using namespace com::sun::star; namespace sdr::contact - { +{ ViewObjectContactOfGroup::ViewObjectContactOfGroup(ObjectContact& rObjectContact, ViewContact& rViewContact) : ViewObjectContactOfSdrObj(rObjectContact, rViewContact) { @@ -104,6 +104,7 @@ namespace sdr::contact aObjectLayers &= aLayers; return !aObjectLayers.IsEmpty(); } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor.cxx b/svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor.cxx index 38e598d8b41b..90218bcf1293 100644 --- a/svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor.cxx @@ -31,7 +31,7 @@ namespace sdr::contact - { +{ ViewObjectContactOfMasterPageDescriptor::ViewObjectContactOfMasterPageDescriptor(ObjectContact& rObjectContact, ViewContact& rViewContact) : ViewObjectContact(rObjectContact, rViewContact) { @@ -128,6 +128,6 @@ namespace sdr::contact // return grouped primitive return xRetval; } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx b/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx index 3bd86110785a..5f2091251e8f 100644 --- a/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx +++ b/svx/source/sdr/overlay/overlayanimatedbitmapex.cxx @@ -25,7 +25,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayAnimatedBitmapEx::createOverlayObjectPrimitive2DSequence() { if(mbOverlayState) @@ -109,6 +109,7 @@ namespace sdr::overlay objectChange(); } } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlaybitmapex.cxx b/svx/source/sdr/overlay/overlaybitmapex.cxx index 675aa0a242aa..6e969a1359d3 100644 --- a/svx/source/sdr/overlay/overlaybitmapex.cxx +++ b/svx/source/sdr/overlay/overlaybitmapex.cxx @@ -25,7 +25,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayBitmapEx::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DReference aReference( @@ -68,6 +68,7 @@ namespace sdr::overlay OverlayBitmapEx::~OverlayBitmapEx() { } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlaycrosshair.cxx b/svx/source/sdr/overlay/overlaycrosshair.cxx index f2d8ac1414ab..4709fa5c7066 100644 --- a/svx/source/sdr/overlay/overlaycrosshair.cxx +++ b/svx/source/sdr/overlay/overlaycrosshair.cxx @@ -24,7 +24,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayCrosshairStriped::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DContainer aRetval; @@ -62,6 +62,7 @@ namespace sdr::overlay OverlayCrosshairStriped::~OverlayCrosshairStriped() { } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayhelpline.cxx b/svx/source/sdr/overlay/overlayhelpline.cxx index b009b3882f3a..4d1543360557 100644 --- a/svx/source/sdr/overlay/overlayhelpline.cxx +++ b/svx/source/sdr/overlay/overlayhelpline.cxx @@ -25,7 +25,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayHelplineStriped::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DContainer aRetval; @@ -71,6 +71,6 @@ namespace sdr::overlay OverlayHelplineStriped::~OverlayHelplineStriped() { } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayline.cxx b/svx/source/sdr/overlay/overlayline.cxx index 7c3e6b1c60a7..e6c40ea76a76 100644 --- a/svx/source/sdr/overlay/overlayline.cxx +++ b/svx/source/sdr/overlay/overlayline.cxx @@ -28,7 +28,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayLineStriped::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DContainer aRetval; @@ -73,6 +73,6 @@ namespace sdr::overlay OverlayLineStriped::~OverlayLineStriped() { } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx index 8ab62835fd97..9e1251ea4b38 100644 --- a/svx/source/sdr/overlay/overlaymanager.cxx +++ b/svx/source/sdr/overlay/overlaymanager.cxx @@ -35,7 +35,7 @@ using namespace com::sun::star; namespace sdr::overlay - { +{ void OverlayManager::ImpDrawMembers(const basegfx::B2DRange& rRange, OutputDevice& rDestinationDevice) const { const sal_uInt32 nSize(maOverlayObjects.size()); @@ -345,6 +345,6 @@ namespace sdr::overlay } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index ae6eaf3fa9d6..0a54ebb7100b 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -31,7 +31,7 @@ namespace sdr::overlay - { +{ void OverlayManagerBuffered::ImpPrepareBufferDevice() { // compare size of mpBufferDevice with size of visible area @@ -439,6 +439,6 @@ namespace sdr::overlay } } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayobject.cxx b/svx/source/sdr/overlay/overlayobject.cxx index 6ad51df18b50..499480f808c9 100644 --- a/svx/source/sdr/overlay/overlayobject.cxx +++ b/svx/source/sdr/overlay/overlayobject.cxx @@ -31,7 +31,7 @@ #include <drawinglayer/primitive2d/transformprimitive2d.hxx> namespace sdr::overlay - { +{ void OverlayObject::objectChange() { const basegfx::B2DRange aPreviousRange(maBaseRange); @@ -206,11 +206,8 @@ namespace sdr::overlay { // default does not need to do anything } - } // end of namespace sdr -namespace sdr::overlay - { OverlayObjectWithBasePosition::OverlayObjectWithBasePosition(const basegfx::B2DPoint& rBasePos, Color aBaseColor) : OverlayObject(aBaseColor), maBasePosition(rBasePos) @@ -232,6 +229,7 @@ namespace sdr::overlay objectChange(); } } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayobjectcell.cxx b/svx/source/sdr/overlay/overlayobjectcell.cxx index 14187d74b793..5b0d2b520e3f 100644 --- a/svx/source/sdr/overlay/overlayobjectcell.cxx +++ b/svx/source/sdr/overlay/overlayobjectcell.cxx @@ -31,7 +31,7 @@ using namespace ::basegfx; namespace sdr::overlay - { +{ OverlayObjectCell::OverlayObjectCell( const Color& rColor, const RangeVector& rRects ) : OverlayObject( rColor ), maRectangles( rRects ) @@ -78,6 +78,7 @@ namespace sdr::overlay return aRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayobjectlist.cxx b/svx/source/sdr/overlay/overlayobjectlist.cxx index 3d89d04524f3..f01dfb7f0848 100644 --- a/svx/source/sdr/overlay/overlayobjectlist.cxx +++ b/svx/source/sdr/overlay/overlayobjectlist.cxx @@ -31,7 +31,7 @@ #define DEFAULT_VALUE_FOR_HITTEST_TWIP (30) namespace sdr::overlay - { +{ OverlayObjectList::~OverlayObjectList() { clear(); @@ -140,6 +140,7 @@ namespace sdr::overlay return aRetval; } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlaypolypolygon.cxx b/svx/source/sdr/overlay/overlaypolypolygon.cxx index cc109ab9496c..2ba58f366e43 100644 --- a/svx/source/sdr/overlay/overlaypolypolygon.cxx +++ b/svx/source/sdr/overlay/overlaypolypolygon.cxx @@ -26,7 +26,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayPolyPolygonStripedAndFilled::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DContainer aRetval; @@ -79,6 +79,7 @@ namespace sdr::overlay OverlayPolyPolygonStripedAndFilled::~OverlayPolyPolygonStripedAndFilled() { } - } // end of namespace sdr + +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayprimitive2dsequenceobject.cxx b/svx/source/sdr/overlay/overlayprimitive2dsequenceobject.cxx index 87e599566f54..b429507fb2fb 100644 --- a/svx/source/sdr/overlay/overlayprimitive2dsequenceobject.cxx +++ b/svx/source/sdr/overlay/overlayprimitive2dsequenceobject.cxx @@ -24,7 +24,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayPrimitive2DSequenceObject::createOverlayObjectPrimitive2DSequence() { return maSequence; @@ -39,6 +39,6 @@ namespace sdr::overlay OverlayPrimitive2DSequenceObject::~OverlayPrimitive2DSequenceObject() { } - } // end of namespace sdr +} // end of namespace sdr::overlay /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayrectangle.cxx b/svx/source/sdr/overlay/overlayrectangle.cxx index 39977a620eb6..56439f37276d 100644 --- a/svx/source/sdr/overlay/overlayrectangle.cxx +++ b/svx/source/sdr/overlay/overlayrectangle.cxx @@ -30,7 +30,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayRectangle::createOverlayObjectPrimitive2DSequence() { const basegfx::B2DRange aHatchRange(getBasePosition(), maSecondPosition); @@ -112,7 +112,7 @@ namespace sdr::overlay objectChange(); } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayrollingrectangle.cxx b/svx/source/sdr/overlay/overlayrollingrectangle.cxx index 6ac840e1e539..56fdaeec7d58 100644 --- a/svx/source/sdr/overlay/overlayrollingrectangle.cxx +++ b/svx/source/sdr/overlay/overlayrollingrectangle.cxx @@ -28,7 +28,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayRollingRectangleStriped::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DContainer aRetval; @@ -114,6 +114,6 @@ namespace sdr::overlay objectChange(); } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlayselection.cxx b/svx/source/sdr/overlay/overlayselection.cxx index 2afd382c00f0..c915ed7ea395 100644 --- a/svx/source/sdr/overlay/overlayselection.cxx +++ b/svx/source/sdr/overlay/overlayselection.cxx @@ -32,7 +32,7 @@ namespace sdr::overlay - { +{ // combine rages geometrically to a single, ORed polygon static basegfx::B2DPolyPolygon impCombineRangesToPolyPolygon(const std::vector< basegfx::B2DRange >& rRanges) { @@ -217,6 +217,6 @@ namespace sdr::overlay objectChange(); } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlaytools.cxx b/svx/source/sdr/overlay/overlaytools.cxx index a44feb9bc2be..0bfd2d8177b5 100644 --- a/svx/source/sdr/overlay/overlaytools.cxx +++ b/svx/source/sdr/overlay/overlaytools.cxx @@ -119,10 +119,8 @@ bool OverlayStaticRectanglePrimitive::operator==(const BasePrimitive2D& rPrimiti ImplPrimitive2DIDBlock(OverlayStaticRectanglePrimitive, PRIMITIVE2D_ID_OVERLAYRECTANGLEPRIMITIVE) -} // end of namespace drawinglayer::primitive2d -namespace drawinglayer::primitive2d - { + OverlayBitmapExPrimitive::OverlayBitmapExPrimitive( const BitmapEx& rBitmapEx, const basegfx::B2DPoint& rBasePosition, @@ -201,11 +199,8 @@ namespace drawinglayer::primitive2d ImplPrimitive2DIDBlock(OverlayBitmapExPrimitive, PRIMITIVE2D_ID_OVERLAYBITMAPEXPRIMITIVE) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { OverlayCrosshairPrimitive::OverlayCrosshairPrimitive( const basegfx::B2DPoint& rBasePosition, const basegfx::BColor& rRGBColorA, @@ -266,11 +261,8 @@ namespace drawinglayer::primitive2d ImplPrimitive2DIDBlock(OverlayCrosshairPrimitive, PRIMITIVE2D_ID_OVERLAYCROSSHAIRPRIMITIVE) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { OverlayRectanglePrimitive::OverlayRectanglePrimitive( const basegfx::B2DRange& rObjectRange, const basegfx::BColor& rColor, @@ -396,11 +388,8 @@ namespace drawinglayer::primitive2d ImplPrimitive2DIDBlock(OverlayRectanglePrimitive, PRIMITIVE2D_ID_OVERLAYRECTANGLEPRIMITIVE) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { OverlayHelplineStripedPrimitive::OverlayHelplineStripedPrimitive( const basegfx::B2DPoint& rBasePosition, HelplineStyle eStyle, @@ -504,11 +493,8 @@ namespace drawinglayer::primitive2d ImplPrimitive2DIDBlock(OverlayHelplineStripedPrimitive, PRIMITIVE2D_ID_OVERLAYHELPLINESTRIPEDPRIMITIVE) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { OverlayRollingRectanglePrimitive::OverlayRollingRectanglePrimitive( const basegfx::B2DRange& aRollingRectangle, const basegfx::BColor& rRGBColorA, @@ -592,6 +578,6 @@ namespace drawinglayer::primitive2d ImplPrimitive2DIDBlock(OverlayRollingRectanglePrimitive, PRIMITIVE2D_ID_OVERLAYROLLINGRECTANGLEPRIMITIVE) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/overlay/overlaytriangle.cxx b/svx/source/sdr/overlay/overlaytriangle.cxx index 50536b139818..4722dbc593db 100644 --- a/svx/source/sdr/overlay/overlaytriangle.cxx +++ b/svx/source/sdr/overlay/overlaytriangle.cxx @@ -29,7 +29,7 @@ namespace sdr::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayTriangle::createOverlayObjectPrimitive2DSequence() { basegfx::B2DPolygon aPolygon; @@ -62,6 +62,6 @@ namespace sdr::overlay { } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx index 48aad6c480e4..875f052b23cf 100644 --- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx +++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx @@ -217,7 +217,7 @@ namespace drawinglayer namespace drawinglayer::primitive2d - { +{ attribute::SdrLineAttribute createNewSdrLineAttribute(const SfxItemSet& rSet) { const css::drawing::LineStyle eStyle(rSet.Get(XATTR_LINESTYLE).GetValue()); @@ -1090,6 +1090,6 @@ namespace drawinglayer::primitive2d return attribute::SdrFillTextAttribute(); } - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.cxx index f9959c17c1fb..1a07c0d652f2 100644 --- a/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.cxx @@ -30,7 +30,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ void SdrCaptionPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -162,6 +162,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrCaptionPrimitive2D, PRIMITIVE2D_ID_SDRCAPTIONPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrconnectorprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrconnectorprimitive2d.cxx index 5a3e8ed40a72..6a51d7cb75c9 100644 --- a/svx/source/sdr/primitive2d/sdrconnectorprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrconnectorprimitive2d.cxx @@ -30,7 +30,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ void SdrConnectorPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -101,6 +101,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrConnectorPrimitive2D, PRIMITIVE2D_ID_SDRCONNECTORPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx index a9281abfa02e..0946cd3428c7 100644 --- a/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx @@ -31,7 +31,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ void SdrCustomShapePrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval(getSubPrimitives()); @@ -107,6 +107,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrCustomShapePrimitive2D, PRIMITIVE2D_ID_SDRCUSTOMSHAPEPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx index adcecf39fa56..db6e0b1bc38c 100644 --- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx +++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx @@ -50,7 +50,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ class TransparencePrimitive2D; @@ -516,6 +516,6 @@ namespace drawinglayer::primitive2d return rContent; } } - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx index 76b5aa716330..baa8bad642f9 100644 --- a/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx @@ -33,7 +33,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ void SdrEllipsePrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -135,11 +135,8 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrEllipsePrimitive2D, PRIMITIVE2D_ID_SDRELLIPSEPRIMITIVE2D) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { void SdrEllipseSegmentPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -261,6 +258,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrEllipseSegmentPrimitive2D, PRIMITIVE2D_ID_SDRELLIPSESEGMENTPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx index 6bee840ace8f..5c002c1347d8 100644 --- a/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx @@ -643,7 +643,7 @@ namespace } namespace drawinglayer::primitive2d - { +{ SdrFrameBorderData::SdrConnectStyleData::SdrConnectStyleData( const svx::frame::Style& rStyle, const basegfx::B2DVector& rNormalizedPerpendicular, @@ -746,10 +746,10 @@ namespace drawinglayer::primitive2d return fRetval; } - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { + + + void SdrFrameBorderPrimitive2D::create2DDecomposition( Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const @@ -920,6 +920,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrFrameBorderPrimitive2D, PRIMITIVE2D_ID_SDRFRAMEBORDERTPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrgrafprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrgrafprimitive2d.cxx index 4de23bd5c780..517daf35e121 100644 --- a/svx/source/sdr/primitive2d/sdrgrafprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrgrafprimitive2d.cxx @@ -29,7 +29,7 @@ #include <drawinglayer/primitive2d/transformprimitive2d.hxx> namespace drawinglayer::primitive2d - { +{ void SdrGrafPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -165,6 +165,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrGrafPrimitive2D, PRIMITIVE2D_ID_SDRGRAFPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx index 2768161d7c75..88a1556b810c 100644 --- a/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx @@ -35,7 +35,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ Primitive2DReference SdrMeasurePrimitive2D::impCreatePart( const attribute::SdrLineAttribute& rLineAttribute, const basegfx::B2DHomMatrix& rObjectMatrix, @@ -493,6 +493,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrMeasurePrimitive2D, PRIMITIVE2D_ID_SDRMEASUREPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx b/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx index 2aa33542338a..da099c1e395b 100644 --- a/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx @@ -30,7 +30,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ SdrOle2Primitive2D::SdrOle2Primitive2D( const Primitive2DContainer& rOLEContent, const basegfx::B2DHomMatrix& rTransform, @@ -169,6 +169,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrOle2Primitive2D, PRIMITIVE2D_ID_SDROLE2PRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx index 9e6b2bbeeb6f..8d12cb83876e 100644 --- a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx @@ -30,7 +30,7 @@ namespace drawinglayer::primitive2d - { +{ void SdrOleContentPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { const SdrOle2Obj* pSource = mpSdrOle2Obj.get(); @@ -172,6 +172,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrOleContentPrimitive2D, PRIMITIVE2D_ID_SDROLECONTENTPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrpathprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrpathprimitive2d.cxx index 5554b6db495a..1e1c46aada61 100644 --- a/svx/source/sdr/primitive2d/sdrpathprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrpathprimitive2d.cxx @@ -29,7 +29,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ void SdrPathPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -151,6 +151,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrPathPrimitive2D, PRIMITIVE2D_ID_SDRPATHPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrprimitivetools.cxx b/svx/source/sdr/primitive2d/sdrprimitivetools.cxx index 722b15f3a3e4..7e0b22a3f743 100644 --- a/svx/source/sdr/primitive2d/sdrprimitivetools.cxx +++ b/svx/source/sdr/primitive2d/sdrprimitivetools.cxx @@ -26,7 +26,7 @@ // helper methods namespace drawinglayer::primitive2d - { +{ BitmapEx createDefaultCross_3x3(const basegfx::BColor& rBColor) { static vcl::DeleteOnDeinit< BitmapEx > aRetVal(nullptr); @@ -59,6 +59,6 @@ namespace drawinglayer::primitive2d return aRetVal.get() ? *aRetVal.get() : BitmapEx(); } - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/primitive2d/sdrrectangleprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrrectangleprimitive2d.cxx index 46dfd599dcb9..d7e491c7ba14 100644 --- a/svx/source/sdr/primitive2d/sdrrectangleprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrrectangleprimitive2d.cxx @@ -31,7 +31,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ void SdrRectanglePrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -146,6 +146,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrRectanglePrimitive2D, PRIMITIVE2D_ID_SDRRECTANGLEPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 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: */ diff --git a/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx b/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx index 416a27830148..c6721a152617 100644 --- a/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx +++ b/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx @@ -30,7 +30,7 @@ namespace drawinglayer::primitive2d - { +{ attribute::Sdr3DObjectAttribute* createNewSdr3DObjectAttribute(const SfxItemSet& rSet) { // get NormalsKind @@ -140,6 +140,6 @@ namespace drawinglayer::primitive2d aTextureKind, aTextureMode, aMaterial, bInvertNormals, bDoubleSided, bShadow3D, bTextureFilter, bReducedLineGeometry); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx index 7e53de8a8850..3783406dbeeb 100644 --- a/svx/source/sdr/properties/attributeproperties.cxx +++ b/svx/source/sdr/properties/attributeproperties.cxx @@ -45,7 +45,7 @@ #include <svx/svdpage.hxx> namespace sdr::properties - { +{ void AttributeProperties::ImpSetParentAtSfxItemSet(bool bDontRemoveHardAttr) { if(HasSfxItemSet() && mpStyleSheet) @@ -528,6 +528,6 @@ namespace sdr::properties } return false; } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/captionproperties.cxx b/svx/source/sdr/properties/captionproperties.cxx index 012a9008dd1c..0afd70af5234 100644 --- a/svx/source/sdr/properties/captionproperties.cxx +++ b/svx/source/sdr/properties/captionproperties.cxx @@ -28,7 +28,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> CaptionProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -94,6 +94,6 @@ namespace sdr::properties // reset to default mpItemSet->ClearItem(XATTR_LINESTYLE); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/circleproperties.cxx b/svx/source/sdr/properties/circleproperties.cxx index acd076cd4d9e..895029ca7939 100644 --- a/svx/source/sdr/properties/circleproperties.cxx +++ b/svx/source/sdr/properties/circleproperties.cxx @@ -30,7 +30,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> CircleProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -118,6 +118,6 @@ namespace sdr::properties // SdrCircKindItem RectangleProperties::ForceDefaultAttributes(); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/connectorproperties.cxx b/svx/source/sdr/properties/connectorproperties.cxx index fcc0a59f32b3..29a2b7edeb5f 100644 --- a/svx/source/sdr/properties/connectorproperties.cxx +++ b/svx/source/sdr/properties/connectorproperties.cxx @@ -28,7 +28,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> ConnectorProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -82,6 +82,6 @@ namespace sdr::properties SdrEdgeObj& rObj = static_cast<SdrEdgeObj&>(GetSdrObject()); rObj.ImpSetAttrToEdgeInfo(); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/customshapeproperties.cxx b/svx/source/sdr/properties/customshapeproperties.cxx index 3c3ea1d58b38..631fa8989fe5 100644 --- a/svx/source/sdr/properties/customshapeproperties.cxx +++ b/svx/source/sdr/properties/customshapeproperties.cxx @@ -30,7 +30,7 @@ namespace sdr::properties - { +{ void CustomShapeProperties::UpdateTextFrameStatus(bool bInvalidateRenderGeometry) { SdrObjCustomShape& rObj = static_cast< SdrObjCustomShape& >(GetSdrObject()); @@ -223,6 +223,6 @@ namespace sdr::properties // update bTextFrame and RenderGeometry UpdateTextFrameStatus(bRemoveRenderGeometry); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx index f90a1d064286..0b0e34b31203 100644 --- a/svx/source/sdr/properties/defaultproperties.cxx +++ b/svx/source/sdr/properties/defaultproperties.cxx @@ -34,7 +34,7 @@ #include <svx/svdtrans.hxx> namespace sdr::properties - { +{ std::unique_ptr<SfxItemSet> DefaultProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { // Basic implementation; Basic object has NO attributes @@ -235,6 +235,6 @@ namespace sdr::properties mpItemSet->dumpAsXml(pWriter); xmlTextWriterEndElement(pWriter); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/e3dcompoundproperties.cxx b/svx/source/sdr/properties/e3dcompoundproperties.cxx index 5a3443bc8079..8d023d033c64 100644 --- a/svx/source/sdr/properties/e3dcompoundproperties.cxx +++ b/svx/source/sdr/properties/e3dcompoundproperties.cxx @@ -24,7 +24,7 @@ namespace sdr::properties - { +{ E3dCompoundProperties::E3dCompoundProperties(SdrObject& rObj) : E3dProperties(rObj) { @@ -139,6 +139,6 @@ namespace sdr::properties } } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/e3dextrudeproperties.cxx b/svx/source/sdr/properties/e3dextrudeproperties.cxx index 552060005bac..bf7275ac9304 100644 --- a/svx/source/sdr/properties/e3dextrudeproperties.cxx +++ b/svx/source/sdr/properties/e3dextrudeproperties.cxx @@ -23,7 +23,7 @@ namespace sdr::properties - { +{ E3dExtrudeProperties::E3dExtrudeProperties(SdrObject& rObj) : E3dCompoundProperties(rObj) { @@ -70,6 +70,6 @@ namespace sdr::properties } } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/e3dlatheproperties.cxx b/svx/source/sdr/properties/e3dlatheproperties.cxx index 6b99ddcfddcb..d0114cbf9515 100644 --- a/svx/source/sdr/properties/e3dlatheproperties.cxx +++ b/svx/source/sdr/properties/e3dlatheproperties.cxx @@ -23,7 +23,7 @@ namespace sdr::properties - { +{ E3dLatheProperties::E3dLatheProperties(SdrObject& rObj) : E3dCompoundProperties(rObj) { @@ -80,6 +80,6 @@ namespace sdr::properties } } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/e3dproperties.cxx b/svx/source/sdr/properties/e3dproperties.cxx index 3bdf1c7c8168..0f435fd99c7f 100644 --- a/svx/source/sdr/properties/e3dproperties.cxx +++ b/svx/source/sdr/properties/e3dproperties.cxx @@ -26,7 +26,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> E3dProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -70,6 +70,6 @@ namespace sdr::properties // local changes rObj.StructureChanged(); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/e3dsceneproperties.cxx b/svx/source/sdr/properties/e3dsceneproperties.cxx index e37b8f6925eb..8c7aa2d50d5a 100644 --- a/svx/source/sdr/properties/e3dsceneproperties.cxx +++ b/svx/source/sdr/properties/e3dsceneproperties.cxx @@ -27,7 +27,7 @@ namespace sdr::properties - { +{ E3dSceneProperties::E3dSceneProperties(SdrObject& rObj) : E3dProperties(rObj) { @@ -288,6 +288,6 @@ namespace sdr::properties // FocalLength mpItemSet->Put(makeSvx3DFocalLengthItem(static_cast<sal_uInt32>((aSceneCam.GetFocalLength() * 100.0) + 0.5))); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/e3dsphereproperties.cxx b/svx/source/sdr/properties/e3dsphereproperties.cxx index d10b35ea5251..a1ae2ec67756 100644 --- a/svx/source/sdr/properties/e3dsphereproperties.cxx +++ b/svx/source/sdr/properties/e3dsphereproperties.cxx @@ -23,7 +23,7 @@ namespace sdr::properties - { +{ E3dSphereProperties::E3dSphereProperties(SdrObject& rObj) : E3dCompoundProperties(rObj) { @@ -65,6 +65,6 @@ namespace sdr::properties } } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/emptyproperties.cxx b/svx/source/sdr/properties/emptyproperties.cxx index bf9760f26f59..0cdd72c17afb 100644 --- a/svx/source/sdr/properties/emptyproperties.cxx +++ b/svx/source/sdr/properties/emptyproperties.cxx @@ -28,7 +28,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> EmptyProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -116,6 +116,6 @@ namespace sdr::properties assert(!"EmptyProperties::GetStyleSheet() should never be called"); return nullptr; } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/graphicproperties.cxx b/svx/source/sdr/properties/graphicproperties.cxx index 114b707793c6..3d976bbc757e 100644 --- a/svx/source/sdr/properties/graphicproperties.cxx +++ b/svx/source/sdr/properties/graphicproperties.cxx @@ -37,7 +37,7 @@ #include <svx/xlineit0.hxx> namespace sdr::properties - { +{ void GraphicProperties::applyDefaultStyleSheetFromSdrModel() { SfxStyleSheet* pStyleSheet(GetSdrObject().getSdrModelFromSdrObject().GetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj()); @@ -141,6 +141,6 @@ namespace sdr::properties mpItemSet->Put( SdrGrafModeItem( GraphicDrawMode::Standard ) ); mpItemSet->Put( SdrGrafCropItem( 0, 0, 0, 0 ) ); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/groupproperties.cxx b/svx/source/sdr/properties/groupproperties.cxx index 560adc8c4d2f..0cf5fa2ba76d 100644 --- a/svx/source/sdr/properties/groupproperties.cxx +++ b/svx/source/sdr/properties/groupproperties.cxx @@ -30,7 +30,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> GroupProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -260,6 +260,6 @@ namespace sdr::properties pSub->GetObj(a)->GetProperties().ForceStyleToHardAttributes(); } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/itemsettools.cxx b/svx/source/sdr/properties/itemsettools.cxx index a691212f4aab..f16b1019c3dc 100644 --- a/svx/source/sdr/properties/itemsettools.cxx +++ b/svx/source/sdr/properties/itemsettools.cxx @@ -29,7 +29,7 @@ // class to remember broadcast start positions namespace sdr::properties - { +{ ItemChangeBroadcaster::ItemChangeBroadcaster(const SdrObject& rObj) { if (const SdrObjGroup* pGroupObj = dynamic_cast<const SdrObjGroup*>(&rObj)) @@ -52,11 +52,8 @@ namespace sdr::properties maRectangles.push_back(rObj.GetLastBoundRect()); } } - } // end of namespace sdr -namespace sdr::properties - { void ScaleItemSet(SfxItemSet& rSet, const Fraction& rScale) { sal_Int32 nMul(rScale.GetNumerator()); @@ -85,6 +82,6 @@ namespace sdr::properties nWhich = aIter.NextWhich(); } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/measureproperties.cxx b/svx/source/sdr/properties/measureproperties.cxx index f0ac9df3112c..5519930e3dda 100644 --- a/svx/source/sdr/properties/measureproperties.cxx +++ b/svx/source/sdr/properties/measureproperties.cxx @@ -36,7 +36,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> MeasureProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -123,6 +123,6 @@ namespace sdr::properties mpItemSet->Put(XLineEndWidthItem(200)); mpItemSet->Put(XLineStyleItem(css::drawing::LineStyle_SOLID)); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/oleproperties.cxx b/svx/source/sdr/properties/oleproperties.cxx index a8f05a3b7c5a..1fdb10397c9f 100644 --- a/svx/source/sdr/properties/oleproperties.cxx +++ b/svx/source/sdr/properties/oleproperties.cxx @@ -25,7 +25,7 @@ #include <svx/svdmodel.hxx> namespace sdr::properties - { +{ void OleProperties::applyDefaultStyleSheetFromSdrModel() { SfxStyleSheet* pStyleSheet(GetSdrObject().getSdrModelFromSdrObject().GetDefaultStyleSheetForSdrGrafObjAndSdrOle2Obj()); @@ -69,6 +69,6 @@ namespace sdr::properties // force ItemSet GetObjectItemSet(); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/pageproperties.cxx b/svx/source/sdr/properties/pageproperties.cxx index 7b21f30bf1be..708f9d861044 100644 --- a/svx/source/sdr/properties/pageproperties.cxx +++ b/svx/source/sdr/properties/pageproperties.cxx @@ -29,7 +29,7 @@ namespace sdr::properties - { +{ // create a new itemset std::unique_ptr<SfxItemSet> PageProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { @@ -96,6 +96,6 @@ namespace sdr::properties { // simply ignore item clearing on page objects } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/properties.cxx b/svx/source/sdr/properties/properties.cxx index cb8c5c22e15d..37bee7916aaf 100644 --- a/svx/source/sdr/properties/properties.cxx +++ b/svx/source/sdr/properties/properties.cxx @@ -32,7 +32,7 @@ using namespace com::sun::star; namespace sdr::properties - { +{ BaseProperties::BaseProperties(SdrObject& rObj) : mrObject(rObj) { @@ -188,6 +188,6 @@ namespace sdr::properties } } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/rectangleproperties.cxx b/svx/source/sdr/properties/rectangleproperties.cxx index 66a5b4c9a548..84b4fc17e23e 100644 --- a/svx/source/sdr/properties/rectangleproperties.cxx +++ b/svx/source/sdr/properties/rectangleproperties.cxx @@ -22,7 +22,7 @@ namespace sdr::properties - { +{ RectangleProperties::RectangleProperties(SdrObject& rObj) : TextProperties(rObj) { @@ -63,6 +63,6 @@ namespace sdr::properties SdrRectObj& rObj = static_cast<SdrRectObj&>(GetSdrObject()); rObj.SetXPolyDirty(); } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/properties/textproperties.cxx b/svx/source/sdr/properties/textproperties.cxx index 364f0f1618f5..988ce6499126 100644 --- a/svx/source/sdr/properties/textproperties.cxx +++ b/svx/source/sdr/properties/textproperties.cxx @@ -46,7 +46,7 @@ using namespace com::sun::star; namespace sdr::properties - { +{ std::unique_ptr<SfxItemSet> TextProperties::CreateObjectSpecificItemSet(SfxItemPool& rPool) { return std::make_unique<SfxItemSet>(rPool, @@ -607,6 +607,6 @@ namespace sdr::properties { return maVersion; } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sidebar/shapes/DefaultShapesPanel.cxx b/svx/source/sidebar/shapes/DefaultShapesPanel.cxx index 8bba220e0952..bb92e6f3d45e 100644 --- a/svx/source/sidebar/shapes/DefaultShapesPanel.cxx +++ b/svx/source/sidebar/shapes/DefaultShapesPanel.cxx @@ -156,6 +156,6 @@ void DefaultShapesPanel::populateShapes() } } -} // end of namespace sd::sidebar +} // end of namespace svx::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx index 86a60dc3c717..daaf45c8832c 100644 --- a/svx/source/table/tablehandles.cxx +++ b/svx/source/table/tablehandles.cxx @@ -312,6 +312,6 @@ void TableBorderHdl::CreateB2dIAObject() } -} // end of namespace sdr +} // end of namespace sdr::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/table/viewcontactoftableobj.cxx b/svx/source/table/viewcontactoftableobj.cxx index 24efdd8d3663..ba06383b6860 100644 --- a/svx/source/table/viewcontactoftableobj.cxx +++ b/svx/source/table/viewcontactoftableobj.cxx @@ -51,7 +51,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ namespace { class SdrCellPrimitive2D : public BufferedDecompositionPrimitive2D @@ -144,10 +144,10 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrCellPrimitive2D, PRIMITIVE2D_ID_SDRCELLPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace namespace sdr::contact - { +{ static svx::frame::Style impGetLineStyle( const sdr::table::TableLayouter& rLayouter, sal_Int32 nX, @@ -416,6 +416,6 @@ namespace sdr::contact ViewContactOfTableObj::~ViewContactOfTableObj() { } - } // end of namespace sdr +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |