summaryrefslogtreecommitdiff
path: root/vcl/osx/a11ywrapper.mm
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-07 08:14:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-07 08:14:27 +0200
commit5e4476b6ecda4be8a3271185bfc5d1aff58ce3af (patch)
tree088c9a686397b2d99cf51d559db209ede86f198d /vcl/osx/a11ywrapper.mm
parent0451703e2eff960c12443e2ab8d58b2d91754f3c (diff)
loplugin:oncevar
Change-Id: I678b1bf281ae4de4a75f8c83398ee19f75b4f278
Diffstat (limited to 'vcl/osx/a11ywrapper.mm')
-rw-r--r--vcl/osx/a11ywrapper.mm2
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 ] ];