summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/provider.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-11 22:48:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-11 22:49:21 +0100
commitc1758889cbd5e8e4afb1044425c908715eb3e1cd (patch)
treeff58b017da12c009f0b17c067787d1dbbd52eb7a /xmlhelp/source/cxxhelp/provider/provider.cxx
parent4ffcc73fa25f174c2d1e161f02cce2d7afc15e3b (diff)
Heavily simplified utl::ConfigManager.
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/provider.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
index 35f84e133b04..33f6ba5ead8f 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
@@ -301,15 +301,6 @@ void ContentProvider::init()
{
}
- /**
- * now determing
- * productname,
- * productversion,
- */
-
- rtl::OUString productname;
- ::utl::ConfigManager::GetDirectConfigProperty(::utl::ConfigManager::PRODUCTNAME) >>= productname;
-
xHierAccess = getHierAccess( sProvider, "org.openoffice.Setup" );
rtl::OUString setupversion(
@@ -371,7 +362,7 @@ void ContentProvider::init()
m_pDatabases = new Databases( showBasic,
instPath,
aImagesZipPaths,
- productname,
+ utl::ConfigManager::getProductName(),
productversion,
stylesheet,
xContext );