summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-29 11:45:09 +0200
committerNoel Grandin <noel@peralex.com>2013-12-03 11:34:45 +0200
commit4ded81770296b6eec9291924db53666f1d8e8d7e (patch)
treec09bce1ba48bef1e0996895becea4b2ead5046da /include
parent9083e8d1ca0246ba21423726d568846cb89efae9 (diff)
convert Edit::GetCharPos from xub_StrLen to sal_Int32
Change-Id: I8fe982d0c0c0a04e2a10cff0f0ae68d51bed590a
Diffstat (limited to 'include')
-rw-r--r--include/vcl/edit.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index f02879b3b998..a5f77577139a 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -236,7 +236,7 @@ public:
virtual Size CalcSize( sal_uInt16 nChars ) const;
virtual xub_StrLen GetMaxVisChars() const;
- xub_StrLen GetCharPos( const Point& rWindowPos ) const;
+ sal_Int32 GetCharPos( const Point& rWindowPos ) const;
// shows a warning box saying "text too long, truncated"
static void ShowTruncationWarning( Window* pParent );