diff options
Diffstat (limited to 'sc/source/ui/vba/vbaaxes.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaaxes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaaxes.cxx b/sc/source/ui/vba/vbaaxes.cxx index 7a1a7ad643fe..754aca9a027f 100644 --- a/sc/source/ui/vba/vbaaxes.cxx +++ b/sc/source/ui/vba/vbaaxes.cxx @@ -74,7 +74,7 @@ ScVbaAxes::createAxis( const uno::Reference< excel::XChart >& xChart, const uno: { if ((nAxisGroup != xlPrimary) && (nAxisGroup != xlSecondary)) DebugHelper::runtimeexception(ERRCODE_BASIC_METHOD_FAILED); - xAxisPropertySet.set( pChart->getAxisPropertySet(nType, nAxisGroup), uno::UNO_QUERY_THROW ); + xAxisPropertySet.set( pChart->getAxisPropertySet(nType, nAxisGroup), uno::UNO_SET_THROW ); } else DebugHelper::runtimeexception(ERRCODE_BASIC_METHOD_FAILED); |