summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/qa/unit/rangelst_test.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/sc/qa/unit/rangelst_test.cxx b/sc/qa/unit/rangelst_test.cxx
index 62d9002af503..f5431755ac3f 100644
--- a/sc/qa/unit/rangelst_test.cxx
+++ b/sc/qa/unit/rangelst_test.cxx
@@ -73,21 +73,19 @@ private:
ScDocShellRef m_xDocShRef;
};
-namespace {
-
-std::ostream& operator<<(std::ostream& rStrm, const ScAddress& rAddr)
+static std::ostream& operator<<(std::ostream& rStrm, const ScAddress& rAddr)
{
rStrm << "Col: " << rAddr.Col() << " Row: " << rAddr.Row() << " Tab: " << rAddr.Tab() << "\n";
return rStrm;
}
-std::ostream& operator<<(std::ostream& rStrm, const ScRange& rRange)
+static std::ostream& operator<<(std::ostream& rStrm, const ScRange& rRange)
{
rStrm << "ScRange: " << rRange.aStart << rRange.aEnd << "\n";
return rStrm;
}
-std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList)
+static std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList)
{
rStrm << "ScRangeList: \n";
for(size_t i = 0; i < rList.size(); ++i)
@@ -95,9 +93,6 @@ std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList)
return rStrm;
}
-}
-
-
void Test::setUp()
{
BootstrapFixture::setUp();