summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-29 15:55:11 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-07-20 18:01:53 +0200
commit43ebf466fef79b055e4a905ab4abf18da190180a (patch)
treeceb47d87dbb52d932078aaaaacd2faffe63c9b17
parent918a02ba8ba9a35fdd2c2ea2ad6864de0c7cb7c5 (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> (cherry picked from commit f4f580f4a4683ab09c94cfd2dfa9d203881e3eb5)
-rw-r--r--framework/source/dispatch/dispatchdisabler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/dispatch/dispatchdisabler.cxx b/framework/source/dispatch/dispatchdisabler.cxx
index 608b18d70013..5f410aff4f7a 100644
--- a/framework/source/dispatch/dispatchdisabler.cxx
+++ b/framework/source/dispatch/dispatchdisabler.cxx
@@ -95,7 +95,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;
}