cui/source/dialogs/SpellDialog.cxx | 2 +- cui/source/inc/SpellDialog.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 98a912d1f1217f4b7e83ed7162a2ece6372191f0 Author: Muhammet Kara <muhammet.k...@pardus.org.tr> Date: Tue Sep 26 09:19:34 2017 +0000 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 <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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>& ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits