diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-05 17:06:48 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-05 19:25:13 -0500 |
commit | b5dfff9d34d1011ec552b35f223e75ca253bbd78 (patch) | |
tree | 118a6684062bf843a2715cb76be616ac01c334bd /sc | |
parent | f12221dcb70874db0a2f9fc8316bb500d89ee390 (diff) |
A little more annotation.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index 71ab28c7a7e9..7a5c520d1d5b 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -740,9 +740,12 @@ void Chart2Positioner::createPositionMap() for (SCTAB nTab = nTab1; nTab <= nTab2; ++nTab) { - // What's this for ??? + // columns on secondary sheets are appended; we treat them as if + // all columns are on the same sheet. TODO: We can't assume that + // the column range is 16-bit; remove that restriction. sal_uInt32 nInsCol = (static_cast<sal_uInt32>(nTab) << 16) | (bNoGlue ? 0 : static_cast<sal_uInt32>(nCol1)); + for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol, ++nInsCol) { if (bNoGlue || meGlue == GLUETYPE_ROWS) |