summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorPeter Burow <pb@openoffice.org>2001-06-18 10:51:31 +0000
committerPeter Burow <pb@openoffice.org>2001-06-18 10:51:31 +0000
commit2d8a93bbe4dc957af95af5ef97e80a8444f62c6c (patch)
tree2e718cc0b7c3a7cd76169fbd38d67d4eeb755eb6 /sfx2
parentabb40ea42bddd9b4fd77f67c96f2b91e06a93882 (diff)
fix: #88353# helpids are ULONG -> CreateFromInt64() instead of ...Int32()
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 1ef626747c4c..ea6cf2c7c1f6 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sfxhelp.cxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: mba $ $Date: 2001-06-18 10:04:31 $
+ * last change: $Author: pb $ $Date: 2001-06-18 11:51:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -209,7 +209,7 @@ String SfxHelpDB_Impl::GetHelpText( ULONG nHelpId, const String& rModule )
if ( bOpenDB )
{
- ByteString aKeyStr = ByteString::CreateFromInt32( nHelpId );
+ ByteString aKeyStr = ByteString::CreateFromInt64( nHelpId );
Dbt aKey( (void*)aKeyStr.GetBuffer(), aKeyStr.Len() );
Dbt aData;
aData.set_flags( DB_DBT_MALLOC );
@@ -414,13 +414,13 @@ XubString SfxHelp::GetHelpText( ULONG nHelpId, const Window* pWindow )
aHelpText += DEFINE_CONST_UNICODE("\n\n");
aHelpText += aModuleName;
aHelpText += DEFINE_CONST_UNICODE(" - ");
- aHelpText += String::CreateFromInt32( nHelpId );
+ aHelpText += String::CreateFromInt64( nHelpId );
}
return aHelpText;
}
-String SfxHelp::CreateHelpURL( sal_Int32 nHelpId, const String& rModuleName )
+String SfxHelp::CreateHelpURL( ULONG nHelpId, const String& rModuleName )
{
// build up the help URL
String aHelpURL;
@@ -437,7 +437,7 @@ String SfxHelp::CreateHelpURL( sal_Int32 nHelpId, const String& rModuleName )
else
{
aHelpURL += DEFINE_CONST_UNICODE("&HELP_ContextID=-");
- aHelpURL += String::CreateFromInt32( nHelpId );
+ aHelpURL += String::CreateFromInt64( nHelpId );
}
aHelpURL += DEFINE_CONST_UNICODE("&HELP_ProgramID=");
@@ -466,7 +466,7 @@ String SfxHelp::CreateHelpURL( sal_Int32 nHelpId, const String& rModuleName )
else
{
aHelpURL += '/';
- aHelpURL += String::CreateFromInt32( nHelpId );
+ aHelpURL += String::CreateFromInt64( nHelpId );
}
AppendConfigToken_Impl( aHelpURL, sal_True );