Tag: mws_ooo300
User: rt      
Date: 2008-08-27 15:50:39+0000
Modified:
   dba/dbaccess/source/ui/app/AppController.cxx

Log:
 INTEGRATION: CWS reportbuilderext (1.63.24); FILE MERGED
 2008/08/06 14:07:33 fs 1.63.24.1: #i92508# getSelection: do not ask for the 
E_NONE selection

File Changes:

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

File [changed]: AppController.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.63.14.1&r2=1.63.14.2
Delta lines:  +3 -1
-------------------
--- AppController.cxx   2008-08-14 12:00:30+0000        1.63.14.1
+++ AppController.cxx   2008-08-27 15:50:36+0000        1.63.14.2
@@ -3032,7 +3032,9 @@
     ::osl::MutexGuard aGuard(m_aMutex);
 
     Sequence< NamedDatabaseObject > aCurrentSelection;
-    getContainer()->describeCurrentSelectionForType( 
getContainer()->getElementType(), aCurrentSelection );
+    const ElementType eType( getContainer()->getElementType() );
+    if ( eType != E_NONE )
+        getContainer()->describeCurrentSelectionForType( eType, 
aCurrentSelection );
     return makeAny( aCurrentSelection );
 }
 // 
-----------------------------------------------------------------------------




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

Reply via email to