diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-23 14:28:48 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-25 05:46:29 +0000 |
commit | 15ed9d81005149fce04a0597a52b20cd8d599235 (patch) | |
tree | d60338f74e7e32352342108037339a82bc2c8513 /include | |
parent | 424b840ea761c9106830508e9b1d656f0edeb073 (diff) |
inconsistent default param vals in SetMaxTextLen
so just remove them, only one call site was using them.
Change-Id: Ife00ad7f14d73f865058d1262f71dff1fd2a6abd
Reviewed-on: https://gerrit.libreoffice.org/27458
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/edit.hxx | 2 | ||||
-rw-r--r-- | include/vcl/vclmedit.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index aecb918efc77..c78ea3ad18c3 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -205,7 +205,7 @@ public: void SetInsertMode( bool bInsert ); bool IsInsertMode() const; - virtual void SetMaxTextLen( sal_Int32 nMaxLen = EDIT_NOLIMIT ); + virtual void SetMaxTextLen( sal_Int32 nMaxLen ); virtual sal_Int32 GetMaxTextLen() const { return mnMaxTextLen; } void SetWidthInChars(sal_Int32 nWidthInChars); diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index de13e6fd91b2..436195f64a7c 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -80,7 +80,7 @@ public: void EnableFocusSelectionHide( bool bHide ); - virtual void SetMaxTextLen(sal_Int32 nMaxLen = 0) override; + virtual void SetMaxTextLen(sal_Int32 nMaxLen) override; virtual sal_Int32 GetMaxTextLen() const override; void SetMaxTextWidth( sal_uLong nMaxWidth ); |