summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-01 18:16:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-02 16:49:40 +0200
commit1e4a2246b4d9d0e7c790a821557750ae4bda9698 (patch)
tree94482787a4840e93fb04fa6aac98081fbf3a6eb9 /sc
parent48fc466b17552473e5596454b73e77709f031b83 (diff)
-Werror,-Wunused-const-variable
Change-Id: If30c02760714865b52ba4feb8023bca73ed9402a
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr5.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index 4551e80d56ac..b938c1d6b474 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -43,8 +43,6 @@ using namespace formula;
namespace {
-const double fInvEpsilon = 1.0E-7;
-
struct MatrixAdd : public ::std::binary_function<double,double,double>
{
inline double operator() (const double& lhs, const double& rhs) const
@@ -910,6 +908,7 @@ void ScInterpreter::ScMatInv()
*
* The following is #3.
*/
+ const double fInvEpsilon = 1.0E-7;
ScMatrixRef xR = GetNewMat( nR, nR);
if (xR)
{