diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2017-09-26 09:19:34 +0000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-27 09:57:07 +0200 |
commit | 98a912d1f1217f4b7e83ed7162a2ece6372191f0 (patch) | |
tree | d2bc8272f4110e90994e1cffd6290c82838e4854 /cui | |
parent | c1a204e71e5c9d7391469fd1dd9d79948df6eef9 (diff) |
Replace sal_uLong with sal_uInt32 in SpellDialog
It is now consistent with the param type of TextEngine::SetAttrib
Change-Id: I3b0ef3fe01ee26cce8c3ec078f9ae93317d6ccdc
Reviewed-on: https://gerrit.libreoffice.org/42787
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 2 | ||||
-rw-r--r-- | cui/source/inc/SpellDialog.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 42c91096d9c1..26fee0bcdca5 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1749,7 +1749,7 @@ void SentenceEditWindow_Impl::SetAlternatives( const Reference< XSpellAlternativ } -void SentenceEditWindow_Impl::SetAttrib( const TextAttrib& rAttr, sal_uLong nPara, sal_uInt16 nStart, sal_uInt16 nEnd ) +void SentenceEditWindow_Impl::SetAttrib( const TextAttrib& rAttr, sal_uInt32 nPara, sal_uInt16 nStart, sal_uInt16 nEnd ) { GetTextEngine()->SetAttrib(rAttr, nPara, nStart, nEnd); } diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx index fb67c063ed9e..06b7f4623205 100644 --- a/cui/source/inc/SpellDialog.hxx +++ b/cui/source/inc/SpellDialog.hxx @@ -84,7 +84,7 @@ public: void Init(VclPtr<ToolBox> const &rToolbar); void SetModifyHdl(const Link<Edit&,void>& rLink) override { m_aModifyLink = rLink;} - void SetAttrib( const TextAttrib& rAttr, sal_uLong nPara, sal_uInt16 nStart, sal_uInt16 nEnd ); + void SetAttrib( const TextAttrib& rAttr, sal_uInt32 nPara, sal_uInt16 nStart, sal_uInt16 nEnd ); void SetText( const OUString& rStr ) override; bool MarkNextError( bool bIgnoreCurrentError, const css::uno::Reference<css::linguistic2::XSpellChecker1>& ); |