diff options
Diffstat (limited to 'vcl/generic/fontmanager/fontmanager.cxx')
-rw-r--r-- | vcl/generic/fontmanager/fontmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx index 37cc0e719c62..ca9651ef1dcc 100644 --- a/vcl/generic/fontmanager/fontmanager.cxx +++ b/vcl/generic/fontmanager/fontmanager.cxx @@ -717,7 +717,7 @@ std::vector<fontID> PrintFontManager::addFontFile( const OString& rFileName ) INetURLObject aPath( OStringToOUString( rFileName, aEncoding ), INetURLObject::FSYS_DETECT ); OString aName( OUStringToOString( aPath.GetName( INetURLObject::DECODE_WITH_CHARSET, aEncoding ), aEncoding ) ); OString aDir( OUStringToOString( - INetURLObject::decode( aPath.GetPath(), '%', INetURLObject::DECODE_WITH_CHARSET, aEncoding ), aEncoding ) ); + INetURLObject::decode( aPath.GetPath(), INetURLObject::DECODE_WITH_CHARSET, aEncoding ), aEncoding ) ); int nDirID = getDirectoryAtom( aDir, true ); std::vector<fontID> aFontIds = findFontFileIDs( nDirID, aName ); |