diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-09 17:02:33 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-09 17:02:59 -0500 |
commit | 2357da95f1382ebb490ca9ed5362d7888e6bcb0c (patch) | |
tree | 7cce6eea8512bcc804fd732bc08f8126745c7f03 /sc/inc/dpcachetable.hxx | |
parent | 3122799da13eb65b7753671c1783d45bfc8a3b22 (diff) |
String to rtl::OUString.
Diffstat (limited to 'sc/inc/dpcachetable.hxx')
-rw-r--r-- | sc/inc/dpcachetable.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/dpcachetable.hxx b/sc/inc/dpcachetable.hxx index 7927b1a91162..2fc86a859426 100644 --- a/sc/inc/dpcachetable.hxx +++ b/sc/inc/dpcachetable.hxx @@ -68,7 +68,7 @@ public: /** individual filter item used in SingleFilter and GroupFilter. */ struct FilterItem { - String maString; + rtl::OUString maString; double mfValue; bool mbHasValue; @@ -89,12 +89,12 @@ public: class SingleFilter : public FilterBase { public: - explicit SingleFilter(String aString, double fValue, bool bHasValue); + explicit SingleFilter(const rtl::OUString& aString, double fValue, bool bHasValue); virtual ~SingleFilter() {} virtual bool match(const ScDPItemData& rCellData) const; - const String& getMatchString(); + const rtl::OUString& getMatchString() const; double getMatchValue() const; bool hasValue() const; @@ -111,7 +111,7 @@ public: GroupFilter(); virtual ~GroupFilter() {} virtual bool match( const ScDPItemData& rCellData ) const; - void addMatchItem(const String& rStr, double fVal, bool bHasValue); + void addMatchItem(const rtl::OUString& rStr, double fVal, bool bHasValue); size_t getMatchItemCount() const; private: @@ -157,7 +157,7 @@ public: returned object! */ const ScDPItemData* getCell(SCCOL nCol, SCROW nRow, bool bRepeatIfEmpty) const; void getValue( ScDPValueData& rVal, SCCOL nCol, SCROW nRow, bool bRepeatIfEmpty) const; - String getFieldName( SCCOL nIndex) const; + rtl::OUString getFieldName(SCCOL nIndex) const; /** Get the unique entries for a field specified by index. The caller must make sure that the table is filled before calling function, or it will |