summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx7
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx5
2 files changed, 3 insertions, 9 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index 25c9d4f75467..846131ebdc79 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -515,11 +515,8 @@ helpdatafileproxy::Hdf* Databases::getHelpDataFile( const OUString& Database,
}
Reference< XCollator >
-Databases::getCollator( const OUString& Language,
- const OUString& System )
+Databases::getCollator( const OUString& Language )
{
- (void)System;
-
OUString key = Language;
osl::MutexGuard aGuard( m_aMutex );
@@ -799,7 +796,7 @@ KeywordInfo* Databases::getKeyword( const OUString& Database,
}
// sorting
- Reference< XCollator > xCollator = getCollator( Language,OUString());
+ Reference< XCollator > xCollator = getCollator( Language );
KeywordElementComparator aComparator( xCollator );
std::sort(aVector.begin(),aVector.end(),aComparator);
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index da69ca48432f..2b5975119e12 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -164,11 +164,8 @@ namespace chelp {
/**
* The following method returns the Collator for the given language-country combination
*/
-
css::uno::Reference< css::i18n::XCollator >
- getCollator( const OUString& Language,
- const OUString& System ); // System not used by current implementation
- // // of XCollator
+ getCollator( const OUString& Language );
/**
* Returns the cascading style sheet used to format the HTML-output.