Lines Matching refs:aLocaleStr
225 rtl::OUString aLocaleStr; in getSystemDefaultPaper() local
239 xConfigNA->getByName( CREATE_OUSTRING( "ooSetupSystemLocale" ) ) >>= aLocaleStr; in getSystemDefaultPaper()
245 if (aLocaleStr.getLength() == 0) in getSystemDefaultPaper()
360 if( aLocaleStr.getLength() == 0 ) in getSystemDefaultPaper()
366 xConfigNA->getByName( CREATE_OUSTRING( "Locale" ) ) >>= aLocaleStr; in getSystemDefaultPaper()
371 if (aLocaleStr.getLength() == 0) in getSystemDefaultPaper()
372 aLocaleStr = CREATE_OUSTRING("en-US"); in getSystemDefaultPaper()
376 sal_Int32 nDashPos = aLocaleStr.indexOf( '-' ); in getSystemDefaultPaper()
377 if( nDashPos < 0 ) nDashPos = aLocaleStr.getLength(); in getSystemDefaultPaper()
378 aSysLocale.Language = aLocaleStr.copy( 0, nDashPos ); in getSystemDefaultPaper()
379 if( nDashPos + 1 < aLocaleStr.getLength() ) in getSystemDefaultPaper()
380 aSysLocale.Country = aLocaleStr.copy( nDashPos + 1 ); in getSystemDefaultPaper()