summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 12:52:55 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-13 15:14:36 +0100
commitfddcbd5d28bb58993ee3d210f1d11e57c70a8894 (patch)
tree8172a1c3900440aaf423465db9371bdf41b8c4c4 /cppuhelper
parent7ebd82e885b60552464e060236e869162fcadc71 (diff)
tdf#123936 Formatting files in module cppu with clang-format
Change-Id: I98281fce06c2a8c094db9e80c1f6bdf35ce70ccd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105657 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/paths.hxx14
-rw-r--r--cppuhelper/source/supportsservice.cxx6
2 files changed, 10 insertions, 10 deletions
diff --git a/cppuhelper/source/paths.hxx b/cppuhelper/source/paths.hxx
index 9ce486fa772a..c1e3724c0aa1 100644
--- a/cppuhelper/source/paths.hxx
+++ b/cppuhelper/source/paths.hxx
@@ -22,16 +22,18 @@
#include <sal/config.h>
#include <rtl/ustring.hxx>
-namespace osl { class Directory; }
-
-namespace cppu {
+namespace osl
+{
+class Directory;
+}
+namespace cppu
+{
OUString getUnoIniUri();
-bool nextDirectoryItem(osl::Directory & directory, OUString * url);
-
-void decodeRdbUri(OUString * uri, bool * optional, bool * directory);
+bool nextDirectoryItem(osl::Directory& directory, OUString* url);
+void decodeRdbUri(OUString* uri, bool* optional, bool* directory);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppuhelper/source/supportsservice.cxx b/cppuhelper/source/supportsservice.cxx
index f7f267ea0fd5..40dca8c0c269 100644
--- a/cppuhelper/source/supportsservice.cxx
+++ b/cppuhelper/source/supportsservice.cxx
@@ -17,12 +17,10 @@
#include <cppuhelper/supportsservice.hxx>
#include <rtl/ustring.hxx>
-bool cppu::supportsService(
- css::lang::XServiceInfo * implementation, OUString const & name)
+bool cppu::supportsService(css::lang::XServiceInfo* implementation, OUString const& name)
{
assert(implementation != nullptr);
- const css::uno::Sequence< OUString > s(
- implementation->getSupportedServiceNames());
+ const css::uno::Sequence<OUString> s(implementation->getSupportedServiceNames());
return std::find(s.begin(), s.end(), name) != s.end();
}