summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-04 16:43:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-04 16:43:09 +0000
commit6fd453224fc5fcf9953092d2883ab45417980f48 (patch)
treed39b0aa71d380fd17ce2d7a0a5ea50db62ef01d9
parenthelp out clang (diff)
downloadcore-6fd453224fc5fcf9953092d2883ab45417980f48.tar.gz
core-6fd453224fc5fcf9953092d2883ab45417980f48.zip
help out clang
Change-Id: I19bee6bfa1c499a295b007002c005d8c3f8ce12c
-rw-r--r--sc/qa/unit/helper/qahelper.cxx6
-rw-r--r--sc/qa/unit/helper/qahelper.hxx2
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