diff options
Diffstat (limited to 'scaddins/source/analysis/financial.cxx')
-rw-r--r-- | scaddins/source/analysis/financial.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/analysis/financial.cxx b/scaddins/source/analysis/financial.cxx index 09b457c54b80..7e79fba7d7d9 100644 --- a/scaddins/source/analysis/financial.cxx +++ b/scaddins/source/analysis/financial.cxx @@ -348,7 +348,7 @@ double SAL_CALL AnalysisAddIn::getTbilleq( const css::uno::Reference< css::beans { nMat++; - sal_Int32 nDiff = GetDiffDate360( xOpt, nSettle, nMat, sal_True ); + sal_Int32 nDiff = GetDiffDate360( xOpt, nSettle, nMat, true ); if( fDisc <= 0.0 || nSettle >= nMat || nDiff > 360 ) throw css::lang::IllegalArgumentException(); @@ -380,7 +380,7 @@ double SAL_CALL AnalysisAddIn::getTbillprice( const css::uno::Reference< css::be double SAL_CALL AnalysisAddIn::getTbillyield( const css::uno::Reference< css::beans::XPropertySet >& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) { - sal_Int32 nDiff = GetDiffDate360( xOpt, nSettle, nMat, sal_True ); + sal_Int32 nDiff = GetDiffDate360( xOpt, nSettle, nMat, true ); nDiff++; if( fPrice <= 0.0 || nSettle >= nMat || nDiff > 360 ) |