Tag: cws_src680_dba202e
User: fs      
Date: 05/12/08 06:11:01

Modified:
 /dba/dbaccess/source/ui/uno/
  composerdialogs.cxx

Log:
 #121295# RowsetOrderDialog::executedDialog: recognize a NULL dialog

File Changes:

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

File [changed]: composerdialogs.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/uno/composerdialogs.cxx?r1=1.5&r2=1.5.56.1
Delta lines:  +8 -7
-------------------
--- composerdialogs.cxx 23 Sep 2005 12:47:12 -0000      1.5
+++ composerdialogs.cxx 8 Dec 2005 14:10:57 -0000       1.5.56.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: composerdialogs.cxx,v $
  *
- *  $Revision: 1.5 $
+ *  $Revision: 1.5.56.1 $
  *
- *  last change: $Author: hr $ $Date: 2005/09/23 12:47:12 $
+ *  last change: $Author: fs $ $Date: 2005/12/08 14:10:57 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -213,12 +213,13 @@
     {
                ComposerDialog::executedDialog( _nExecutionResult );
 
-               if ( _nExecutionResult && m_pDialog )
+        if ( !m_pDialog )
+            return;
+
+        if ( _nExecutionResult )
                        static_cast< DlgOrderCrit* >( m_pDialog 
)->BuildOrderPart();
                else if ( m_xComposer.is() )
-               {
                        m_xComposer->setOrder( static_cast< DlgOrderCrit* >( 
m_pDialog )->GetOrignalOrder() );
-               }
     }
 
 //.........................................................................




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

Reply via email to