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

Eike Rathke erack at redhat.com
Tue Mar 12 11:51:55 PDT 2013


 vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ba3f6551ce47c690267485f3f6f2b6004aae435c
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Mar 12 19:51:16 2013 +0100

    maybe fix MacOSX build
    
    Change-Id: I5a3842e95e45ee80a2a3fb7954fb16878ad16907

diff --git a/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx b/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx
index 93c487e..2ac160d 100644
--- a/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx
+++ b/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx
@@ -315,7 +315,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF
                 // ignore font names starting with '.'
                 if( aUtf16Name[0] == '.' )
                     nNameValue = 0;
-                else if( rDFA.GetFamilyName().Len() )
+                else if( !rDFA.GetFamilyName().isEmpty() )
                 {
                     // even if a family name is not the one we are looking for
                     // it is still useful as a font name alternative
@@ -349,7 +349,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF
         }
     }
 
-    bool bRet = (rDFA.GetFamilyName().Len() > 0);
+    bool bRet = (rDFA.GetFamilyName().getLength() > 0);
     return bRet;
 }
 


More information about the Libreoffice-commits mailing list