diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-09 20:40:51 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-21 15:47:38 +0100 |
commit | 19b586543b08325897278ef8b4a65ac81615978d (patch) | |
tree | 439d715dea562f1b88078529451d5ba1c33225f8 /sc | |
parent | f23d3661ab04601650db95f846081317fc06801d (diff) |
qa: remove duplicated operators
it's already defined in include/tools/color.hxx
Change-Id: I26eaba4a1279fadd8669e9702b695e02871052d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142512
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/new_cond_format.cxx | 6 | ||||
-rw-r--r-- | sc/qa/unit/helper/qahelper.cxx | 6 | ||||
-rw-r--r-- | sc/qa/unit/helper/qahelper.hxx | 2 |
3 files changed, 0 insertions, 14 deletions
diff --git a/sc/qa/extras/new_cond_format.cxx b/sc/qa/extras/new_cond_format.cxx index dd4d2354f546..9cab2bdd1edc 100644 --- a/sc/qa/extras/new_cond_format.cxx +++ b/sc/qa/extras/new_cond_format.cxx @@ -21,12 +21,6 @@ using namespace css; -static std::ostream& operator<<(std::ostream& rStrm, const Color& rColor) -{ - rStrm << "Color: R:" << static_cast<int>(rColor.GetRed()) << " G:" << static_cast<int>(rColor.GetGreen()) << " B: " << static_cast<int>(rColor.GetBlue()); - return rStrm; -} - namespace sc_apitest { class ScConditionalFormatTest : public UnoApiTest diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index 73250ba299e1..17f169b9e090 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -92,12 +92,6 @@ std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList) return rStrm; } -std::ostream& operator<<(std::ostream& rStrm, const Color& rColor) -{ - rStrm << "Color: R:" << static_cast<int>(rColor.GetRed()) << " G:" << static_cast<int>(rColor.GetGreen()) << " B: " << static_cast<int>(rColor.GetBlue()); - return rStrm; -} - std::ostream& operator<<(std::ostream& rStrm, const OpCode& rCode) { rStrm << static_cast<sal_uInt16>(rCode); diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index dd41622a579c..6ad03dc1fa67 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -109,8 +109,6 @@ SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const ScRange SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList); -SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const Color& rColor); - SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const OpCode& rCode); bool checkFormula(ScDocument& rDoc, const ScAddress& rPos, const char* pExpected); |