[Libreoffice-commits] core.git: include/drawinglayer solenv/clang-format

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 24 05:45:33 UTC 2020


 include/drawinglayer/attribute/linestartendattribute.hxx |   63 +++++++--------
 solenv/clang-format/excludelist                          |    1 
 2 files changed, 31 insertions(+), 33 deletions(-)

New commits:
commit 356006712320c524515a959a022a0f2b02fa63bb
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Wed Oct 21 21:07:40 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue Nov 24 06:44:56 2020 +0100

    remove linestartendattribute.hxx from clang-format excludelist
    
    Change-Id: I2d6cef1d3dff33c6cb2695c645d4f30e899c4616
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106390
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/include/drawinglayer/attribute/linestartendattribute.hxx b/include/drawinglayer/attribute/linestartendattribute.hxx
index ea2bf22235fd..f894a335da4c 100644
--- a/include/drawinglayer/attribute/linestartendattribute.hxx
+++ b/include/drawinglayer/attribute/linestartendattribute.hxx
@@ -22,48 +22,47 @@
 #include <drawinglayer/drawinglayerdllapi.h>
 #include <o3tl/cow_wrapper.hxx>
 
-namespace basegfx {
-    class B2DPolyPolygon;
+namespace basegfx
+{
+class B2DPolyPolygon;
 }
 
-namespace drawinglayer::attribute {
-    class ImpLineStartEndAttribute;
+namespace drawinglayer::attribute
+{
+class ImpLineStartEndAttribute;
 }
 
-
 namespace drawinglayer::attribute
-    {
-        class DRAWINGLAYER_DLLPUBLIC LineStartEndAttribute
-        {
-        public:
-            typedef o3tl::cow_wrapper< ImpLineStartEndAttribute > ImplType;
+{
+class DRAWINGLAYER_DLLPUBLIC LineStartEndAttribute
+{
+public:
+    typedef o3tl::cow_wrapper<ImpLineStartEndAttribute> ImplType;
 
-        private:
-            ImplType mpLineStartEndAttribute;
+private:
+    ImplType mpLineStartEndAttribute;
 
-        public:
-            /// constructors/assignmentoperator/destructor
-            LineStartEndAttribute(
-                double fWidth,
-                const basegfx::B2DPolyPolygon& rPolyPolygon,
-                bool bCentered);
-            LineStartEndAttribute();
-            LineStartEndAttribute(const LineStartEndAttribute&);
-            LineStartEndAttribute& operator=(const LineStartEndAttribute&);
-            ~LineStartEndAttribute();
+public:
+    /// constructors/assignmentoperator/destructor
+    LineStartEndAttribute(double fWidth, const basegfx::B2DPolyPolygon& rPolyPolygon,
+                          bool bCentered);
+    LineStartEndAttribute();
+    LineStartEndAttribute(const LineStartEndAttribute&);
+    LineStartEndAttribute& operator=(const LineStartEndAttribute&);
+    ~LineStartEndAttribute();
 
-            // checks if the incarnation is default constructed
-            bool isDefault() const;
+    // checks if the incarnation is default constructed
+    bool isDefault() const;
 
-            // compare operator
-            bool operator==(const LineStartEndAttribute& rCandidate) const;
+    // compare operator
+    bool operator==(const LineStartEndAttribute& rCandidate) const;
 
-            // data read access
-            double getWidth() const;
-            const basegfx::B2DPolyPolygon& getB2DPolyPolygon() const;
-            bool isCentered() const;
-            bool isActive() const;
-        };
+    // data read access
+    double getWidth() const;
+    const basegfx::B2DPolyPolygon& getB2DPolyPolygon() const;
+    bool isCentered() const;
+    bool isActive() const;
+};
 
 } // end of namespace drawinglayer::attribute
 
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist
index bcd9ff0ccb37..c7eee25f0f8c 100644
--- a/solenv/clang-format/excludelist
+++ b/solenv/clang-format/excludelist
@@ -5230,7 +5230,6 @@ include/dbaccess/genericcontroller.hxx
 include/desktop/crashreport.hxx
 include/drawinglayer/XShapeDumper.hxx
 include/drawinglayer/animation/animationtiming.hxx
-include/drawinglayer/attribute/linestartendattribute.hxx
 include/drawinglayer/attribute/materialattribute3d.hxx
 include/drawinglayer/attribute/sdrallattribute3d.hxx
 include/drawinglayer/attribute/sdrfillattribute.hxx


More information about the Libreoffice-commits mailing list