images: Tango is the most complete theme.
Change-Id: I211d21b09223dfacac18e879993b0f0943b94741
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index b7c2014..a6c8d3e 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -276,14 +276,13 @@ OString Databases::getImagesZipFileURL()
{
if ( aSymbolsStyleName.equalsAscii("auto") )
{
OUString const & env = Application::GetDesktopEnvironment();
if ( env.equalsIgnoreAsciiCase("tde") ||
env.equalsIgnoreAsciiCase("kde") )
aSymbolsStyleName = "crystal";
else if ( env.equalsIgnoreAsciiCase("kde4") )
aSymbolsStyleName = "oxygen";
else
aSymbolsStyleName = "tango";
// with the layered images*.zip, tango is the most
// complete theme, so show that one
// FIXME instead of using a general vnd.sun.star.zip://
// for imgrepos, we should have some vnd.sun.star.image://
// so that we don't have to re-open the stream for every
// image in the help
aSymbolsStyleName = "tango";
}
OUString aZipName = "images_" + aSymbolsStyleName + ".zip";