[Libreoffice-commits] core.git: sc/qa
Caolán McNamara
caolanm at redhat.com
Sun Jan 4 09:09:47 PST 2015
sc/qa/unit/helper/qahelper.cxx | 6 ++++++
sc/qa/unit/helper/qahelper.hxx | 2 ++
2 files changed, 8 insertions(+)
New commits:
commit 6fd453224fc5fcf9953092d2883ab45417980f48
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jan 4 16:43:04 2015 +0000
help out clang
Change-Id: I19bee6bfa1c499a295b007002c005d8c3f8ce12c
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index 9713eac..e0ade4c 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 f204dba..8fbc156 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
More information about the Libreoffice-commits
mailing list