diff options
Diffstat (limited to 'sc/source/ui/vba/vbaaxis.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaaxis.cxx | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/sc/source/ui/vba/vbaaxis.cxx b/sc/source/ui/vba/vbaaxis.cxx index 1f1349b05f3b..9d21e52baed0 100644 --- a/sc/source/ui/vba/vbaaxis.cxx +++ b/sc/source/ui/vba/vbaaxis.cxx @@ -34,7 +34,7 @@ const OUString AUTOORIGIN("AutoOrigin"); const OUString VBA_MIN("Max"); const OUString VBA_MAX("Min"); ScVbaChart* -ScVbaAxis::getChartPtr() throw( uno::RuntimeException ) +ScVbaAxis::getChartPtr() { ScVbaChart* pChart = static_cast< ScVbaChart* >( moChartParent.get() ); if ( !pChart ) @@ -43,7 +43,7 @@ ScVbaAxis::getChartPtr() throw( uno::RuntimeException ) } bool -ScVbaAxis::isValueAxis() throw( script::BasicErrorException ) +ScVbaAxis::isValueAxis() { if ( getType() == xlCategory ) { @@ -61,14 +61,14 @@ ScVbaAxis::ScVbaAxis( const uno::Reference< XHelperInterface >& xParent,const un } void SAL_CALL -ScVbaAxis::Delete( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::Delete( ) { uno::Reference< lang::XComponent > xComponent( mxPropertySet, uno::UNO_QUERY_THROW ); xComponent->dispose(); } uno::Reference< ::ooo::vba::excel::XAxisTitle > SAL_CALL -ScVbaAxis::getAxisTitle( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getAxisTitle( ) { uno::Reference< excel::XAxisTitle > xAxisTitle; try @@ -101,20 +101,20 @@ ScVbaAxis::getAxisTitle( ) throw (script::BasicErrorException, uno::RuntimeExce } void SAL_CALL -ScVbaAxis::setDisplayUnit( ::sal_Int32 /*DisplayUnit*/ ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setDisplayUnit( ::sal_Int32 /*DisplayUnit*/ ) { DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, OUString()); } ::sal_Int32 SAL_CALL -ScVbaAxis::getDisplayUnit( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getDisplayUnit( ) { DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, OUString()); return -1; } void SAL_CALL -ScVbaAxis::setCrosses( ::sal_Int32 _nCrosses ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setCrosses( ::sal_Int32 _nCrosses ) { try { @@ -147,7 +147,7 @@ ScVbaAxis::setCrosses( ::sal_Int32 _nCrosses ) throw (script::BasicErrorExceptio } } ::sal_Int32 SAL_CALL -ScVbaAxis::getCrosses( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getCrosses( ) { sal_Int32 nCrosses = xlAxisCrossesCustom; try @@ -181,7 +181,7 @@ ScVbaAxis::getCrosses( ) throw (script::BasicErrorException, uno::RuntimeExcept } void SAL_CALL -ScVbaAxis::setCrossesAt( double _fCrossesAt ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setCrossesAt( double _fCrossesAt ) { try { @@ -196,7 +196,7 @@ ScVbaAxis::setCrossesAt( double _fCrossesAt ) throw (script::BasicErrorException } double SAL_CALL -ScVbaAxis::getCrossesAt( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getCrossesAt( ) { double fCrosses = 0.0; try @@ -211,19 +211,19 @@ ScVbaAxis::getCrossesAt( ) throw (script::BasicErrorException, uno::RuntimeExce } void SAL_CALL -ScVbaAxis::setType( ::sal_Int32 _nType ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setType( ::sal_Int32 _nType ) { mnType = _nType; } ::sal_Int32 SAL_CALL -ScVbaAxis::getType( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getType( ) { return mnType; } void SAL_CALL -ScVbaAxis::setHasTitle( sal_Bool _bHasTitle ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setHasTitle( sal_Bool _bHasTitle ) { try { @@ -249,7 +249,7 @@ ScVbaAxis::setHasTitle( sal_Bool _bHasTitle ) throw (script::BasicErrorException } sal_Bool SAL_CALL -ScVbaAxis::getHasTitle( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getHasTitle( ) { bool bHasTitle = false; try @@ -276,7 +276,7 @@ ScVbaAxis::getHasTitle( ) throw (script::BasicErrorException, uno::RuntimeExcep } void SAL_CALL -ScVbaAxis::setMinorUnit( double _fMinorUnit ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMinorUnit( double _fMinorUnit ) { try { @@ -290,7 +290,7 @@ ScVbaAxis::setMinorUnit( double _fMinorUnit ) throw (script::BasicErrorException } double SAL_CALL -ScVbaAxis::getMinorUnit( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMinorUnit( ) { double fMinor = 1.0; try @@ -306,7 +306,7 @@ ScVbaAxis::getMinorUnit( ) throw (script::BasicErrorException, uno::RuntimeExce } void SAL_CALL -ScVbaAxis::setMinorUnitIsAuto( sal_Bool _bMinorUnitIsAuto ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMinorUnitIsAuto( sal_Bool _bMinorUnitIsAuto ) { try { @@ -320,7 +320,7 @@ ScVbaAxis::setMinorUnitIsAuto( sal_Bool _bMinorUnitIsAuto ) throw (script::Basic } sal_Bool SAL_CALL -ScVbaAxis::getMinorUnitIsAuto( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMinorUnitIsAuto( ) { bool bIsAuto = false; try @@ -338,20 +338,20 @@ ScVbaAxis::getMinorUnitIsAuto( ) throw (script::BasicErrorException, uno::Runti } void SAL_CALL -ScVbaAxis::setReversePlotOrder( sal_Bool /*ReversePlotOrder*/ ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setReversePlotOrder( sal_Bool /*ReversePlotOrder*/ ) { DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, OUString()); } sal_Bool SAL_CALL -ScVbaAxis::getReversePlotOrder( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getReversePlotOrder( ) { DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, OUString()); return false; } void SAL_CALL -ScVbaAxis::setMajorUnit( double _fMajorUnit ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMajorUnit( double _fMajorUnit ) { try { @@ -367,7 +367,7 @@ ScVbaAxis::setMajorUnit( double _fMajorUnit ) throw (script::BasicErrorException } double SAL_CALL -ScVbaAxis::getMajorUnit( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMajorUnit( ) { double fMax = 1.0; try @@ -383,7 +383,7 @@ ScVbaAxis::getMajorUnit( ) throw (script::BasicErrorException, uno::RuntimeExce } void SAL_CALL -ScVbaAxis::setMajorUnitIsAuto( sal_Bool _bMajorUnitIsAuto ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMajorUnitIsAuto( sal_Bool _bMajorUnitIsAuto ) { try { @@ -399,7 +399,7 @@ ScVbaAxis::setMajorUnitIsAuto( sal_Bool _bMajorUnitIsAuto ) throw (script::Basic } sal_Bool SAL_CALL -ScVbaAxis::getMajorUnitIsAuto( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMajorUnitIsAuto( ) { bool bIsAuto = false; try @@ -417,7 +417,7 @@ ScVbaAxis::getMajorUnitIsAuto( ) throw (script::BasicErrorException, uno::Runti } void SAL_CALL -ScVbaAxis::setMaximumScale( double _fMaximumScale ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMaximumScale( double _fMaximumScale ) { try { @@ -433,7 +433,7 @@ ScVbaAxis::setMaximumScale( double _fMaximumScale ) throw (script::BasicErrorExc } double SAL_CALL -ScVbaAxis::getMaximumScale( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMaximumScale( ) { double fMax = 1.0; try @@ -452,7 +452,7 @@ ScVbaAxis::getMaximumScale( ) throw (script::BasicErrorException, uno::RuntimeE } void SAL_CALL -ScVbaAxis::setMaximumScaleIsAuto( sal_Bool _bMaximumScaleIsAuto ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMaximumScaleIsAuto( sal_Bool _bMaximumScaleIsAuto ) { try { @@ -467,7 +467,7 @@ ScVbaAxis::setMaximumScaleIsAuto( sal_Bool _bMaximumScaleIsAuto ) throw (script: } sal_Bool SAL_CALL -ScVbaAxis::getMaximumScaleIsAuto( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMaximumScaleIsAuto( ) { bool bIsAuto = false; try @@ -483,7 +483,7 @@ ScVbaAxis::getMaximumScaleIsAuto( ) throw (script::BasicErrorException, uno::Ru } void SAL_CALL -ScVbaAxis::setMinimumScale( double _fMinimumScale ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMinimumScale( double _fMinimumScale ) { try { @@ -497,7 +497,7 @@ ScVbaAxis::setMinimumScale( double _fMinimumScale ) throw (script::BasicErrorExc } double SAL_CALL -ScVbaAxis::getMinimumScale( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMinimumScale( ) { double fMin = 0.0; try @@ -513,7 +513,7 @@ ScVbaAxis::getMinimumScale( ) throw (script::BasicErrorException, uno::RuntimeE } void SAL_CALL -ScVbaAxis::setMinimumScaleIsAuto( sal_Bool _bMinimumScaleIsAuto ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setMinimumScaleIsAuto( sal_Bool _bMinimumScaleIsAuto ) { try { @@ -529,7 +529,7 @@ ScVbaAxis::setMinimumScaleIsAuto( sal_Bool _bMinimumScaleIsAuto ) throw (script: } sal_Bool SAL_CALL -ScVbaAxis::getMinimumScaleIsAuto( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getMinimumScaleIsAuto( ) { bool bIsAuto = false; try @@ -547,13 +547,13 @@ ScVbaAxis::getMinimumScaleIsAuto( ) throw (script::BasicErrorException, uno::Ru } ::sal_Int32 SAL_CALL -ScVbaAxis::getAxisGroup( ) throw (uno::RuntimeException, std::exception) +ScVbaAxis::getAxisGroup( ) { return mnGroup; } void SAL_CALL -ScVbaAxis::setScaleType( ::sal_Int32 _nScaleType ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::setScaleType( ::sal_Int32 _nScaleType ) { try { @@ -580,7 +580,7 @@ ScVbaAxis::setScaleType( ::sal_Int32 _nScaleType ) throw (script::BasicErrorExce } ::sal_Int32 SAL_CALL -ScVbaAxis::getScaleType( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaAxis::getScaleType( ) { sal_Int32 nScaleType = xlScaleLinear; try @@ -603,36 +603,36 @@ ScVbaAxis::getScaleType( ) throw (script::BasicErrorException, uno::RuntimeExce } double SAL_CALL -ScVbaAxis::getHeight( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +ScVbaAxis::getHeight( ) { return oShapeHelper->getHeight(); } -void SAL_CALL ScVbaAxis::setHeight( double height ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +void SAL_CALL ScVbaAxis::setHeight( double height ) { oShapeHelper->setHeight( height ); } -double SAL_CALL ScVbaAxis::getWidth( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +double SAL_CALL ScVbaAxis::getWidth( ) { return oShapeHelper->getWidth( ); } -void SAL_CALL ScVbaAxis::setWidth( double width ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +void SAL_CALL ScVbaAxis::setWidth( double width ) { oShapeHelper->setWidth( width ); } -double SAL_CALL ScVbaAxis::getTop( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +double SAL_CALL ScVbaAxis::getTop( ) { return oShapeHelper->getTop( ); } -void SAL_CALL ScVbaAxis::setTop( double top ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +void SAL_CALL ScVbaAxis::setTop( double top ) { oShapeHelper->setTop( top ); } -double SAL_CALL ScVbaAxis::getLeft( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +double SAL_CALL ScVbaAxis::getLeft( ) { return oShapeHelper->getLeft( ); } -void SAL_CALL ScVbaAxis::setLeft( double left ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) +void SAL_CALL ScVbaAxis::setLeft( double left ) { oShapeHelper->setLeft( left ); } |