summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-21 16:08:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-22 01:30:19 +0200
commit078a23a7f563df4df81954abf0d4b94e9a9663a7 (patch)
tree917b0886d563cb7df8ee999ae629e251991d0f99 /vcl/source/app/svapp.cxx
parentaddcfeb736232d1c0d0c8a173105253c1679e92c (diff)
Remove SAL_FONTPATH and SAL_FONTPATH_PRIVATE
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 9d54803f7f3b..231f5fa97125 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1592,11 +1592,6 @@ sal_uInt16 Application::GetSystemWindowMode()
const String& Application::GetFontPath()
{
ImplSVData* pSVData = ImplGetSVData();
- if( !pSVData->maAppData.mpFontPath )
- {
- if( const char* pFontPath = ::getenv( "SAL_FONTPATH_PRIVATE" ) )
- pSVData->maAppData.mpFontPath = new String( String::CreateFromAscii( pFontPath ) );
- }
if( pSVData->maAppData.mpFontPath )
return *(pSVData->maAppData.mpFontPath);