diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-16 03:58:07 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-16 04:04:36 +0200 |
commit | 514433a819102e8463d90a907fcdb8e429e07917 (patch) | |
tree | 14c0380c10166fbd60db87dc159ffe1fc9262802 | |
parent | 915303a7903bac1e9a940370e69651dd48d08a01 (diff) |
export and fix pretty printers for calc unit tests
Change-Id: Ifa5d097e3c09fa0c96339b4eb6fd2be81516856d
-rw-r--r-- | sc/qa/unit/helper/qahelper.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/helper/qahelper.hxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index d45340af7829..96307e1bf2b8 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -62,7 +62,7 @@ std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList) std::ostream& operator<<(std::ostream& rStrm, const Color& rColor) { - rStrm << "Color: R:" << rColor.GetRed() << " G:" << rColor.GetGreen() << " B: << rColor.GetBlue()"; + rStrm << "Color: R:" << (int)rColor.GetRed() << " G:" << (int)rColor.GetGreen() << " B: " << (int)rColor.GetBlue(); return rStrm; } diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index 460d0fca0be8..829c127014f0 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -97,15 +97,15 @@ struct FileFormat { // Printers for the calc data structures. Needed for the EQUAL assertion // macros from CPPUNIT. -std::ostream& operator<<(std::ostream& rStrm, const ScAddress& rAddr); +SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const ScAddress& rAddr); -std::ostream& operator<<(std::ostream& rStrm, const ScRange& rRange); +SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const ScRange& rRange); -std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList); +SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList); -std::ostream& operator<<(std::ostream& rStrm, const Color& rColor); +SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const Color& rColor); -std::ostream& operator<<(std::ostream& rStrm, const OpCode& rCode); +SCQAHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const OpCode& rCode); // Why is this here and not in osl, and using the already existing file // handling APIs? Do we really want to add arbitrary new file handling |