summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-30 15:34:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-31 14:38:00 +0200
commit8f35503fb9273843a0153084e6ec79fead301972 (patch)
tree60fd73004442d8cd66abeb6bc3da820bbbff5169 /include/editeng
parentcba7acca97ac0245b93e27ba46351285fd7c5ff2 (diff)
loplugin:returnconstant in editeng
Change-Id: I9e38c1634466e580af29547df554d620b5b7860c Reviewed-on: https://gerrit.libreoffice.org/58336 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/outliner.hxx2
-rw-r--r--include/editeng/unoedhlp.hxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index d534b8862771..e4258582af2a 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -690,7 +690,7 @@ public:
size_t InsertView( OutlinerView* pView, size_t nIndex = size_t(-1) );
void RemoveView( OutlinerView const * pView );
- OutlinerView* RemoveView( size_t nIndex );
+ void RemoveView( size_t nIndex );
OutlinerView* GetView( size_t nIndex ) const;
size_t GetViewCount() const;
diff --git a/include/editeng/unoedhlp.hxx b/include/editeng/unoedhlp.hxx
index 3858a5ae717d..45f51e9b38e6 100644
--- a/include/editeng/unoedhlp.hxx
+++ b/include/editeng/unoedhlp.hxx
@@ -87,10 +87,8 @@ public:
@param nIndex
The character index from which the range of similar attributed characters is requested
-
- @return true, if the range has been successfully determined
*/
- static bool GetAttributeRun( sal_Int32& nStartIndex, sal_Int32& nEndIndex, const EditEngine& rEE, sal_Int32 nPara, sal_Int32 nIndex, bool bInCell = false);
+ static void GetAttributeRun( sal_Int32& nStartIndex, sal_Int32& nEndIndex, const EditEngine& rEE, sal_Int32 nPara, sal_Int32 nIndex, bool bInCell = false);
/** Convert point from edit engine to user coordinate space