include/osl/conditn.h | 2 +- include/osl/test/uniquepipename.hxx | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-)
New commits: commit cf435712b300562b54d896ab9e0e953fac6e7067 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Sat Mar 18 12:20:42 2017 +1100 osl: removed extraneous <BR> tag from conditn.h Change-Id: I7cfcef8b825ab1f0cc2fcd55bda19b2981a972d5 diff --git a/include/osl/conditn.h b/include/osl/conditn.h index 6c7c166ea87d..26d2cb103d62 100644 --- a/include/osl/conditn.h +++ b/include/osl/conditn.h @@ -66,7 +66,7 @@ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_setCondition(oslCondition Condition); */ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_resetCondition(oslCondition Condition); -/** Blocks if condition is not set<BR> +/** Blocks if condition is not set If condition has been destroyed prematurely, wait() will return with False. @param Condition handle to a created condition. commit bda4fe043b8bd03d647bc9497fc271cd458ac91d Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Sat Mar 18 12:15:55 2017 +1100 osl: test/uniquepipename.hxx use <> delimiters for headers Change-Id: Idabde42af4eed1000e32d605cf93f359ed218ff0 diff --git a/include/osl/test/uniquepipename.hxx b/include/osl/test/uniquepipename.hxx index 0b1f9c68a695..fb0be8f4ad7a 100644 --- a/include/osl/test/uniquepipename.hxx +++ b/include/osl/test/uniquepipename.hxx @@ -17,11 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sal/types.h" -#include "cppunit/TestAssert.h" -#include "osl/process.h" -#include "rtl/ustring.h" -#include "rtl/ustring.hxx" +#include <sal/types.h> +#include <rtl/ustring.h> +#include <rtl/ustring.hxx> +#include <cppunit/TestAssert.h> + +#include <osl/process.h> namespace osl { namespace test { commit d8d9c9ef40c5f4f32404f0cdce3dfffea45541f7 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Sat Mar 18 12:02:24 2017 +1100 osl: test/uniquepipename.hxx whitespace and end namespace comments Change-Id: Ib409a60061af4034132a0fbd83b85f58212a72b4 diff --git a/include/osl/test/uniquepipename.hxx b/include/osl/test/uniquepipename.hxx index bdffb28ca2c0..0b1f9c68a695 100644 --- a/include/osl/test/uniquepipename.hxx +++ b/include/osl/test/uniquepipename.hxx @@ -26,16 +26,19 @@ namespace osl { namespace test { -OUString uniquePipeName(OUString const & name) { +OUString uniquePipeName(OUString const & name) +{ oslProcessInfo info; info.Size = sizeof info; + CPPUNIT_ASSERT_EQUAL( osl_Process_E_None, osl_getProcessInfo(nullptr, osl_Process_IDENTIFIER, &info)); + return name + OUString::number(info.Ident); } -} -} +} // test namespace +} // osl namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits