summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-07-27 22:35:56 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-01 19:33:20 +0200
commit2a57ea7a67a016b09d91cbf0e97c22e6909a298c (patch)
treed10af2259da5644870c7d5a7eb5a1c380bc23308 /include
parent69a4c6626c7924cef6ccfcd48a47d3010e5837c8 (diff)
sal_uInt16 to sal_Int32
Change-Id: I723d7c187ec186ccc68f061ba2357712a5f31869
Diffstat (limited to 'include')
-rw-r--r--include/vcl/textdata.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/textdata.hxx b/include/vcl/textdata.hxx
index fe37fbd3b4c7..722a94c43755 100644
--- a/include/vcl/textdata.hxx
+++ b/include/vcl/textdata.hxx
@@ -31,17 +31,17 @@ class TextPaM
{
private:
sal_uLong mnPara;
- sal_uInt16 mnIndex;
+ sal_Int32 mnIndex;
public:
- TextPaM() { mnPara = 0, mnIndex = 0; }
- TextPaM( sal_uLong nPara, sal_uInt16 nIndex ) { mnPara = nPara, mnIndex = nIndex; }
+ TextPaM() : mnPara(0), mnIndex(0) {}
+ TextPaM( sal_uLong nPara, sal_Int32 nIndex ) : mnPara(nPara), mnIndex(nIndex) {}
sal_uLong GetPara() const { return mnPara; }
sal_uLong& GetPara() { return mnPara; }
- sal_uInt16 GetIndex() const { return mnIndex; }
- sal_uInt16& GetIndex() { return mnIndex; }
+ sal_Int32 GetIndex() const { return mnIndex; }
+ sal_Int32& GetIndex() { return mnIndex; }
inline bool operator == ( const TextPaM& rPaM ) const;
inline bool operator != ( const TextPaM& rPaM ) const;