Lines Matching refs:aResourceName
2111 char aResourceName[512]; in ImplAddTempFont() local
2112 int nMaxLen = sizeof(aResourceName)/sizeof(*aResourceName) - 16; in ImplAddTempFont()
2113 int nLen = ::GetTempPathA( nMaxLen, aResourceName ); in ImplAddTempFont()
2114 ::strncpy( aResourceName + nLen, aFileName, sizeof( aResourceName )- nLen ); in ImplAddTempFont()
2116 aResourceName[ (sizeof(aResourceName)/sizeof(*aResourceName))-1 ] = 0; in ImplAddTempFont()
2117 ::DeleteFileA( aResourceName ); in ImplAddTempFont()
2122 if( !::CreateScalableFontResourceA( 0, aResourceName, aCFileName.getStr(), NULL ) ) in ImplAddTempFont()
2126 nRet = ::AddFontResourceA( aResourceName ); in ImplAddTempFont()
2130 pNewItem->maResourcePath = rtl::OString( aResourceName ); in ImplAddTempFont()
2193 char aResourceName[512]; in ImplGetFontAttrFromFile() local
2194 int nMaxLen = sizeof(aResourceName)/sizeof(*aResourceName) - 16; in ImplGetFontAttrFromFile()
2195 int nLen = ::GetTempPathA( nMaxLen, aResourceName ); in ImplGetFontAttrFromFile()
2196 ::strncpy( aResourceName + nLen, aFileName, Max( 0, nMaxLen - nLen )); in ImplGetFontAttrFromFile()
2197 ::DeleteFileA( aResourceName ); in ImplGetFontAttrFromFile()
2202 ::CreateScalableFontResourceA( 0, aResourceName, aCFileName.getStr(), NULL ); in ImplGetFontAttrFromFile()
2205 … rtl::OUString aFotFileName = rtl::OStringToOUString( aResourceName, osl_getThreadTextEncoding() ); in ImplGetFontAttrFromFile()
2217 ::DeleteFileA( aResourceName ); in ImplGetFontAttrFromFile()