diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-12 10:05:38 +0100 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-03-12 23:12:14 +0000 |
commit | f92a5927052f1e96ed864dd6bc6326531db4fd1f (patch) | |
tree | 613853e86c57e2f932b3f15a432318d98d938d30 /vcl/aqua | |
parent | 133fbbcbd3fa8fec3920b53f6b93f5d3c4779a35 (diff) |
Polishing 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10
Change-Id: I73334fca8429dc0ad4250ce638027fa52245dec4
Reviewed-on: https://gerrit.libreoffice.org/2676
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl/aqua')
-rw-r--r-- | vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx b/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx index 2ac160d23c12..502c33bbd502 100644 --- a/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx +++ b/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx @@ -305,7 +305,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF aUtf16Name = OUString( &aNameBuffer[0], nNameLength, eEncoding ); // ignore empty strings - if( aUtf16Name.getLength() <= 0 ) + if( aUtf16Name.isEmpty() ) continue; // handle the name depending on its namecode |