diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-12 11:20:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-12 20:09:32 +0000 |
commit | f042e84e63d14fca4252235d7b9a68b1cb1074b4 (patch) | |
tree | 19537f1a2f86ea0735f52e14aaeb0450a2aad00d /include/vcl | |
parent | ad4f00a992f9df5d0e7051a44e2f714ad8e03d2a (diff) |
longparas: nStart and nEnd are always overwritten
so simplify to the reality, which conveniently removes some
hard-coded 0xFFFF and STRING_LEN uses
Change-Id: I4fc014a972f6a157c18f8194c410b7cbff03de4a
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/edit.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 6df07147f46e..6fc79170b89b 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -93,8 +93,8 @@ private: SAL_DLLPRIVATE void ImplInitEditData(); SAL_DLLPRIVATE void ImplModified(); SAL_DLLPRIVATE OUString ImplGetText() const; - SAL_DLLPRIVATE void ImplRepaint( sal_Int32 nStart = 0, sal_Int32 nEnd = STRING_LEN, bool bLayout = false ); - SAL_DLLPRIVATE void ImplInvalidateOrRepaint( sal_Int32 nStart = 0, sal_Int32 nEnd = STRING_LEN ); + SAL_DLLPRIVATE void ImplRepaint(bool bLayout = false); + SAL_DLLPRIVATE void ImplInvalidateOrRepaint(); SAL_DLLPRIVATE void ImplDelete( const Selection& rSelection, sal_uInt8 nDirection, sal_uInt8 nMode ); SAL_DLLPRIVATE void ImplSetText( const OUString& rStr, const Selection* pNewSelection = 0 ); SAL_DLLPRIVATE void ImplInsertText( const OUString& rStr, const Selection* pNewSelection = 0, sal_Bool bIsUserInput = sal_False ); |