summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-26 09:15:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-26 12:12:03 +0100
commit55619c1028b31f55c5b205ce3615bd606f5414f0 (patch)
tree99753d34e49027821b742b96f14eff0fc55e1676 /vcl/inc
parentaed681368255b67f1c9de8d501d171a784118dd3 (diff)
set width in chars for url field to avoid character dialog overgrowing
Change-Id: I892a77f65ad420d0fbf4b95179e4bcfc2ec55192
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/edit.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/vcl/edit.hxx b/vcl/inc/vcl/edit.hxx
index 5cb189c4614b..bcd0463c4621 100644
--- a/vcl/inc/vcl/edit.hxx
+++ b/vcl/inc/vcl/edit.hxx
@@ -78,7 +78,7 @@ private:
Selection maSelection;
sal_uInt16 mnAlign;
xub_StrLen mnMaxTextLen;
- sal_Int32 mnMinWidthInChars;
+ sal_Int32 mnWidthInChars;
AutocompleteAction meAutocompleteAction;
sal_Unicode mcEchoChar;
sal_Bool mbModified:1,
@@ -199,8 +199,8 @@ public:
virtual void SetMaxTextLen( xub_StrLen nMaxLen = EDIT_NOLIMIT );
virtual xub_StrLen GetMaxTextLen() const { return mnMaxTextLen; }
- void SetMinWidthInChars(sal_Int32 nMinWidthInChars);
- sal_Int32 GetMinWidthInChars() const { return mnMinWidthInChars; }
+ void SetWidthInChars(sal_Int32 nWidthInChars);
+ sal_Int32 GetWidthInChars() const { return mnWidthInChars; }
virtual void SetSelection( const Selection& rSelection );
virtual const Selection& GetSelection() const;