[Libreoffice-commits] core.git: vcl/inc

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 5 10:29:19 UTC 2019


 vcl/inc/win/salgdi.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b024d8bcedc93f1f5c60c7f5eeb54d08b751d950
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Dec 5 09:32:22 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Dec 5 11:28:00 2019 +0100

    -Werror,-Wmicrosoft-pure-definition (clang-cl)
    
    ("function definition with pure-specifier is a Microsoft extension").  Keeping
    it pure but implicitly defined (by dropping the "{}" part) would cause
    unresolved symbols during linking, so keep it explicitly defined inline but non-
    pure (which should be fine as the class still has other pure members).
    
    Change-Id: Ieff73fd5c9010164c202f752605890b78809caa6
    Reviewed-on: https://gerrit.libreoffice.org/84507
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index fc12bc823b93..dced53aecfb0 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -150,7 +150,7 @@ public:
 
 struct CompatibleDC::Texture
 {
-    virtual ~Texture() = 0 {};
+    virtual ~Texture() {};
     virtual bool isValid() const = 0;
     virtual int GetWidth() const = 0;
     virtual int GetHeight() const = 0;


More information about the Libreoffice-commits mailing list