[Libreoffice-commits] core.git: dbaccess/source include/vcl
Noel Grandin
noel at peralex.com
Mon Jul 25 05:46:58 UTC 2016
dbaccess/source/ui/misc/WCPage.cxx | 2 +-
include/vcl/edit.hxx | 2 +-
include/vcl/vclmedit.hxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 15ed9d81005149fce04a0597a52b20cd8d599235
Author: Noel Grandin <noel at peralex.com>
Date: Sat Jul 23 14:28:48 2016 +0200
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 at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/dbaccess/source/ui/misc/WCPage.cxx b/dbaccess/source/ui/misc/WCPage.cxx
index a939c95..db54c29 100644
--- a/dbaccess/source/ui/misc/WCPage.cxx
+++ b/dbaccess/source/ui/misc/WCPage.cxx
@@ -70,7 +70,7 @@ OCopyTable::OCopyTable(vcl::Window * pParent)
get(m_pFT_KeyName, "keynamelabel");
get(m_pEdKeyName, "keyname");
- m_pEdTableName->SetMaxTextLen();
+ m_pEdTableName->SetMaxTextLen(EDIT_NOLIMIT);
if ( m_pParent->m_xDestConnection.is() )
{
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index aecb918..c78ea3a 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 de13e6f..436195f 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 );
More information about the Libreoffice-commits
mailing list