diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-05 16:13:05 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-05 16:13:05 +0000 |
commit | 61ea54f0125dc5b9b6e4fae59a0c3c7bd23a7f2d (patch) | |
tree | a45761aa97fd3a9baef04f6c9eff56eb8ad49f9e /extensions | |
parent | f0b36425c1c3b04aba3d68c4043a544677b5d0f0 (diff) |
INTEGRATION: CWS dba30a (1.7.104); FILE MERGED
2008/01/23 14:45:57 fs 1.7.104.1: support for non-numeric HelpURLs
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/pcrcommon.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/pcrcommon.cxx b/extensions/source/propctrlr/pcrcommon.cxx index 56872e639b2c..718da4448924 100644 --- a/extensions/source/propctrlr/pcrcommon.cxx +++ b/extensions/source/propctrlr/pcrcommon.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pcrcommon.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2007-07-06 08:50:48 $ + * last change: $Author: kz $ $Date: 2008-03-05 17:13:05 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -67,12 +67,12 @@ namespace pcr //= HelpIdUrl //======================================================================== //------------------------------------------------------------------------ - sal_uInt32 HelpIdUrl::getHelpId( const ::rtl::OUString& _rHelpURL ) + SmartId HelpIdUrl::getHelpId( const ::rtl::OUString& _rHelpURL ) { - sal_uInt32 nHelpId = 0; + SmartId aSmartHelpId( _rHelpURL ); if ( 0 == _rHelpURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM( "HID:" ) ) ) - nHelpId = _rHelpURL.copy( sizeof( "HID:" ) - 1 ).toInt32(); - return nHelpId; + aSmartHelpId = SmartId( _rHelpURL.copy( sizeof( "HID:" ) - 1 ).toInt32() ); + return aSmartHelpId; } //------------------------------------------------------------------------ |