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>
This commit is contained in:
Philipp Hofer
2020-11-12 12:52:55 +01:00
committed by Christian Lohmaier
parent 7ebd82e885
commit fddcbd5d28
5 changed files with 22 additions and 21 deletions

View File

@@ -21,8 +21,11 @@
#include <uno/mapping.h>
namespace com::sun::star::uno { class Environment; }
namespace com::sun::star::uno
{
class Environment;
}
uno_Mapping * createIdentityMapping(const css::uno::Environment & rEnv);
uno_Mapping* createIdentityMapping(const css::uno::Environment& rEnv);
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -22,10 +22,13 @@
#include <sal/config.h>
#include <rtl/ustring.hxx>
namespace osl { class Module; }
namespace cppu::detail {
namespace osl
{
class Module;
}
namespace cppu::detail
{
#ifndef DISABLE_DYNLOADING
/** Load a module.
@@ -36,10 +39,9 @@ namespace cppu::detail {
@return false if the module could not be loaded, otherwise true
*/
bool loadModule(osl::Module & rModule, OUString const & name);
bool loadModule(osl::Module& rModule, OUString const& name);
#endif
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -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: */

View File

@@ -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();
}

View File

@@ -2457,7 +2457,6 @@ cppu/source/typelib/typelib.hxx
cppu/source/uno/EnvDcp.cxx
cppu/source/uno/EnvStack.cxx
cppu/source/uno/IdentityMapping.cxx
cppu/source/uno/IdentityMapping.hxx
cppu/source/uno/any.cxx
cppu/source/uno/assign.hxx
cppu/source/uno/cascade_mapping.cxx
@@ -2471,7 +2470,6 @@ cppu/source/uno/eq.hxx
cppu/source/uno/lbenv.cxx
cppu/source/uno/lbmap.cxx
cppu/source/uno/loadmodule.cxx
cppu/source/uno/loadmodule.hxx
cppu/source/uno/prim.hxx
cppu/source/uno/sequence.cxx
cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
@@ -2496,13 +2494,11 @@ cppuhelper/source/loadsharedlibcomponentfactory.hxx
cppuhelper/source/macro_expander.cxx
cppuhelper/source/macro_expander.hxx
cppuhelper/source/paths.cxx
cppuhelper/source/paths.hxx
cppuhelper/source/propertysetmixin.cxx
cppuhelper/source/propshlp.cxx
cppuhelper/source/servicemanager.cxx
cppuhelper/source/servicemanager.hxx
cppuhelper/source/shlib.cxx
cppuhelper/source/supportsservice.cxx
cppuhelper/source/tdmgr.cxx
cppuhelper/source/typemanager.cxx
cppuhelper/source/typemanager.hxx