Kaydet (Commit) 45c98588 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Crash prevention by checking for NULL.

Change-Id: I10a0c2dcee123b884c563c3e6f83e218747e792a
üst be1152e0
...@@ -63,7 +63,9 @@ public: ...@@ -63,7 +63,9 @@ public:
{ {
try try
{ {
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xChartTypePropertySet( aChartTypes[nN], ::com::sun::star::uno::UNO_QUERY ); uno::Reference<beans::XPropertySet> xChartTypePropertySet(aChartTypes[nN], uno::UNO_QUERY);
if (!xChartTypePropertySet.is())
continue;
Any aSingleValue = this->convertInnerToOuterValue( xChartTypePropertySet->getPropertyValue(m_aOwnInnerName) ); Any aSingleValue = this->convertInnerToOuterValue( xChartTypePropertySet->getPropertyValue(m_aOwnInnerName) );
PROPERTYTYPE aCurValue = PROPERTYTYPE(); PROPERTYTYPE aCurValue = PROPERTYTYPE();
......
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