User: rt      
Date: 2007-07-09 15:47:03+0000
Modified:
   dba/reportdesign/inc/RptDef.hxx

Log:
 #i79378# WaE fixes by pjanik.

File Changes:

Directory: /dba/reportdesign/inc/
=================================

File [changed]: RptDef.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/inc/RptDef.hxx?r1=1.2&r2=1.3
Delta lines:  +3 -3
-------------------
--- RptDef.hxx  2007-07-09 11:56:02+0000        1.2
+++ RptDef.hxx  2007-07-09 15:47:00+0000        1.3
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: RptDef.hxx,v $
  *
- *  $Revision: 1.2 $
+ *  $Revision: 1.3 $
  *
- *  last change: $Author: rt $ $Date: 2007/07/09 11:56:02 $
+ *  last change: $Author: rt $ $Date: 2007/07/09 15:47:00 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -102,7 +102,7 @@
 // 
-----------------------------------------------------------------------------
 template < typename T> T getStyleProperty(const 
::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition>& 
_xReport,const ::rtl::OUString& _sPropertyName)
 {
-    T nReturn;
+    T nReturn = T();
     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> 
xProp(getUsedStyle(_xReport),::com::sun::star::uno::UNO_QUERY_THROW);
     xProp->getPropertyValue(_sPropertyName) >>= nReturn;
     return nReturn;




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

Reply via email to