summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@sun.com>2010-02-19 08:32:22 +0100
committerOcke Janssen [oj] <Ocke.Janssen@sun.com>2010-02-19 08:32:22 +0100
commitd14bf094fd352d419f8b45c8555b5ba2908533b2 (patch)
treebdb18d1ff880ad0990e17ba57641784813003374 /reportdesign
parentdd375df8498937cf6f0e5f6cf89e49b4467941e0 (diff)
dba33e: #i107475# set VerticalAlign at uno control
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index 7140bcdea..cd184aeae 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -670,6 +670,7 @@ void OUnoObject::impl_initializeModel_nothrow()
const Reference< XPropertySet > xModelProps( GetUnoControlModel(), UNO_QUERY_THROW );
const ::rtl::OUString sTreatAsNumberProperty = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TreatAsNumber" ) );
xModelProps->setPropertyValue( sTreatAsNumberProperty, makeAny( sal_False ) );
+ xModelProps->setPropertyValue( PROPERTY_VERTICALALIGN,m_xReportComponent->getPropertyValue(PROPERTY_VERTICALALIGN));
}
}
catch( const Exception& )