summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-12-03 13:19:49 +0000
committerKurt Zenker <kz@openoffice.org>2004-12-03 13:19:49 +0000
commit4d4ef04f5f8d4d90103e8ca0ee364aed0e384df5 (patch)
tree975f839cd32ce7f93d2fe1320154c7f0915045f1 /framework
parent23a576edfc273eeff859b490bb9a74d0177188cf (diff)
INTEGRATION: CWS lastbeta01 (1.12.66); FILE MERGED
2004/11/25 19:39:07 pb 1.12.66.1: fix: #118595# hack for SO8 Beta: 'Support' -> 'Beta Support Forum...'
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/menubarmanager.cxx18
1 files changed, 16 insertions, 2 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 56f2447273b2..07f9da3f66da 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: menubarmanager.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: obo $ $Date: 2004-11-17 12:54:25 $
+ * last change: $Author: kz $ $Date: 2004-12-03 14:19:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -190,6 +190,9 @@
#ifndef _UNOTOOLS_LOCALFILEHELPER_HXX
#include <unotools/localfilehelper.hxx>
#endif
+#ifndef _UTL_CONFIGMGR_HXX_
+#include <unotools/configmgr.hxx>
+#endif
#ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_
#include <toolkit/unohlp.hxx>
#endif
@@ -1541,6 +1544,17 @@ String MenuBarManager::RetrieveLabelFromCommand( const String& aCmdURL )
}
}
+ // --> PB 2004-11-25 #118595# HACK!!! only for SO8 Beta
+ if ( aCmdURL.CompareToAscii( ".uno:HelpSupport" ) == COMPARE_EQUAL )
+ {
+ Any aAny = ::utl::ConfigManager::GetDirectConfigProperty( ::utl::ConfigManager::PRODUCTNAME );
+ rtl::OUString sName;
+ aAny >>= sName;
+ if ( sName.equalsAscii( "StarOffice" ) || sName.equalsAscii( "StarSuite" ) )
+ aLabel = rtl::OUString::createFromAscii( "Beta ~Support Forum..." );
+ }
+ // <--
+
return aLabel;
}