summaryrefslogtreecommitdiff
path: root/cui/source/factory/cuiexp.cxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 12:53:37 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-13 15:12:03 +0100
commitec35fc62993111e4e7dd917e7dbc91ef82b02f74 (patch)
tree04965b0c2e1c4dafc652d2fa3898029366664cd7 /cui/source/factory/cuiexp.cxx
parentd66683f86a719b9961a076237aba07d6b4fea359 (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/cuiexp.cxx')
-rw-r--r--cui/source/factory/cuiexp.cxx18
1 files changed, 7 insertions, 11 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: */