diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-12 11:54:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-12 11:54:45 +0200 |
commit | 9649026cf50533595c172cd81b96acd45603d86b (patch) | |
tree | e7dade92b6674fe445ab36492afc2db02a827f05 /sd/source/ui/annotations/annotationmanagerimpl.hxx | |
parent | clang-tidy performance-unnecessary-value-param in filter (diff) | |
download | core-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.hxx | 6 |
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); |