Kaydet (Commit) 5a410d2e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clang -Wunneeded-internal-declaration.

üst 9892e4c8
...@@ -2587,30 +2587,6 @@ bool PrintFontManager::getMetrics( fontID nFontID, sal_Unicode minCharacter, sal ...@@ -2587,30 +2587,6 @@ bool PrintFontManager::getMetrics( fontID nFontID, sal_Unicode minCharacter, sal
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
static bool createWriteablePath( const ByteString& rPath )
{
bool bSuccess = false;
if( access( rPath.GetBuffer(), W_OK ) )
{
int nPos = rPath.SearchBackward( '/' );
if( nPos != STRING_NOTFOUND )
while( nPos > 0 && rPath.GetChar( nPos ) == '/' )
nPos--;
if( nPos != STRING_NOTFOUND && nPos != 0 && createWriteablePath( rPath.Copy( 0, nPos+1 ) ) )
{
bSuccess = mkdir( rPath.GetBuffer(), 0777 ) ? false : true;
}
}
else
bSuccess = true;
return bSuccess;
}
// -------------------------------------------------------------------------
// TODO: move most of this stuff into the central font-subsetting code // TODO: move most of this stuff into the central font-subsetting code
bool PrintFontManager::createFontSubset( bool PrintFontManager::createFontSubset(
FontSubsetInfo& rInfo, FontSubsetInfo& rInfo,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment