diff options
author | Frank Schönheit <fs@openoffice.org> | 2000-10-09 11:39:52 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2000-10-09 11:39:52 +0000 |
commit | 303e9e0281b5641fe54d11d19c24c73a37206dad (patch) | |
tree | 2b5941eb8872916efcd31441788c9a82ebbbb228 /dbaccess/source/ui/dlg/sqlmessage.cxx | |
parent | 5665c11113c362da82bc06ec5168ef5bcb202668 (diff) |
some (a lot of) new imlpementations - still under development
Diffstat (limited to 'dbaccess/source/ui/dlg/sqlmessage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/sqlmessage.cxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx index 4c7d24e4fcb1..d270619ffce4 100644 --- a/dbaccess/source/ui/dlg/sqlmessage.cxx +++ b/dbaccess/source/ui/dlg/sqlmessage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sqlmessage.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: fs $ $Date: 2000-10-05 10:06:44 $ + * last change: $Author: fs $ $Date: 2000-10-09 12:39:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -163,9 +163,9 @@ OExceptionChainDialog::OExceptionChainDialog(Window* pParent, const ::com::sun:: DBG_ASSERT(aInfo.isValid(), "OExceptionChainDialog::OExceptionChainDialog : invalid chain start !"); SQLExceptionIteratorHelper aIter(( const ::com::sun::star::sdbc::SQLException*)aInfo); - Image aErrorImage(BMP_EXCEPTION_ERROR), - aWarningImage(BMP_EXCEPTION_WARNING), - m_aInfoImage(BMP_EXCEPTION_INFO); + Image aErrorImage(ModuleRes(BMP_EXCEPTION_ERROR)), + aWarningImage(ModuleRes(BMP_EXCEPTION_WARNING)), + m_aInfoImage(ModuleRes(BMP_EXCEPTION_INFO)); while (aIter.hasMoreElements()) { @@ -193,7 +193,7 @@ OExceptionChainDialog::OExceptionChainDialog(Window* pParent, const ::com::sun:: { UniString sTitle(sErrorCodeLabel); sTitle.AppendAscii(" : "); - sTitle += pUserData->ErrorCode; + sTitle += String::CreateFromInt32(pUserData->ErrorCode); SvLBoxEntry* pErrorCodeEntry = m_aExceptionList.InsertEntry(sTitle, aErrorImage, aErrorImage, pListEntry); pErrorCodeEntry->SetUserData(pUserData); m_aExceptionList.Expand(pListEntry); @@ -508,6 +508,7 @@ OSQLMessageBox::OSQLMessageBox(Window* _pParent, const SQLExceptionInfo& _rExcep ,m_aTitle(this,WB_WORDBREAK | WB_LEFT) ,m_aMessage(this,WB_WORDBREAK | WB_LEFT) ,m_pInfoButton(NULL) + ,m_aNextChainElement(_rException.get()) { Construct(_rException, _nStyle, _eImage); } @@ -546,6 +547,9 @@ IMPL_LINK( OSQLMessageBox, ButtonClickHdl, Button *, pButton ) /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.1 2000/10/05 10:06:44 fs + * initial checkin + * * * Revision 1.0 02.10.00 12:37:20 fs ************************************************************************/ |