[Libreoffice-commits] .: vcl/aqua
Joseph Powers
jpowers at kemper.freedesktop.org
Wed Feb 9 08:39:57 PST 2011
vcl/aqua/source/gdi/salgdi.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 72157ed84eb6169a95f7182b8763de9c696de237
Author: Joseph Powers <jpowers27 at cox.net>
Date: Wed Feb 9 08:39:50 2011 -0800
Since the prototypes are const, the method should also be const.
PS: Also a missing ";"
diff --git a/vcl/aqua/source/gdi/salgdi.cxx b/vcl/aqua/source/gdi/salgdi.cxx
index 4747872..562ac47 100644
--- a/vcl/aqua/source/gdi/salgdi.cxx
+++ b/vcl/aqua/source/gdi/salgdi.cxx
@@ -158,7 +158,7 @@ ImplFontCharMap* ImplMacFontData::GetImplFontCharMap() const
return mpCharMap;
}
-bool ImplMacFontData::GetImplFontLayoutCapabilities(FontLayoutCapabilities &rFontLayoutCapabilities)
+bool ImplMacFontData::GetImplFontLayoutCapabilities(FontLayoutCapabilities &rFontLayoutCapabilities) const
{
// read this only once per font
if( mbFontLayoutCapabilitiesRead )
@@ -188,7 +188,7 @@ bool ImplMacFontData::GetImplFontLayoutCapabilities(FontLayoutCapabilities &rFon
vcl::getTTFontLayoutCapabilities(maFontLayoutCapabilities, pGSUBTable);
rFontLayoutCapabilities = maFontLayoutCapabilities;
- return !rFontLayoutCapabilities.empty()
+ return !rFontLayoutCapabilities.empty();
}
// -----------------------------------------------------------------------
@@ -2018,7 +2018,7 @@ ImplFontCharMap* AquaSalGraphics::GetImplFontCharMap() const
return mpMacFontData->GetImplFontCharMap();
}
-bool AquaSalGraphics::GetImplFontLayoutCapabilities(FontLayoutCapabilities &rFontLayoutCapabilities)
+bool AquaSalGraphics::GetImplFontLayoutCapabilities(FontLayoutCapabilities &rFontLayoutCapabilities) const
{
if( !mpMacFontData )
return false;
More information about the Libreoffice-commits
mailing list