summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:59:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit9f7f7d6cfa379a25730bfe8fb2d4638c08e59b90 (patch)
tree63a9c9364b850e8f011ffbed9e51221921fd74cf /sw/source/uibase/utlui
parenteb96c8634a890071c72592a51afdacc2120a08b9 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I7e7cdfa5efaf18bb47d40947d4e1d91a2c9b5a57
Diffstat (limited to 'sw/source/uibase/utlui')
-rw-r--r--sw/source/uibase/utlui/unotools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index a4346b6785ed..e3b705a8e1c2 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -167,7 +167,7 @@ void SwOneExampleFrame::DisposeControl()
_xController = nullptr;
}
-static void disableScrollBars(uno::Reference< beans::XPropertySet > xViewProps,
+static void disableScrollBars(uno::Reference< beans::XPropertySet > const & xViewProps,
bool bEnableOnlineMode)
{
//the scrollbar logic is kind of busted looking in writer, when the hori scrollbar