[Libreoffice-commits] .: sal/qa
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Jul 7 05:43:23 PDT 2011
sal/qa/osl/process/osl_process.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit a0b1f5482c44ae711dd2432455672d0f9e15735e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jul 7 13:43:10 2011 +0100
workaround sal built with _GLIBCXX_DEBUG and cppunit build without it
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index 2535c4c..9fb80a6 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -477,6 +477,7 @@ public:
);
std::string line;
+ line.reserve(1024);
while (std::getline(file, line, '\0'))
env_container->push_back(line);
tidy_container(*env_container);
More information about the Libreoffice-commits
mailing list