summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2014-02-23 17:01:51 -0500
committerStephan Bergmann <sbergman@redhat.com>2014-02-24 12:32:43 +0100
commit8bf34faa1e87a2b7940445c38517177ad238ed32 (patch)
tree03ee318779f3e32a9fe8390299945f3d5d9532fe /unoidl
parent130a2baa8307175c27da42ba3ec5a3caf8d799fb (diff)
Yet another one undefined comparison of 'const' and a 'non-const' iterators
Fixes: no match for ‘operator!=’ in ‘i != std::vector<_Tp, _Alloc>::rend() [with _Tp = rtl::OUString, _Alloc = std::allocator<rtl::OUString>]()’ Change-Id: I7b4ba07ebe51c73893a3d6b77dcf5681b7638efb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/sourceprovider-parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y
index 15bb011bc8c3..dba0b2947213 100644
--- a/unoidl/source/sourceprovider-parser.y
+++ b/unoidl/source/sourceprovider-parser.y
@@ -261,7 +261,7 @@ unoidl::detail::SourceProviderEntity * findEntity_(
assert(name != 0);
OUString n;
if (!name->startsWith(".", &n)) {
- for (std::vector<OUString>::const_reverse_iterator i(data->modules.rbegin());
+ for (std::vector<OUString>::reverse_iterator i(data->modules.rbegin());
i != data->modules.rend(); ++i)
{
n = *i + "." + *name;