diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 12:53:37 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-13 15:12:03 +0100 |
commit | ec35fc62993111e4e7dd917e7dbc91ef82b02f74 (patch) | |
tree | 04965b0c2e1c4dafc652d2fa3898029366664cd7 /cui/source/factory | |
parent | d66683f86a719b9961a076237aba07d6b4fea359 (diff) |
tdf#123936 Formatting files in module cui with clang-format
Change-Id: I473e2950bb9bd53043feeae31a27ae0c2fc7801d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105659
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'cui/source/factory')
-rw-r--r-- | cui/source/factory/cuiexp.cxx | 18 | ||||
-rw-r--r-- | cui/source/factory/cuiresmgr.cxx | 5 |
2 files changed, 8 insertions, 15 deletions
diff --git a/cui/source/factory/cuiexp.cxx b/cui/source/factory/cuiexp.cxx index bbe1d743120a..06557be56779 100644 --- a/cui/source/factory/cuiexp.cxx +++ b/cui/source/factory/cuiexp.cxx @@ -22,19 +22,15 @@ namespace cui { - static AbstractDialogFactory_Impl* GetFactory() - { - static AbstractDialogFactory_Impl* pFactory = new AbstractDialogFactory_Impl; - return pFactory; - } +static AbstractDialogFactory_Impl* GetFactory() +{ + static AbstractDialogFactory_Impl* pFactory = new AbstractDialogFactory_Impl; + return pFactory; +} } -extern "C" -{ - SAL_DLLPUBLIC_EXPORT VclAbstractDialogFactory* CreateDialogFactory() - { - return ::cui::GetFactory(); - } +extern "C" { +SAL_DLLPUBLIC_EXPORT VclAbstractDialogFactory* CreateDialogFactory() { return ::cui::GetFactory(); } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/factory/cuiresmgr.cxx b/cui/source/factory/cuiresmgr.cxx index b59f73cf8530..ae22515bd261 100644 --- a/cui/source/factory/cuiresmgr.cxx +++ b/cui/source/factory/cuiresmgr.cxx @@ -20,9 +20,6 @@ #include <dialmgr.hxx> #include <unotools/resmgr.hxx> -OUString CuiResId(const char *pKey) -{ - return Translate::get(pKey, Translate::Create("cui")); -} +OUString CuiResId(const char* pKey) { return Translate::get(pKey, Translate::Create("cui")); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |