diff options
Diffstat (limited to 'svx/source/sdr/properties')
22 files changed, 44 insertions, 47 deletions
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: */ |