[Libreoffice-commits] core.git: compilerplugins/clang

Tor Lillqvist tml at collabora.com
Thu May 7 01:54:02 PDT 2015


 compilerplugins/clang/vclwidgets.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1275a450c10d581e453f0d822d9d77b5bdf07d68
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu May 7 11:52:28 2015 +0300

    More of the same
    
    Change-Id: I2e735a3534a7f374a550d5072359aca70494a547

diff --git a/compilerplugins/clang/vclwidgets.cxx b/compilerplugins/clang/vclwidgets.cxx
index ff55832..77a8476 100644
--- a/compilerplugins/clang/vclwidgets.cxx
+++ b/compilerplugins/clang/vclwidgets.cxx
@@ -179,7 +179,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
     if (foundVclPtrField && pCompoundStatement && pCompoundStatement->size() == 0) {
         report(
             DiagnosticsEngine::Warning,
-            "OutputDevice subclass with VclPtr field must call dispose() from it's destructor.",
+            "OutputDevice subclass with VclPtr field must call dispose() from its destructor.",
             pCXXDestructorDecl->getLocStart())
           << pCXXDestructorDecl->getSourceRange();
         return true;
@@ -378,7 +378,7 @@ bool VCLWidgets::VisitFunctionDecl( const FunctionDecl* functionDecl )
             if (!isDisposeCallingSuperclassDispose(pMethodDecl)) {
                 report(
                     DiagnosticsEngine::Warning,
-                    "OutputDevice subclass dispose() method MUST call it's superclass dispose() as the last thing it does",
+                    "OutputDevice subclass dispose() method MUST call dispose() of its superclass as the last thing it does",
                     functionDecl->getLocStart())
                   << functionDecl->getSourceRange();
            }


More information about the Libreoffice-commits mailing list