[Libreoffice-commits] .: sal/cppunittester
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Oct 19 05:36:51 PDT 2010
sal/cppunittester/cppunittester.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 49e527afa23b99fd8d6583b0ab3780bb16cef5c4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Oct 19 13:01:50 2010 +0100
allow extra arguments
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index e59fe5d..6d1291d 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -48,7 +48,7 @@
#include "sal/main.h"
SAL_IMPLEMENT_MAIN() {
- if (rtl_getAppCommandArgCount() != 1) {
+ if (rtl_getAppCommandArgCount() < 1) {
std::cerr << "Usage: cppunittester <shared-library-path>" << std::endl;
return EXIT_FAILURE;
}
More information about the Libreoffice-commits
mailing list