coverity#704261 Logically dead code
Change-Id: I382750af7a3570ac8c9b53179db8ede873bf82af
This commit is contained in:
@@ -1734,6 +1734,8 @@ void XclExpPivotTable::WriteQsiSxTag( XclExpStream& rStrm ) const
|
|||||||
// Feature-specific options. The value differs depending on the table
|
// Feature-specific options. The value differs depending on the table
|
||||||
// type, but we assume the table type is always pivot table.
|
// type, but we assume the table type is always pivot table.
|
||||||
sal_uInt32 nOptions = 0x00000000;
|
sal_uInt32 nOptions = 0x00000000;
|
||||||
|
#if 0
|
||||||
|
// documentation for which bit is for what
|
||||||
bool bNoStencil = false;
|
bool bNoStencil = false;
|
||||||
bool bHideTotal = false;
|
bool bHideTotal = false;
|
||||||
bool bEmptyRows = false;
|
bool bEmptyRows = false;
|
||||||
@@ -1742,6 +1744,7 @@ void XclExpPivotTable::WriteQsiSxTag( XclExpStream& rStrm ) const
|
|||||||
if (bHideTotal) nOptions |= 0x00000002;
|
if (bHideTotal) nOptions |= 0x00000002;
|
||||||
if (bEmptyRows) nOptions |= 0x00000008;
|
if (bEmptyRows) nOptions |= 0x00000008;
|
||||||
if (bEmptyCols) nOptions |= 0x00000010;
|
if (bEmptyCols) nOptions |= 0x00000010;
|
||||||
|
#endif
|
||||||
rStrm << nOptions;
|
rStrm << nOptions;
|
||||||
|
|
||||||
enum ExcelVersion
|
enum ExcelVersion
|
||||||
|
Reference in New Issue
Block a user