summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-03-18 12:02:24 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2017-03-18 12:20:09 +1100
commitd8d9c9ef40c5f4f32404f0cdce3dfffea45541f7 (patch)
tree2f64791616ebbb1f1c26fcf7cc8f032909da5cec /include/osl
parenta070d0d34763c83b4e957a7aee8b7f255a1d5519 (diff)
osl: test/uniquepipename.hxx whitespace and end namespace comments
Change-Id: Ib409a60061af4034132a0fbd83b85f58212a72b4
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/test/uniquepipename.hxx9
1 files changed, 6 insertions, 3 deletions
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: */