[Libreoffice-commits] core.git: include/svx

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 14 06:50:49 UTC 2020


 include/svx/svdograf.hxx |   59 ++++++++++++++++++++++++++++++-----------------
 1 file changed, 38 insertions(+), 21 deletions(-)

New commits:
commit 16e88bd68c523117fee9070c986151a781c0e7bf
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Tue Oct 13 15:51:52 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Wed Oct 14 08:50:13 2020 +0200

    cleanup SdrGrafObj and remove unneeded semi-colons
    
    Change-Id: I817eaecf9c88440586e0d5fcd3fd0a3ce592195d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104237
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx
index ef2be491ce6c..11ab6f115780 100644
--- a/include/svx/svdograf.hxx
+++ b/include/svx/svdograf.hxx
@@ -220,76 +220,93 @@ public:
     virtual void addCropHandles(SdrHdlList& rTarget) const override;
 
     // Signature Line
-    void setIsSignatureLine(bool bIsSignatureLine) { mbIsSignatureLine = bIsSignatureLine; };
-    bool isSignatureLine() const { return mbIsSignatureLine; };
+    void setIsSignatureLine(bool bIsSignatureLine) { mbIsSignatureLine = bIsSignatureLine; }
+    bool isSignatureLine() const { return mbIsSignatureLine; }
+
     void setSignatureLineId(const OUString& rSignatureLineId)
     {
         maSignatureLineId = rSignatureLineId;
-    };
-    const OUString& getSignatureLineId() const { return maSignatureLineId; };
+    }
+
+    const OUString& getSignatureLineId() const { return maSignatureLineId; }
+
     void setSignatureLineSuggestedSignerName(const OUString& rSuggestedSignerName)
     {
         maSignatureLineSuggestedSignerName = rSuggestedSignerName;
-    };
+    }
+
     const OUString& getSignatureLineSuggestedSignerName() const
     {
         return maSignatureLineSuggestedSignerName;
-    };
+    }
+
     void setSignatureLineSuggestedSignerTitle(const OUString& rSuggestedSignerTitle)
     {
         maSignatureLineSuggestedSignerTitle = rSuggestedSignerTitle;
-    };
+    }
+
     const OUString& getSignatureLineSuggestedSignerTitle() const
     {
         return maSignatureLineSuggestedSignerTitle;
-    };
+    }
+
     void setSignatureLineSuggestedSignerEmail(const OUString& rSuggestedSignerEmail)
     {
         maSignatureLineSuggestedSignerEmail = rSuggestedSignerEmail;
-    };
+    }
     const OUString& getSignatureLineSuggestedSignerEmail() const
     {
         return maSignatureLineSuggestedSignerEmail;
-    };
+    }
+
     void setSignatureLineSigningInstructions(const OUString& rSigningInstructions)
     {
         maSignatureLineSigningInstructions = rSigningInstructions;
-    };
+    }
+
     const OUString& getSignatureLineSigningInstructions() const
     {
         return maSignatureLineSigningInstructions;
-    };
+    }
+
     void setSignatureLineShowSignDate(bool bIsSignatureLineShowSignDate)
     {
         mbIsSignatureLineShowSignDate = bIsSignatureLineShowSignDate;
-    };
-    bool isSignatureLineShowSignDate() const { return mbIsSignatureLineShowSignDate; };
+    }
+
+    bool isSignatureLineShowSignDate() const { return mbIsSignatureLineShowSignDate; }
+
     void setSignatureLineCanAddComment(bool bIsSignatureCanAddComment)
     {
         mbIsSignatureLineCanAddComment = bIsSignatureCanAddComment;
-    };
-    bool isSignatureLineCanAddComment() const { return mbIsSignatureLineCanAddComment; };
+    }
+
+    bool isSignatureLineCanAddComment() const { return mbIsSignatureLineCanAddComment; }
+
     css::uno::Reference<css::graphic::XGraphic> const & getSignatureLineUnsignedGraphic() const
     {
         return mpSignatureLineUnsignedGraphic;
-    };
+    }
+
     void setSignatureLineUnsignedGraphic(css::uno::Reference<css::graphic::XGraphic> rGraphic)
     {
         mpSignatureLineUnsignedGraphic = rGraphic;
-    };
-    bool isSignatureLineSigned() const { return mbSignatureLineIsSigned; };
+    }
+
+    bool isSignatureLineSigned() const { return mbSignatureLineIsSigned; }
+
     void setSignatureLineIsSigned(bool bIsSigned) { mbSignatureLineIsSigned = bIsSigned; }
 
     // Qr Code
     void setQrCode(css::drawing::QRCode& rQrCode)
     {
         mpQrCode = std::make_unique<css::drawing::QRCode>(rQrCode);
-    };
+    }
 
     css::drawing::QRCode* getQrCode() const
     {
         return mpQrCode.get();
-    };
+    }
 };
 
 #endif // INCLUDED_SVX_SVDOGRAF_HXX


More information about the Libreoffice-commits mailing list