[Libreoffice-commits] .: 2 commits - stoc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Dec 24 06:28:25 PST 2010
stoc/source/inspect/introspection.cxx | 4 ++--
stoc/source/javavm/javavm.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 427c25e92805b0a346acaa87275534936be94b42
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 24 13:30:27 2010 +0000
cppcheck: prefer prefix variant
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index e41ef82..d85d2fe 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -1588,7 +1588,7 @@ public:
(*iter).second->release();
(*iter).second = NULL;
- iter++;
+ ++iter;
}
}
};
@@ -1686,7 +1686,7 @@ public:
{
(*iter).second->release();
(*iter).second = NULL;
- iter++;
+ ++iter;
}
}
};
commit 257a0cdb0fb2d9a05ba0797d69f0e2b981f13470
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 24 13:30:14 2010 +0000
cppcheck: prefer prefix variant
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index c19f286..700c3d2 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -806,7 +806,7 @@ JavaVirtualMachine::getJavaVM(css::uno::Sequence< sal_Int8 > const & rProcessId)
rtl::OString sJavaOption("-");
typedef std::vector<rtl::OUString>::const_iterator cit;
int index = 0;
- for (cit i = props.begin(); i != props.end(); i++)
+ for (cit i = props.begin(); i != props.end(); ++i)
{
rtl::OString sOption = rtl::OUStringToOString(
*i, osl_getThreadTextEncoding());
More information about the Libreoffice-commits
mailing list