diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-27 22:28:43 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-27 22:28:56 +0100 |
commit | c8209ae6ae2a2e33c63fda48efc7c3381cd095b2 (patch) | |
tree | 64cb112a6d9675b7ed07df250357932f9856cc1a /tools | |
parent | 76c22d36f15d1c2447ba9c7470a2d173e398bc03 (diff) |
added FIXME markers
Change-Id: I7f9b5f9843c6f20fec17cec1e43d49624922b4fe
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/rc/resmgr.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 2f35eeffd8c6..8ddef9c58bbe 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -270,6 +270,7 @@ InternalResMgr* ResMgrContainer::getResMgr( const OUString& rPrefix, OUStringBuffer aSearch( rPrefix.getLength() + 16 ); boost::unordered_map< OUString, ContainerElement, OUStringHash >::iterator it = m_aResFiles.end(); + /* FIXME-BCP47: handle language tags! */ int nTries = 0; if( !aLocale.Language.isEmpty() ) nTries = 1; @@ -362,6 +363,7 @@ InternalResMgr* ResMgrContainer::getResMgr( const OUString& rPrefix, // give up if( it == m_aResFiles.end() ) { + /* FIXME-BCP47: handle language tags! */ OUStringBuffer sKey = rPrefix; sKey.append( rLocale.Language ); if( !rLocale.Country.isEmpty() ) @@ -423,6 +425,7 @@ InternalResMgr* ResMgrContainer::getResMgr( const OUString& rPrefix, InternalResMgr* ResMgrContainer::getNextFallback( InternalResMgr* pMgr ) { + /* FIXME-BCP47: handle language tags! */ com::sun::star::lang::Locale aLocale = pMgr->aLocale; if( !aLocale.Variant.isEmpty() ) aLocale.Variant = OUString(); @@ -1595,6 +1598,7 @@ ResMgr* ResMgr::CreateResMgr( const sal_Char* pPrefixName, OUString aPrefix( pPrefixName, strlen( pPrefixName ), osl_getThreadTextEncoding() ); + /* FIXME-BCP47: handle language tags! */ if( aLocale.Language.isEmpty() ) aLocale = ResMgrContainer::get().getDefLocale(); @@ -1615,6 +1619,7 @@ ResMgr* ResMgr::SearchCreateResMgr( OUString aPrefix( pPrefixName, strlen( pPrefixName ), osl_getThreadTextEncoding() ); + /* FIXME-BCP47: handle language tags! */ if( rLocale.Language.isEmpty() ) rLocale = ResMgrContainer::get().getDefLocale(); @@ -1824,6 +1829,7 @@ SimpleResMgr::SimpleResMgr( const sal_Char* pPrefixName, com::sun::star::lang::Locale aLocale( rLocale ); osl::Guard<osl::Mutex> aGuard( getResMgrMutex() ); + /* FIXME-BCP47: handle language tags! */ if( aLocale.Language.isEmpty() ) aLocale = ResMgrContainer::get().getDefLocale(); |