summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpitemdata.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-03-05 23:18:36 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:31 -0500
commitc2f8b7a17e71f9379db7d44e763ad831cfd27825 (patch)
tree487630d0ad34882e47cb67e5e4d004562442b92c /sc/source/core/data/dpitemdata.cxx
parent98057df3d4f729b78e828694e541845228c94efd (diff)
More on correctly formatting grouped values.
Diffstat (limited to 'sc/source/core/data/dpitemdata.cxx')
-rw-r--r--sc/source/core/data/dpitemdata.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx
index 92cbab55602b..97e6a35d94c8 100644
--- a/sc/source/core/data/dpitemdata.cxx
+++ b/sc/source/core/data/dpitemdata.cxx
@@ -279,12 +279,14 @@ rtl::OUString ScDPItemData::GetString() const
return *mpString;
case Value:
return rtl::OUString::valueOf(mfValue);
+ case GroupValue:
+ return rtl::OUString::createFromAscii("fail");
+ case Empty:
default:
;
}
- // TODO: Generate appropriate string.
- return rtl::OUString::createFromAscii("fail");
+ return rtl::OUString();
}
double ScDPItemData::GetValue() const