summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/annotations/annotationmanagerimpl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 11:54:45 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 11:54:45 +0200
commit9649026cf50533595c172cd81b96acd45603d86b (patch)
treee7dade92b6674fe445ab36492afc2db02a827f05 /sd/source/ui/annotations/annotationmanagerimpl.hxx
parentclang-tidy performance-unnecessary-value-param in filter (diff)
downloadcore-9649026cf50533595c172cd81b96acd45603d86b.tar.gz
core-9649026cf50533595c172cd81b96acd45603d86b.zip
clang-tidy performance-unnecessary-value-param in sd
Change-Id: Id55410931305a9695a001977a5227b430a984e99
Diffstat (limited to 'sd/source/ui/annotations/annotationmanagerimpl.hxx')
-rw-r--r--sd/source/ui/annotations/annotationmanagerimpl.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/annotations/annotationmanagerimpl.hxx b/sd/source/ui/annotations/annotationmanagerimpl.hxx
index 643d3a02c0ce..5f6a6d409775 100644
--- a/sd/source/ui/annotations/annotationmanagerimpl.hxx
+++ b/sd/source/ui/annotations/annotationmanagerimpl.hxx
@@ -70,15 +70,15 @@ public:
void SelectNextAnnotation(bool bForeward);
- void SelectAnnotation( css::uno::Reference< css::office::XAnnotation > xAnnotation, bool bEdit = false );
+ void SelectAnnotation( const css::uno::Reference< css::office::XAnnotation >& xAnnotation, bool bEdit = false );
void GetSelectedAnnotation( css::uno::Reference< css::office::XAnnotation >& xAnnotation );
void InsertAnnotation();
- void DeleteAnnotation( css::uno::Reference< css::office::XAnnotation > xAnnotation );
+ void DeleteAnnotation( const css::uno::Reference< css::office::XAnnotation >& xAnnotation );
void DeleteAnnotationsByAuthor( const OUString& sAuthor );
void DeleteAllAnnotations();
- void ExecuteAnnotationContextMenu( css::uno::Reference< css::office::XAnnotation > xAnnotation, vcl::Window* pParent, const Rectangle& rContextRect, bool bButtonMenu = false );
+ void ExecuteAnnotationContextMenu( const css::uno::Reference< css::office::XAnnotation >& xAnnotation, vcl::Window* pParent, const Rectangle& rContextRect, bool bButtonMenu = false );
static Color GetColorDark(sal_uInt16 aAuthorIndex);
static Color GetColorLight(sal_uInt16 aAuthorIndex);