diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-24 00:32:13 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-24 00:51:42 -0500 |
commit | bbb0dcaa4ba4baf0c0489cf868f6002317beefe5 (patch) | |
tree | 38b7ca2fcc75c6b08aa7240a3c369ea466984604 /sc | |
parent | d16537b8d30c29fe30d4c2e68784e21a90663e98 (diff) |
Corrected comment.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/pvlaydlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/pvlaydlg.cxx b/sc/source/ui/dbgui/pvlaydlg.cxx index 1955be7cf46f..e3df3f0444eb 100644 --- a/sc/source/ui/dbgui/pvlaydlg.cxx +++ b/sc/source/ui/dbgui/pvlaydlg.cxx @@ -359,9 +359,9 @@ void ScDPLayoutDlg::InitWndSelect(const ScDPLabelDataVec& rLabels) aLabelDataArr.push_back(new ScDPLabelData(r)); if (r.mnOriginalDim < 0 && !r.mbDataLayout) { - // TODO: For dimension with duplicates, use layout name only when - // all its duplicate dimensions use the same layout name. - // Otherwise use the original name. + // For dimension with duplicates, use the layout name of the + // original dimension if available. Be aware that duplicate + // dimensions may have different layout names. aWndSelect.AddField(aLabelDataArr[i].getDisplayName(), i); aSelectArr.push_back(new ScDPFuncData(aLabelDataArr[i].mnCol, aLabelDataArr[i].mnFuncMask)); } |