summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/excel/xetable.cxx2
-rw-r--r--sc/source/filter/inc/xltable.hxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index ccab97e502d8..81edb3689a0f 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -1605,9 +1605,9 @@ XclExpColinfo::XclExpColinfo( const XclExpRoot& rRoot,
// column flags
::set_flag( mnFlags, EXC_COLINFO_HIDDEN, rDoc.ColHidden(nScCol, nScTab) );
- // TODO Do we need to save customWidth information also for .xls (with mnFlags)?
XclExpDefcolwidth defColWidth = XclExpDefcolwidth( rRoot );
mbCustomWidth = !defColWidth.IsDefWidth( mnWidth );
+ set_flag(mnFlags, EXC_COLINFO_CUSTOMWIDTH, mbCustomWidth);
// outline data
rOutlineBfr.Update( nScCol );
diff --git a/sc/source/filter/inc/xltable.hxx b/sc/source/filter/inc/xltable.hxx
index c3beff09694e..4d06dd250abb 100644
--- a/sc/source/filter/inc/xltable.hxx
+++ b/sc/source/filter/inc/xltable.hxx
@@ -141,6 +141,7 @@ const sal_uInt16 EXC_DEFCOLWIDTH_DEF = 10;
const sal_uInt16 EXC_ID_COLINFO = 0x007D;
const sal_uInt16 EXC_COLINFO_HIDDEN = 0x0001;
+const sal_uInt16 EXC_COLINFO_CUSTOMWIDTH = 0x0002;
const sal_uInt16 EXC_COLINFO_COLLAPSED = 0x1000;
// (0x0080) GUTS --------------------------------------------------------------