diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-29 15:55:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-29 15:24:54 +0000 |
commit | f4f580f4a4683ab09c94cfd2dfa9d203881e3eb5 (patch) | |
tree | dbe74e3b7e1e6df3b1315ce8e4a28e7249667917 | |
parent | 42486dde49d9a9494c1f4889bbccde1f5aecd91e (diff) |
framework: fix typo in dispatchdisabler
maDisabledURLs is a set, aDisabledURLs is a sequence, the intention is
to copy the set into the sequence, not to copy the (empty) set into
itself.
Change-Id: Ib262e863b1f1aa4c455bd7552df3dc2c3f73a400
Reviewed-on: https://gerrit.libreoffice.org/26765
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r-- | framework/source/dispatch/dispatchdisabler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/dispatch/dispatchdisabler.cxx b/framework/source/dispatch/dispatchdisabler.cxx index 7f1fe492bd58..016d3ad2cf65 100644 --- a/framework/source/dispatch/dispatchdisabler.cxx +++ b/framework/source/dispatch/dispatchdisabler.cxx @@ -94,7 +94,7 @@ uno::Sequence< OUString > SAL_CALL { uno::Sequence< OUString > aDisabledURLs(maDisabledURLs.size()); sal_Int32 n = 0; - for (auto i = aDisabledURLs.begin(); i != aDisabledURLs.end(); ++i) + for (auto i = maDisabledURLs.begin(); i != maDisabledURLs.end(); ++i) aDisabledURLs[n++] = *i; return aDisabledURLs; } |