[Libreoffice-commits] core.git: framework/source
Miklos Vajna
vmiklos at collabora.co.uk
Wed Jun 29 15:25:24 UTC 2016
framework/source/dispatch/dispatchdisabler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f4f580f4a4683ab09c94cfd2dfa9d203881e3eb5
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Jun 29 15:55:11 2016 +0200
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 at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/framework/source/dispatch/dispatchdisabler.cxx b/framework/source/dispatch/dispatchdisabler.cxx
index 7f1fe49..016d3ad 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;
}
More information about the Libreoffice-commits
mailing list