diff options
author | David Ostrovsky <david@ostrovsky.org> | 2012-10-25 21:02:50 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-28 18:09:02 +0000 |
commit | 9e716494a8f7a1ffbfd519ffc388df0226f4046f (patch) | |
tree | 99e4fdb269c6d0ea2d8082b88fabc59713062b28 /xmlhelp | |
parent | 1d1bab408421030cb260d67a519d478db87bdff5 (diff) |
fix some VS 2010 specific issues
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82
Reviewed-on: https://gerrit.libreoffice.org/914
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 1d3ca708d61d..fb84af33f690 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -441,7 +441,7 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const rtl::OU rtl::OUString key = processLang(Language) + rtl::OUString( "/" ) + Module; std::pair< ModInfoTable::iterator,bool > aPair = - m_aModInfo.insert( ModInfoTable::value_type( key,0 ) ); + m_aModInfo.insert( ModInfoTable::value_type( key,(StaticModuleInformation*)0 ) ); ModInfoTable::iterator it = aPair.first; @@ -593,7 +593,7 @@ Db* Databases::getBerkeley( const rtl::OUString& Database, key = *pExtensionPath + Language + dbFileName; // make unique, don't change language std::pair< DatabasesTable::iterator,bool > aPair = - m_aDatabases.insert( DatabasesTable::value_type( key,0 ) ); + m_aDatabases.insert( DatabasesTable::value_type( key,(Db*)0 ) ); DatabasesTable::iterator it = aPair.first; @@ -642,7 +642,7 @@ Databases::getCollator( const rtl::OUString& Language, osl::MutexGuard aGuard( m_aMutex ); CollatorTable::iterator it = - m_aCollatorTable.insert( CollatorTable::value_type( key,0 ) ).first; + m_aCollatorTable.insert( CollatorTable::value_type( key,(Reference< XCollator >)0 ) ).first; if( ! it->second.is() ) { @@ -883,7 +883,7 @@ KeywordInfo* Databases::getKeyword( const rtl::OUString& Database, rtl::OUString key = processLang(Language) + rtl::OUString( "/" ) + Database; std::pair< KeywordInfoTable::iterator,bool > aPair = - m_aKeywordInfo.insert( KeywordInfoTable::value_type( key,0 ) ); + m_aKeywordInfo.insert( KeywordInfoTable::value_type( key,(KeywordInfo*)0 ) ); KeywordInfoTable::iterator it = aPair.first; |