diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:30:30 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:34:48 +0200 |
commit | 190334febe62d56d80489034f0ee3cf59100f6c4 (patch) | |
tree | 4cde37896e4b6a00bc84fbc5e69fbe41a8f8dcb9 /scaddins/source/analysis/financial.cxx | |
parent | f7a24eff2d40ca30c6f299ab6534393c5c146b95 (diff) |
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
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 14415dde68ec..eb1cac59a372 100644 --- a/scaddins/source/analysis/financial.cxx +++ b/scaddins/source/analysis/financial.cxx @@ -455,7 +455,7 @@ double SAL_CALL AnalysisAddIn::getOddlyield( constREFXPS& xOpt, #define D_(i) (*rDates.Get(i)) /** Calculates the resulting amount for the passed interest rate and the given XIRR parameters. */ -double lcl_sca_XirrResult( const ScaDoubleList& rValues, const ScaDoubleList& rDates, double fRate ) +static double lcl_sca_XirrResult( const ScaDoubleList& rValues, const ScaDoubleList& rDates, double fRate ) { /* V_0 ... V_n = input values. D_0 ... D_n = input dates. @@ -477,7 +477,7 @@ double lcl_sca_XirrResult( const ScaDoubleList& rValues, const ScaDoubleList& rD } /** Calculates the first derivation of lcl_sca_XirrResult(). */ -double lcl_sca_XirrResult_Deriv1( const ScaDoubleList& rValues, const ScaDoubleList& rDates, double fRate ) +static double lcl_sca_XirrResult_Deriv1( const ScaDoubleList& rValues, const ScaDoubleList& rDates, double fRate ) { /* V_0 ... V_n = input values. D_0 ... D_n = input dates. |