From 5e4476b6ecda4be8a3271185bfc5d1aff58ce3af Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 7 Aug 2017 08:14:27 +0200 Subject: loplugin:oncevar Change-Id: I678b1bf281ae4de4a75f8c83398ee19f75b4f278 --- vcl/osx/a11ywrapper.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/osx/a11ywrapper.mm') diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm index 15123c826854..0f083126cbfc 100644 --- a/vcl/osx/a11ywrapper.mm +++ b/vcl/osx/a11ywrapper.mm @@ -157,7 +157,7 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) { if ( ! asGetter ) { [ methodName appendString: @"set" ]; } - NSRange aRange = { 2, 1 }; + NSRange const aRange = { 2, 1 }; NSString * firstChar = [ attribute substringWithRange: aRange ]; // drop leading "AX" and get first char if ( asGetter ) { [ methodName appendString: [ firstChar lowercaseString ] ]; -- cgit