diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:14:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:14:27 +0200 |
commit | 5e4476b6ecda4be8a3271185bfc5d1aff58ce3af (patch) | |
tree | 088c9a686397b2d99cf51d559db209ede86f198d /vcl/osx/a11ywrapper.mm | |
parent | 0451703e2eff960c12443e2ab8d58b2d91754f3c (diff) |
loplugin:oncevar
Change-Id: I678b1bf281ae4de4a75f8c83398ee19f75b4f278
Diffstat (limited to 'vcl/osx/a11ywrapper.mm')
-rw-r--r-- | vcl/osx/a11ywrapper.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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 ] ]; |