[Libreoffice-commits] core.git: vcl/inc vcl/unx
Caolán McNamara
caolanm at redhat.com
Wed Mar 8 15:01:33 UTC 2017
vcl/inc/unx/fontmanager.hxx | 2 +-
vcl/unx/generic/fontmanager/fontmanager.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 29cb3bfc07f42c216b7bbd66d3c8ad14822d49fe
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Mar 8 14:59:40 2017 +0000
const this up
Change-Id: Ie070a3f5c07cd7947d441ee67ca662b9d5764251
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx
index fa99dac..dc0dc9b 100644
--- a/vcl/inc/unx/fontmanager.hxx
+++ b/vcl/inc/unx/fontmanager.hxx
@@ -164,7 +164,7 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
std::unordered_map< int, OString > m_aAtomToDir;
int m_nNextDirAtom;
- OString getFontFile( PrintFont* pFont ) const;
+ OString getFontFile(const PrintFont* pFont) const;
bool analyzeFontFile( int nDirID, const OString& rFileName, std::list< PrintFont* >& rNewFonts, const char *pFormat=nullptr ) const;
static OUString convertSfntName( void* pNameRecord ); // actually a NameRecord* formt font subsetting code
diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx
index 9a0193d..6812f2a 100644
--- a/vcl/unx/generic/fontmanager/fontmanager.cxx
+++ b/vcl/unx/generic/fontmanager/fontmanager.cxx
@@ -945,7 +945,7 @@ FontFamily PrintFontManager::matchFamilyName( const OUString& rFamily )
return FAMILY_DONTKNOW;
}
-OString PrintFontManager::getFontFile( PrintFont* pFont ) const
+OString PrintFontManager::getFontFile(const PrintFont* pFont) const
{
OString aPath;
More information about the Libreoffice-commits
mailing list