diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-11 16:02:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-12 07:39:42 +0000 |
commit | 1f9a610de1e1e540386972c010ebfc99e5f55df7 (patch) | |
tree | aabfe490a5de78c0936e7237695c2ef6680f75df /include/editeng/svxacorr.hxx | |
parent | c93486bbb85ae19b6d15395afbd7aec3c5db7e89 (diff) |
loplugin:unusedmethods unused return value in include/editeng
Change-Id: I1314480950b0d3a3e5ed066d71c175604dd41970
Reviewed-on: https://gerrit.libreoffice.org/21361
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/editeng/svxacorr.hxx')
-rw-r--r-- | include/editeng/svxacorr.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index a839e2208f0c..b5c54a0a0f8b 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -87,7 +87,7 @@ public: virtual bool Replace( sal_Int32 nPos, const OUString& rTxt ) = 0; virtual bool ReplaceRange( sal_Int32 nPos, sal_Int32 nLen, const OUString& rTxt ) = 0; - virtual bool SetAttr( sal_Int32 nStt, sal_Int32 nEnd, sal_uInt16 nSlotId, + virtual void SetAttr( sal_Int32 nStt, sal_Int32 nEnd, sal_uInt16 nSlotId, SfxPoolItem& ) = 0; virtual bool SetINetAttr( sal_Int32 nStt, sal_Int32 nEnd, const OUString& rURL ) = 0; @@ -279,7 +279,7 @@ public: // FIXME: this has the horrible flaw that the rTxt must be a reference // to the actual SwTxtNode/EditNode string because it inserts the character // in rDoc and expects that to side-effect rTxt - sal_uLong DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, + void DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, sal_Int32 nPos, sal_Unicode cInsChar, bool bInsert, vcl::Window* pFrameWin = nullptr ); // Return for the autotext expansion the previous word, @@ -339,11 +339,11 @@ public: // - pure Text bool PutText( const OUString& rShort, const OUString& rLong, LanguageType eLang = LANGUAGE_SYSTEM ); // - Text with attribution (only in the SWG - SWG format!) - bool PutText( const OUString& rShort, SfxObjectShell& rShell, + void PutText( const OUString& rShort, SfxObjectShell& rShell, LanguageType eLang = LANGUAGE_SYSTEM ) - { return _GetLanguageList( eLang ).PutText(rShort, rShell ); } + { _GetLanguageList( eLang ).PutText(rShort, rShell ); } - bool MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries, + void MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries, std::vector<SvxAutocorrWord>& aDeleteEntries, LanguageType eLang = LANGUAGE_SYSTEM ); |