Tag: cws_dev300_dba30c
User: oj      
Date: 2008-05-09 07:04:29+0000
Modified:
   dba/dbaccess/source/ui/querydesign/QueryDesignView.cxx

Log:
 #i83154# fix groupy having problem

File Changes:

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

File [changed]: QueryDesignView.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QueryDesignView.cxx?r1=1.91&r2=1.91.4.1
Delta lines:  +3 -2
-------------------
--- QueryDesignView.cxx 2008-04-10 16:20:30+0000        1.91
+++ QueryDesignView.cxx 2008-05-09 07:04:26+0000        1.91.4.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: QueryDesignView.cxx,v $
- * $Revision: 1.91 $
+ * $Revision: 1.91.4.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -1568,6 +1568,7 @@
                                // parse condition
                                ::rtl::OUString sCondition = 
ParseCondition(pController,pCondition,sDecimal,aLocale,1);
                                OTableFieldDescRef      aDragLeft = new 
OTableFieldDesc();
+                aDragLeft->SetGroupBy(bHaving); // set group by flag to see if 
we are a having clause
                                if ( eOk == ( eErrorCode = 
FillDragInfo(_pView,pCondition->getChild(0),aDragLeft)) )
                                        _pSelectionBrw->AddCondition(aDragLeft, 
sCondition, nLevel,bAddOrOnOneLine);
                        }




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

Reply via email to