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

David Tardon dtardon at redhat.com
Thu Nov 10 14:36:49 UTC 2016


 vcl/source/gdi/CommonSalLayout.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit bae1e2467e021609d0c5fb5ae3eff4d8b0ab1546
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Nov 10 09:33:57 2016 -0500

    WaE: unused variable
    
    Change-Id: I44fcadbf34677887853324e15cc46388f6f55448

diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 839e225..ac67aa7 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -535,6 +535,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
                     if (u_getIntPropertyValue(aChar, UCHAR_GENERAL_CATEGORY) == U_NON_SPACING_MARK)
                         bDiacritic = true;
 #else
+                    (void) aChar;
                     // the font lacks GDEF table
                     if (pHbPositions[i].x_advance == 0)
                         bDiacritic = true;


More information about the Libreoffice-commits mailing list