Tag: cws_src680_reportdesign01
User: oj      
Date: 2007-10-16 06:25:40+0000
Modified:
   dba/reportdesign/source/ui/report/ViewsWindow.cxx

Log:
 #i80881# correct height and width use

File Changes:

Directory: /dba/reportdesign/source/ui/report/
==============================================

File [changed]: ViewsWindow.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/report/ViewsWindow.cxx?r1=1.5&r2=1.5.4.1
Delta lines:  +5 -5
-------------------
--- ViewsWindow.cxx     2007-09-26 14:25:24+0000        1.5
+++ ViewsWindow.cxx     2007-10-16 06:25:37+0000        1.5.4.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: ViewsWindow.cxx,v $
  *
- *  $Revision: 1.5 $
+ *  $Revision: 1.5.4.1 $
  *
- *  last change: $Author: hr $ $Date: 2007/09/26 14:25:24 $
+ *  last change: $Author: oj $ $Date: 2007/10/16 06:25:37 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1077,10 +1077,10 @@
                             if ( pObjBase )
                             {
                                 if ( _nControlModification == 
ControlModification::WIDTH_SMALLEST || _nControlModification == 
ControlModification::WIDTH_GREATEST )
-                                    
pObjBase->getReportComponent()->setSize(awt::Size(nXMov,aObjRect.getWidth()));
+                                    
pObjBase->getReportComponent()->setSize(awt::Size(nXMov,aObjRect.getHeight()));
                                     
//pObj->Resize(aObjRect.TopLeft(),Fraction(nXMov,aObjRect.getWidth()),Fraction(1,1));
                                 else if ( _nControlModification == 
ControlModification::HEIGHT_GREATEST || _nControlModification == 
ControlModification::HEIGHT_SMALLEST )
-                                    
pObjBase->getReportComponent()->setSize(awt::Size(nYMov,aObjRect.getHeight()));
+                                    
pObjBase->getReportComponent()->setSize(awt::Size(aObjRect.getWidth(),nYMov));
                                     
//pObj->Resize(aObjRect.TopLeft(),Fraction(1,1),Fraction(nYMov,aObjRect.getHeight()));
                             }
                         }




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

Reply via email to