summaryrefslogtreecommitdiff
path: root/include/editeng/outliner.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-02 15:10:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-03 08:07:41 +0100
commitacdba3c2eee18ef0c079b7c41cd4165e06c956c7 (patch)
tree18c6da7b7d46bf901b6dd4f7a5b280caa7f62280 /include/editeng/outliner.hxx
parentf4bd9029ba7b500ebf99b7fa3d774de7fa029176 (diff)
loplugin:passstuffbyref more return improvements
slightly less restrictive check when calling functions Change-Id: I35e268ac611797b1daa83777cda02288a635aa32 Reviewed-on: https://gerrit.libreoffice.org/47259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/outliner.hxx')
-rw-r--r--include/editeng/outliner.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index a892f4c16f72..f6bba5cc89b6 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -864,7 +864,7 @@ public:
SfxStyleSheet* GetStyleSheet( sal_Int32 nPara );
void SetParaAttribs( sal_Int32 nPara, const SfxItemSet& );
- SfxItemSet GetParaAttribs( sal_Int32 nPara );
+ SfxItemSet const & GetParaAttribs( sal_Int32 nPara );
void Remove( Paragraph const * pPara, sal_Int32 nParaCount );
bool Expand( Paragraph const * );