summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-27 12:05:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-27 13:32:52 +0100
commitae11dafc89a1f748233500ea0fd89cff4ef7378c (patch)
tree47c5355416053ccea475b487bb45c3afe1e10b06 /vcl
parent39fd7e97c253153a10161ef3694b64e90e65e80a (diff)
align ImpVclMEdit::SetMaxTextWidth arg with TextEngine::SetMaxTextWidth
Change-Id: I7cc7531d6a1770edd8b644c6958b91275a53dd84
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/edit/vclmedit.cxx8
1 files changed, 4 insertions, 4 deletions
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 );
}