Tag: cws_src680_odbmacros2
User: fs      
Date: 2008-01-23 14:40:52+0000
Modified:
   dba/dbaccess/source/ui/dlg/sqlmessage.cxx

Log:
 #i49133# respect our help URL

File Changes:

Directory: /dba/dbaccess/source/ui/dlg/
=======================================

File [changed]: sqlmessage.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/sqlmessage.cxx?r1=1.28.2.1&r2=1.28.2.2
Delta lines:  +8 -3
-------------------
--- sqlmessage.cxx      2007-12-06 13:34:15+0000        1.28.2.1
+++ sqlmessage.cxx      2008-01-23 14:40:49+0000        1.28.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: sqlmessage.cxx,v $
  *
- *  $Revision: 1.28.2.1 $
+ *  $Revision: 1.28.2.2 $
  *
- *  last change: $Author: fs $ $Date: 2007/12/06 13:34:15 $
+ *  last change: $Author: fs $ $Date: 2008/01/23 14:40:49 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -677,7 +677,12 @@
     if ( m_sHelpURL.getLength() )
     {
         lcl_addButton( *this, BUTTON_HELP, false );
-        // TODO: set help ID
+
+        SmartId aHelpId( m_sHelpURL );
+        if ( m_sHelpURL.indexOfAsciiL( "HID:", 4 ) == 0 )
+            aHelpId = SmartId( m_sHelpURL.copy( 4 ).toInt32() );
+
+        SetSmartHelpId( aHelpId );
     }
 }
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to