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 8ed9bfe398d3..a7779b3e77d7 100644 --- a/sc/source/ui/vba/vbaaxis.cxx +++ b/sc/source/ui/vba/vbaaxis.cxx @@ -47,7 +47,7 @@ ScVbaAxis::isValueAxis() throw( script::BasicErrorException ) { if ( getType() == xlCategory ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return true; } @@ -94,7 +94,7 @@ ScVbaAxis::getAxisTitle( ) throw (script::BasicErrorException, uno::RuntimeExce } catch (const uno::Exception& e) { - DebugHelper::exception(e); + DebugHelper::basicexception(e); } return xAxisTitle; @@ -103,13 +103,13 @@ ScVbaAxis::getAxisTitle( ) throw (script::BasicErrorException, uno::RuntimeExce void SAL_CALL ScVbaAxis::setDisplayUnit( ::sal_Int32 /*DisplayUnit*/ ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) { - DebugHelper::exception(SbERR_NOT_IMPLEMENTED, OUString()); + DebugHelper::basicexception(SbERR_NOT_IMPLEMENTED, OUString()); } ::sal_Int32 SAL_CALL ScVbaAxis::getDisplayUnit( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) { - DebugHelper::exception(SbERR_NOT_IMPLEMENTED, OUString()); + DebugHelper::basicexception(SbERR_NOT_IMPLEMENTED, OUString()); return -1; } @@ -143,7 +143,7 @@ ScVbaAxis::setCrosses( ::sal_Int32 _nCrosses ) throw (script::BasicErrorExceptio } catch (uno::Exception& ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } ::sal_Int32 SAL_CALL @@ -175,7 +175,7 @@ ScVbaAxis::getCrosses( ) throw (script::BasicErrorException, uno::RuntimeExcept } catch (uno::Exception& ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString() ); } return nCrosses; } @@ -191,7 +191,7 @@ ScVbaAxis::setCrossesAt( double _fCrossesAt ) throw (script::BasicErrorException } catch (const uno::Exception& e) { - DebugHelper::exception(e); + DebugHelper::basicexception(e); } } @@ -205,7 +205,7 @@ ScVbaAxis::getCrossesAt( ) throw (script::BasicErrorException, uno::RuntimeExce } catch (uno::Exception& ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return fCrosses; } @@ -244,7 +244,7 @@ ScVbaAxis::setHasTitle( sal_Bool _bHasTitle ) throw (script::BasicErrorException } catch (const uno::Exception& e) { - DebugHelper::exception(e); + DebugHelper::basicexception(e); } } @@ -270,7 +270,7 @@ ScVbaAxis::getHasTitle( ) throw (script::BasicErrorException, uno::RuntimeExcep } catch (const uno::Exception& e) { - DebugHelper::exception(e); + DebugHelper::basicexception(e); } return bHasTitle; } @@ -285,7 +285,7 @@ ScVbaAxis::setMinorUnit( double _fMinorUnit ) throw (script::BasicErrorException } catch (uno::Exception& ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } @@ -300,7 +300,7 @@ ScVbaAxis::getMinorUnit( ) throw (script::BasicErrorException, uno::RuntimeExce } catch (uno::Exception& ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return fMinor; } @@ -315,7 +315,7 @@ ScVbaAxis::setMinorUnitIsAuto( sal_Bool _bMinorUnitIsAuto ) throw (script::Basic } catch (uno::Exception& ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString() ); } } @@ -330,9 +330,9 @@ ScVbaAxis::getMinorUnitIsAuto( ) throw (script::BasicErrorException, uno::Runti mxPropertySet->getPropertyValue("AutoStepHelp") >>= bIsAuto; } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return bIsAuto; } @@ -340,13 +340,13 @@ ScVbaAxis::getMinorUnitIsAuto( ) throw (script::BasicErrorException, uno::Runti void SAL_CALL ScVbaAxis::setReversePlotOrder( sal_Bool /*ReversePlotOrder*/ ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) { - DebugHelper::exception(SbERR_NOT_IMPLEMENTED, OUString()); + DebugHelper::basicexception(SbERR_NOT_IMPLEMENTED, OUString()); } sal_Bool SAL_CALL ScVbaAxis::getReversePlotOrder( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) { - DebugHelper::exception(SbERR_NOT_IMPLEMENTED, OUString()); + DebugHelper::basicexception(SbERR_NOT_IMPLEMENTED, OUString()); return false; } @@ -360,9 +360,9 @@ ScVbaAxis::setMajorUnit( double _fMajorUnit ) throw (script::BasicErrorException mxPropertySet->setPropertyValue("StepMain", uno::makeAny(_fMajorUnit)); } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } @@ -375,9 +375,9 @@ ScVbaAxis::getMajorUnit( ) throw (script::BasicErrorException, uno::RuntimeExce if (isValueAxis()) mxPropertySet->getPropertyValue("StepMain") >>= fMax; } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString() ); } return fMax; } @@ -392,9 +392,9 @@ ScVbaAxis::setMajorUnitIsAuto( sal_Bool _bMajorUnitIsAuto ) throw (script::Basic mxPropertySet->setPropertyValue("AutoStepMain", uno::makeAny( _bMajorUnitIsAuto )); } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } @@ -409,9 +409,9 @@ ScVbaAxis::getMajorUnitIsAuto( ) throw (script::BasicErrorException, uno::Runti mxPropertySet->getPropertyValue("AutoStepMain") >>= bIsAuto; } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return bIsAuto; } @@ -426,9 +426,9 @@ ScVbaAxis::setMaximumScale( double _fMaximumScale ) throw (script::BasicErrorExc mxPropertySet->setPropertyValue("Max", uno::makeAny(_fMaximumScale)); } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } @@ -443,9 +443,9 @@ ScVbaAxis::getMaximumScale( ) throw (script::BasicErrorException, uno::RuntimeE mxPropertySet->getPropertyValue("Max") >>= fMax; } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return fMax; @@ -460,9 +460,9 @@ ScVbaAxis::setMaximumScaleIsAuto( sal_Bool _bMaximumScaleIsAuto ) throw (script: mxPropertySet->setPropertyValue("AutoMax", uno::makeAny( _bMaximumScaleIsAuto )); } - catch ( uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } @@ -475,9 +475,9 @@ ScVbaAxis::getMaximumScaleIsAuto( ) throw (script::BasicErrorException, uno::Ru if (isValueAxis()) mxPropertySet->getPropertyValue("AutoMax") >>= bIsAuto; } - catch ( uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception( SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception( SbERR_METHOD_FAILED, OUString() ); } return bIsAuto; } @@ -492,7 +492,7 @@ ScVbaAxis::setMinimumScale( double _fMinimumScale ) throw (script::BasicErrorExc } catch ( uno::Exception& ) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString() ); } } @@ -507,7 +507,7 @@ ScVbaAxis::getMinimumScale( ) throw (script::BasicErrorException, uno::RuntimeE } catch (const uno::Exception& e) { - DebugHelper::exception(e); + DebugHelper::basicexception(e); } return fMin; } @@ -522,9 +522,9 @@ ScVbaAxis::setMinimumScaleIsAuto( sal_Bool _bMinimumScaleIsAuto ) throw (script: mxPropertySet->setPropertyValue("AutoMin", uno::makeAny(_bMinimumScaleIsAuto)); } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } @@ -539,9 +539,9 @@ ScVbaAxis::getMinimumScaleIsAuto( ) throw (script::BasicErrorException, uno::Ru mxPropertySet->getPropertyValue("AutoMin") >>= bIsAuto; } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return bIsAuto; } @@ -573,9 +573,9 @@ ScVbaAxis::setScaleType( ::sal_Int32 _nScaleType ) throw (script::BasicErrorExce } } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } } @@ -595,9 +595,9 @@ ScVbaAxis::getScaleType( ) throw (script::BasicErrorException, uno::RuntimeExce nScaleType = xlScaleLinear; } } - catch (uno::Exception& ) + catch (const uno::Exception&) { - DebugHelper::exception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); } return nScaleType; } |