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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 28 11:03:37 UTC 2020


 include/vcl/region.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d6fc0133151756e076e572628e830ae87cec643b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 28 09:00:25 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jan 28 12:03:02 2020 +0100

    add SAL_WARN_UNUSED to Region
    
    Change-Id: Iff46a2d46dd9ee7fb4f5966451dac345e1e14126
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87587
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/vcl/region.hxx b/include/vcl/region.hxx
index faa2da61141d..0c8fad891cc0 100644
--- a/include/vcl/region.hxx
+++ b/include/vcl/region.hxx
@@ -40,7 +40,7 @@ typedef std::vector< tools::Rectangle > RectangleVector;
 
 namespace vcl {
 
-class VCL_DLLPUBLIC Region
+class SAL_WARN_UNUSED VCL_DLLPUBLIC Region
 {
 private:
     friend class ::OutputDevice;


More information about the Libreoffice-commits mailing list