summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-21 16:12:15 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-21 16:12:15 +0000
commit3f46cbcfaa607b1524959ea799da027a2aac08ab (patch)
tree6ab28c6a2b4fdaed73bdba264f505b8e43f67069 /desktop
parentab30e10a5bd20e4f823124780dd75816e7c6d706 (diff)
INTEGRATION: CWS impress23 (1.7.16); FILE MERGED
2004/12/29 14:39:36 dbo 1.7.16.1: #i38957# removed extract_throw<>(), using Any::get<>() now
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/dp_resource.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/desktop/source/deployment/misc/dp_resource.cxx b/desktop/source/deployment/misc/dp_resource.cxx
index 0848920a26d1..db50307ed0d2 100644
--- a/desktop/source/deployment/misc/dp_resource.cxx
+++ b/desktop/source/deployment/misc/dp_resource.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dp_resource.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2005-01-04 09:14:35 $
+ * last change: $Author: kz $ $Date: 2005-01-21 17:12:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -117,9 +117,8 @@ String getResourceString( USHORT id )
static String s_brandName;
if (s_brandName.Len() == 0) {
OUString brandName(
- extract_throw<OUString>(
- ::utl::ConfigManager::GetDirectConfigProperty(
- ::utl::ConfigManager::PRODUCTNAME ) ) );
+ ::utl::ConfigManager::GetDirectConfigProperty(
+ ::utl::ConfigManager::PRODUCTNAME ).get<OUString>() );
s_brandName = brandName;
}
ret.SearchAndReplaceAllAscii( "%PRODUCTNAME", s_brandName );