summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-01 11:12:02 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-01 12:44:05 +0200
commit691f0b3c387033e34bba4b6cb65f2ad1250ef818 (patch)
treea75eeee830cd67a4230b8c45a119fa791b5d94b3 /sc
parent69ea62a069f89f5efae8d3cee93a64a4b7ba8ba8 (diff)
coverity#704262 coverity#704263 Dead code
Change-Id: I3f015ea89a9a542226d18d0d203eb493f08b46a0
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xepivot.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx
index 444cc5aa1b4f..5878af86646d 100644
--- a/sc/source/filter/excel/xepivot.cxx
+++ b/sc/source/filter/excel/xepivot.cxx
@@ -1712,14 +1712,18 @@ void XclExpPivotTable::WriteQsiSxTag( XclExpStream& rStrm ) const
rStrm << nRecordType << nDummyFlags << nTableType;
// General flags
+ sal_uInt16 nFlags = 0x0001;
+#if 0
+ // for doc purpose
+ sal_uInt16 nFlags = 0x0000;
bool bEnableRefresh = true;
bool bPCacheInvalid = false;
bool bOlapPTReport = false;
- sal_uInt16 nFlags = 0x0000;
if (bEnableRefresh) nFlags |= 0x0001;
if (bPCacheInvalid) nFlags |= 0x0002;
if (bOlapPTReport) nFlags |= 0x0004;
+#endif
rStrm << nFlags;
// Feature-specific options. The value differs depending on the table