diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-11 22:00:54 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-11 22:06:52 -0400 |
commit | 324d87a130d929fe59379ed8c15e33f7c74e38dd (patch) | |
tree | ab005fe6b1de64dcaa6ed53c23eeb510d19aa7bd /sc/inc/dpresfilter.hxx | |
parent | use LanguageTag (diff) | |
download | core-324d87a130d929fe59379ed8c15e33f7c74e38dd.tar.gz core-324d87a130d929fe59379ed8c15e33f7c74e38dd.zip |
fdo#66655: Get GETPIVOTDATA to work again.
1) Compare data field name as it is displayed in the table output.
2) In the result tree, store field member names as strings as displayed
in the table output, instead of as ScDPItemData.
GETPIVOTDATA operates on displayed cell values and do textural comparison.
There is no use storing ScDPItemData which screws up value lookup in
the result tree.
Change-Id: I31bc03a6800f4fadf2ba1180d1958354d43e8a07
Diffstat (limited to 'sc/inc/dpresfilter.hxx')
-rw-r--r-- | sc/inc/dpresfilter.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dpresfilter.hxx b/sc/inc/dpresfilter.hxx index bde3c02cb55e..be84b8c83c2d 100644 --- a/sc/inc/dpresfilter.hxx +++ b/sc/inc/dpresfilter.hxx @@ -24,7 +24,7 @@ namespace com { namespace sun { namespace star { namespace sheet { struct ScDPResultFilter { OUString maDimName; - ScDPItemData maValue; + OUString maValue; bool mbHasValue:1; bool mbDataLayout:1; @@ -55,7 +55,7 @@ private: struct MemberNode; struct DimensionNode; - typedef std::map<ScDPItemData, MemberNode*> MembersType; + typedef std::map<OUString, MemberNode*> MembersType; typedef std::map<OUString, DimensionNode*> DimensionsType; struct DimensionNode : boost::noncopyable |