summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-10 15:54:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-10 16:08:09 +0100
commitfa8c1752ee05eaef5019d9c00d53bbb585fe1130 (patch)
treecc7f7b83298ac9d4a8861fc245556e95bae3d26d /sc
parent470843ff2dde15c39189f9d221a136c1a6a50401 (diff)
coverity#704261 Logically dead code
Change-Id: I382750af7a3570ac8c9b53179db8ede873bf82af
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xepivot.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx
index e7a3d2047626..dbb2653d6114 100644
--- a/sc/source/filter/excel/xepivot.cxx
+++ b/sc/source/filter/excel/xepivot.cxx
@@ -1734,6 +1734,8 @@ void XclExpPivotTable::WriteQsiSxTag( XclExpStream& rStrm ) const
// Feature-specific options. The value differs depending on the table
// type, but we assume the table type is always pivot table.
sal_uInt32 nOptions = 0x00000000;
+#if 0
+ // documentation for which bit is for what
bool bNoStencil = false;
bool bHideTotal = false;
bool bEmptyRows = false;
@@ -1742,6 +1744,7 @@ void XclExpPivotTable::WriteQsiSxTag( XclExpStream& rStrm ) const
if (bHideTotal) nOptions |= 0x00000002;
if (bEmptyRows) nOptions |= 0x00000008;
if (bEmptyCols) nOptions |= 0x00000010;
+#endif
rStrm << nOptions;
enum ExcelVersion