Lines Matching refs:aLocaleStr
223 rtl::OUString aLocaleStr; in getSystemDefaultPaper() local
237 xConfigNA->getByName( CREATE_OUSTRING( "ooSetupSystemLocale" ) ) >>= aLocaleStr; in getSystemDefaultPaper()
243 if (aLocaleStr.getLength() == 0) in getSystemDefaultPaper()
358 if( aLocaleStr.getLength() == 0 ) in getSystemDefaultPaper()
364 xConfigNA->getByName( CREATE_OUSTRING( "Locale" ) ) >>= aLocaleStr; in getSystemDefaultPaper()
369 if (aLocaleStr.getLength() == 0) in getSystemDefaultPaper()
370 aLocaleStr = CREATE_OUSTRING("en-US"); in getSystemDefaultPaper()
374 sal_Int32 nDashPos = aLocaleStr.indexOf( '-' ); in getSystemDefaultPaper()
375 if( nDashPos < 0 ) nDashPos = aLocaleStr.getLength(); in getSystemDefaultPaper()
376 aSysLocale.Language = aLocaleStr.copy( 0, nDashPos ); in getSystemDefaultPaper()
377 if( nDashPos + 1 < aLocaleStr.getLength() ) in getSystemDefaultPaper()
378 aSysLocale.Country = aLocaleStr.copy( nDashPos + 1 ); in getSystemDefaultPaper()