diff options
Diffstat (limited to 'sd/source/ui/unoidl/unolayer.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unolayer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx index d088e4629cc3..b556ae33f120 100644 --- a/sd/source/ui/unoidl/unolayer.cxx +++ b/sd/source/ui/unoidl/unolayer.cxx @@ -734,7 +734,7 @@ namespace @return Return </True> if both pointers point to the same object. */ -bool compare_layers (uno::WeakReference<uno::XInterface> xRef, void* pSearchData) +bool compare_layers (const uno::WeakReference<uno::XInterface>& xRef, void* pSearchData) { uno::Reference<uno::XInterface> xLayer (xRef); if (xLayer.is()) |