diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-27 12:05:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-27 13:32:52 +0100 |
commit | ae11dafc89a1f748233500ea0fd89cff4ef7378c (patch) | |
tree | 47c5355416053ccea475b487bb45c3afe1e10b06 | |
parent | 39fd7e97c253153a10161ef3694b64e90e65e80a (diff) |
align ImpVclMEdit::SetMaxTextWidth arg with TextEngine::SetMaxTextWidth
Change-Id: I7cc7531d6a1770edd8b644c6958b91275a53dd84
-rw-r--r-- | include/vcl/vclmedit.hxx | 2 | ||||
-rw-r--r-- | vcl/source/edit/vclmedit.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index f792a4681abc..c494cdff3420 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -85,7 +85,7 @@ public: virtual void SetMaxTextLen(sal_Int32 nMaxLen) override; virtual sal_Int32 GetMaxTextLen() const override; - void SetMaxTextWidth( sal_uLong nMaxWidth ); + void SetMaxTextWidth(long nMaxWidth); virtual void SetSelection( const Selection& rSelection ) override; virtual const Selection& GetSelection() const override; diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index de47bad4b50e..759bef4e6a68 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -107,7 +107,7 @@ public: void SetMaxTextLen(sal_Int32 nLen); sal_Int32 GetMaxTextLen() const; - void SetMaxTextWidth( sal_uLong nMaxWidth ); + void SetMaxTextWidth(long nMaxWidth); void InsertText( const OUString& rStr ); OUString GetSelected() const; @@ -390,9 +390,9 @@ OUString ImpVclMEdit::GetSelected( LineEnd aSeparator ) const return mpTextWindow->GetTextView()->GetSelected( aSeparator ); } -void ImpVclMEdit::SetMaxTextWidth( sal_uLong nMaxWidth ) +void ImpVclMEdit::SetMaxTextWidth(long nMaxWidth) { - mpTextWindow->GetTextEngine()->SetMaxTextWidth( nMaxWidth ); + mpTextWindow->GetTextEngine()->SetMaxTextWidth(nMaxWidth); } void ImpVclMEdit::Resize() @@ -1168,7 +1168,7 @@ void VclMultiLineEdit::SetMaxTextLen(sal_Int32 nMaxLen) pImpVclMEdit->SetMaxTextLen(nMaxLen); } -void VclMultiLineEdit::SetMaxTextWidth( sal_uLong nMaxWidth ) +void VclMultiLineEdit::SetMaxTextWidth(long nMaxWidth) { pImpVclMEdit->SetMaxTextWidth(nMaxWidth ); } |