summaryrefslogtreecommitdiff
path: root/sc/inc/dpitemdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-09 17:02:33 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-09 17:02:59 -0500
commit2357da95f1382ebb490ca9ed5362d7888e6bcb0c (patch)
tree7cce6eea8512bcc804fd732bc08f8126745c7f03 /sc/inc/dpitemdata.hxx
parent3122799da13eb65b7753671c1783d45bfc8a3b22 (diff)
String to rtl::OUString.
Diffstat (limited to 'sc/inc/dpitemdata.hxx')
-rw-r--r--sc/inc/dpitemdata.hxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx
index 97a2fbb57806..d2c8bf437ce4 100644
--- a/sc/inc/dpitemdata.hxx
+++ b/sc/inc/dpitemdata.hxx
@@ -30,10 +30,11 @@
#define __SC_DPITEMDATA_HXX__
#include "scdllapi.h"
+#include "address.hxx"
+
#include "sal/types.h"
#include "tools/solar.h"
-#include "tools/string.hxx"
-#include "address.hxx"
+#include "rtl/ustring.hxx"
#include <vector>
@@ -61,18 +62,19 @@ private:
sal_Int32 mnDatePart;
};
- String maString;
+ rtl::OUString maString;
double mfValue;
sal_uInt8 mbFlag;
friend class ScDPCache;
public:
ScDPItemData();
- ScDPItemData(sal_uLong nNF, const String & rS, double fV, sal_uInt8 bF);
- ScDPItemData(const String& rS, double fV = 0.0, bool bHV = false, const sal_uLong nNumFormat = 0 , bool bData = true);
+ ScDPItemData(sal_uLong nNF, const rtl::OUString & rS, double fV, sal_uInt8 bF);
+ ScDPItemData(const rtl::OUString& rS, double fV = 0.0, bool bHV = false,
+ const sal_uLong nNumFormat = 0, bool bData = true);
ScDPItemData(ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nDocTab, bool bLabel);
- void SetString( const String& rS );
+ void SetString(const rtl::OUString& rS);
bool IsCaseInsEqual(const ScDPItemData& r) const;
size_t Hash() const;
@@ -86,7 +88,7 @@ public:
bool IsHasData() const ;
bool IsHasErr() const ;
bool IsValue() const;
- String GetString() const ;
+ const rtl::OUString& GetString() const;
double GetValue() const ;
bool HasStringData() const ;
bool IsDate() const;