[Libreoffice-commits] .: setup_native/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Mon Feb 14 08:16:43 PST 2011
setup_native/source/win32/customactions/shellextensions/registerextensions.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit df41230804b01b27f4b09f8f1fb82991e8ff0846
Author: Kevin Hunter <hunteke at earlham.edu>
Date: Mon Feb 14 10:50:28 2011 -0500
cppcheck: post- to pre- *crement change
diff --git a/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx b/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
index 47a4fea..c4ff219 100644
--- a/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
+++ b/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
@@ -111,7 +111,7 @@ static std::_tstring createTempFolder()
std::_tstring cur(szTempName);
//make a file URL from the path
std::_tstring ret(TEXT("file:///"));
- for (std::_tstring::iterator i = cur.begin(); i != cur.end(); i++)
+ for (std::_tstring::iterator i = cur.begin(); i != cur.end(); ++i)
{
if (*i == '\\')
ret.append(TEXT("/"));
@@ -133,7 +133,7 @@ static void deleteTempFolder(const std::_tstring& sTempFolder)
const std::_tstring path(sTempFolder.substr(8));
std::_tstring path2;
// MessageBox(NULL, path.c_str(), "del1", MB_OK);
- for (std::_tstring::const_iterator i = path.begin(); i != path.end(); i++)
+ for (std::_tstring::const_iterator i = path.begin(); i != path.end(); ++i)
{
if (*i == '/')
path2.append(TEXT("\\"));
More information about the Libreoffice-commits
mailing list