diff options
-rw-r--r-- | sc/qa/unit/helper/qahelper.cxx | 6 | ||||
-rw-r--r-- | sc/qa/unit/helper/qahelper.hxx | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index 9713eac2a624..e0ade4cc2d7e 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -65,6 +65,12 @@ std::ostream& operator<<(std::ostream& rStrm, const Color& rColor) return rStrm; } +std::ostream& operator<<(std::ostream& rStrm, const OpCode& rCode) +{ + rStrm << static_cast<sal_uInt16>(rCode); + return rStrm; +} + FileFormat aFileFormats[] = { { "ods" , "calc8", "", ODS_FORMAT_TYPE }, { "xls" , "MS Excel 97", "calc_MS_EXCEL_97", XLS_FORMAT_TYPE }, diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index f204dba50cd3..8fbc156c8097 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -105,6 +105,8 @@ std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList); std::ostream& operator<<(std::ostream& rStrm, const Color& rColor); +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 // wrappers here and there (and then having to handle the Android (and |