diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-13 13:12:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-13 13:13:38 +0200 |
commit | 41776e53c54968881021c25f1173d190cfd2ba5d (patch) | |
tree | 82a10d8f6b237879bde8acdc38e0f9e07bbfb87e /include/svtools/toolboxcontroller.hxx | |
parent | coverity#705817 Dereference before null check (diff) | |
download | core-41776e53c54968881021c25f1173d190cfd2ba5d.tar.gz core-41776e53c54968881021c25f1173d190cfd2ba5d.zip |
svtools,svx: prefer passing OUString and OString by reference
Change-Id: Iceb2cbcda9d8ddb4ee00db9365c751e0e5d8b3a6
Diffstat (limited to 'include/svtools/toolboxcontroller.hxx')
-rw-r--r-- | include/svtools/toolboxcontroller.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/toolboxcontroller.hxx b/include/svtools/toolboxcontroller.hxx index 316354a783a5..445cd4169b39 100644 --- a/include/svtools/toolboxcontroller.hxx +++ b/include/svtools/toolboxcontroller.hxx @@ -71,7 +71,7 @@ class SVT_DLLPUBLIC ToolboxController : const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& getContext() const; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager > getLayoutManager() const; - void updateStatus( const OUString aCommandURL ); + void updateStatus( const OUString& aCommandURL ); void updateStatus(); // XInterface |