diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-04 16:43:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-04 16:43:09 +0000 |
commit | 6fd453224fc5fcf9953092d2883ab45417980f48 (patch) | |
tree | d39b0aa71d380fd17ce2d7a0a5ea50db62ef01d9 /sc | |
parent | c1ea4a0dd92de814c8f07d06bd39a59f8b33a920 (diff) |
help out clang
Change-Id: I19bee6bfa1c499a295b007002c005d8c3f8ce12c
Diffstat (limited to 'sc')
-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 |