Commit dc33f7f1 authored by Sergey Konovalov's avatar Sergey Konovalov

fix WriteAutoFilter error

parent 85f4aa56
...@@ -187,7 +187,7 @@ namespace BinXlsxRW ...@@ -187,7 +187,7 @@ namespace BinXlsxRW
WriteFilterColumns(oAutofilter.m_arrItems); WriteFilterColumns(oAutofilter.m_arrItems);
m_oBcw.WriteItemEnd(nCurPos); m_oBcw.WriteItemEnd(nCurPos);
} }
if(!oAutofilter.m_oSortState.IsInit()) if(oAutofilter.m_oSortState.IsInit())
{ {
nCurPos = m_oBcw.WriteItemStart(c_oSer_AutoFilter::SortState); nCurPos = m_oBcw.WriteItemStart(c_oSer_AutoFilter::SortState);
WriteSortState(oAutofilter.m_oSortState.get()); WriteSortState(oAutofilter.m_oSortState.get());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment