summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-22 09:35:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-22 09:36:05 +0200
commit097406006266f1d59a57e0379fd195190c214df2 (patch)
tree0f64bb35cb5320deef050d74bf520a9e667b9ad6 /sfx2/source
parent2e32eff6f1a6ac8bc0ef65e07300531d6f45275b (diff)
loplugin:passstuffbyref
Change-Id: Ib356214e2aee699d7def22ab84ad806cb801bcb5
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/sidebar/Deck.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index b2eb225e490b..9866f4d4252d 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -223,7 +223,7 @@ vcl::Window* Deck::GetPanelParentWindow()
return mpScrollContainer.get();
}
-Panel* Deck::GetPanel(const OUString panelId)
+Panel* Deck::GetPanel(const OUString & panelId)
{
for (size_t i = 0; i < maPanels.size(); i++)
{