Kaydet (Commit) b2a17ad0 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

#i79378# WaE fixes by pjanik.

üst 9543f9e7
......@@ -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 @@ REPORTDESIGN_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::style
// -----------------------------------------------------------------------------
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;
......
......@@ -4,9 +4,9 @@
*
* $RCSfile: RptObject.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2007-07-09 11:56:16 $
* last change: $Author: rt $ $Date: 2007-07-09 15:47:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -414,7 +414,7 @@ void OObjectBase::PositionAndSizeChange( const beans::PropertyChangeEvent& evt )
sal_Int32 nWidth = m_xReportComponent->getWidth();
sal_Int32 nHeight = m_xReportComponent->getHeight();
sal_Int32 nValue;
sal_Int32 nValue = 0;
evt.NewValue >>= nValue;
sal_Int32 nNewValue = nValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment