diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accfrmobj.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/crsr/overlayrangesoutline.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/draw/dcontact.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 20 | ||||
-rw-r--r-- | sw/source/core/layout/legacyitem.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/docvw/AnchorOverlayObject.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/OverlayRanges.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/docvw/frmsidebarwincontainer.cxx | 2 |
10 files changed, 27 insertions, 27 deletions
diff --git a/sw/source/core/access/accfrmobj.cxx b/sw/source/core/access/accfrmobj.cxx index ad0bfa55cc7f..c09c0215e3db 100644 --- a/sw/source/core/access/accfrmobj.cxx +++ b/sw/source/core/access/accfrmobj.cxx @@ -403,6 +403,6 @@ const SwFrame* SwAccessibleChild::GetParent( const bool bInPagePreview ) const return pParent; } -} // eof of namespace sw::access +} // namespace sw::access /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/crsr/overlayrangesoutline.cxx b/sw/source/core/crsr/overlayrangesoutline.cxx index 7c105698c854..0a433b350313 100644 --- a/sw/source/core/crsr/overlayrangesoutline.cxx +++ b/sw/source/core/crsr/overlayrangesoutline.cxx @@ -51,7 +51,7 @@ namespace } namespace sw::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayRangesOutline::createOverlayObjectPrimitive2DSequence() { drawinglayer::primitive2d::Primitive2DContainer aRetval; @@ -99,6 +99,6 @@ namespace sw::overlay objectChange(); } } - } // end of namespace sdr +} // end of namespace sw::overlay /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 581d9c3f7dc8..1b78c24aa0dc 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -1989,7 +1989,7 @@ void SwDrawContact::GetAnchoredObjs(std::vector<SwAnchoredObject*>& o_rAnchoredO // not possible since we have no OutputDevice, but define the geometry itself. namespace sdr::contact - { +{ namespace { class VOCOfDrawVirtObj : public ViewObjectContactOfSdrObj @@ -2037,10 +2037,10 @@ namespace sdr::contact }; } - } // end of namespace sdr +} // end of namespace sdr::contact namespace sdr::contact - { +{ /// recursively collect primitive data from given VOC with given offset static void impAddPrimitivesFromGroup(const ViewObjectContact& rVOC, const basegfx::B2DHomMatrix& rOffsetMatrix, const DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DContainer& rxTarget) { @@ -2145,7 +2145,7 @@ namespace sdr::contact return *(new VOCOfDrawVirtObj(rObjectContact, *this)); } - } // end of namespace sdr +} // end of namespace sdr::contact /// implementation of class <SwDrawVirtObj> std::unique_ptr<sdr::contact::ViewContact> SwDrawVirtObj::CreateObjectSpecificViewContact() diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index 2ff59ec47287..282fc1a91119 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -72,7 +72,7 @@ static bool bInResize = false; namespace sdr::contact - { +{ namespace { /** @@ -108,7 +108,7 @@ namespace sdr::contact return drawinglayer::primitive2d::Primitive2DContainer(); } - } // end of namespace sdr +} // end of namespace sdr::contact std::unique_ptr<sdr::properties::BaseProperties> SwFlyDrawObj::CreateObjectSpecificProperties() { @@ -146,7 +146,7 @@ sal_uInt16 SwFlyDrawObj::GetObjIdentifier() const // TODO: Need own primitive to get the FlyFrame paint working namespace drawinglayer::primitive2d - { +{ namespace { class SwVirtFlyDrawObjPrimitive : public BufferedDecompositionPrimitive2D @@ -185,10 +185,10 @@ namespace drawinglayer::primitive2d }; } - } // end of namespace drawinglayer +} // end of namespace drawinglayer::primitive2d namespace drawinglayer::primitive2d - { +{ void SwVirtFlyDrawObjPrimitive::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*rViewInformation*/) const { if(!getOuterRange().isEmpty()) @@ -240,7 +240,7 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SwVirtFlyDrawObjPrimitive, PRIMITIVE2D_ID_SWVIRTFLYDRAWOBJPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace drawinglayer::primitive2d // AW: own sdr::contact::ViewContact (VC) sdr::contact::ViewObjectContact (VOC) needed // since offset is defined different from SdrVirtObj's sdr::contact::ViewContactOfVirtObj. @@ -248,7 +248,7 @@ namespace drawinglayer::primitive2d // not possible since we have no OutputDevice, but define the geometry itself. namespace sdr::contact - { +{ namespace { class VCOfSwVirtFlyDrawObj : public ViewContactOfVirtObj @@ -275,10 +275,10 @@ namespace sdr::contact }; } - } // end of namespace sdr +} // end of namespace sdr::contact namespace sdr::contact - { +{ drawinglayer::primitive2d::Primitive2DContainer VCOfSwVirtFlyDrawObj::createViewIndependentPrimitive2DSequence() const { drawinglayer::primitive2d::Primitive2DContainer xRetval; @@ -304,7 +304,7 @@ namespace sdr::contact return xRetval; } - } // end of namespace sdr +} // end of namespace sdr::contact basegfx::B2DRange SwVirtFlyDrawObj::getOuterBound() const { diff --git a/sw/source/core/layout/legacyitem.cxx b/sw/source/core/layout/legacyitem.cxx index 02be381eb9b4..932afa918550 100644 --- a/sw/source/core/layout/legacyitem.cxx +++ b/sw/source/core/layout/legacyitem.cxx @@ -23,7 +23,7 @@ #include <fmtornt.hxx> namespace legacy::SwFormatVert - { +{ sal_uInt16 GetVersion(sal_uInt16) { return 0; @@ -74,6 +74,6 @@ namespace legacy::SwFormatVert rStrm.WriteInt16(rItem.GetVertOrient()).WriteInt16(rItem.GetRelationOrient()); return rStrm; } - } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 54da14443856..b0763d99f6d4 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -4516,7 +4516,7 @@ void SwFrame::PaintBorderLine( const SwRect& rRect, } namespace drawinglayer::primitive2d - { +{ namespace { class SwBorderRectanglePrimitive2D : public BufferedDecompositionPrimitive2D @@ -4759,7 +4759,7 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SwBorderRectanglePrimitive2D, PRIMITIVE2D_ID_SWBORDERRECTANGLERIMITIVE) - } // end of namespace drawinglayer +} // end of namespace drawinglayer::primitive2d namespace { diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index eaa7e9d957ae..f135c70eeba2 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -6555,7 +6555,7 @@ bool SwWW8ImplReader::InEqualApo(int nLvl) const } namespace sw::hack - { +{ Position::Position(const SwPosition &rPos) : maPtNode(rPos.nNode), mnPtContent(rPos.nContent.GetIndex()) { @@ -6567,7 +6567,7 @@ namespace sw::hack aRet.nContent.Assign(maPtNode.GetNode().GetContentNode(), mnPtContent); return aRet; } - } +} SwMacroInfo::SwMacroInfo() : SdrObjUserData( SdrInventor::ScOrSwDraw, SW_UD_IMAPDATA ) diff --git a/sw/source/uibase/docvw/AnchorOverlayObject.cxx b/sw/source/uibase/docvw/AnchorOverlayObject.cxx index f6b3de150c8c..b5a216330587 100644 --- a/sw/source/uibase/docvw/AnchorOverlayObject.cxx +++ b/sw/source/uibase/docvw/AnchorOverlayObject.cxx @@ -377,6 +377,6 @@ void AnchorOverlayObject::SetAnchorState( const AnchorState aState) } } -} // end of namespace sw::annotation +} // end of namespace sw::sidebarwindows /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/docvw/OverlayRanges.cxx b/sw/source/uibase/docvw/OverlayRanges.cxx index 9f7f7968f8d7..4a347e4d8972 100644 --- a/sw/source/uibase/docvw/OverlayRanges.cxx +++ b/sw/source/uibase/docvw/OverlayRanges.cxx @@ -56,7 +56,7 @@ namespace } namespace sw::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayRanges::createOverlayObjectPrimitive2DSequence() { const sal_uInt32 nCount(getRanges().size()); @@ -172,6 +172,6 @@ namespace sw::overlay } } - } // end of namespace sdr +} // end of namespace sw::overlay /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/docvw/frmsidebarwincontainer.cxx b/sw/source/uibase/docvw/frmsidebarwincontainer.cxx index f52177742148..17da0beee4f8 100644 --- a/sw/source/uibase/docvw/frmsidebarwincontainer.cxx +++ b/sw/source/uibase/docvw/frmsidebarwincontainer.cxx @@ -167,6 +167,6 @@ void SwFrameSidebarWinContainer::getAll( const SwFrame& rFrame, } } -} // eof of namespace sw::sidebarwindows:: +} // eof of namespace sw::sidebarwindows /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |