summaryrefslogtreecommitdiff
path: root/sd/inc/helper
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:14:09 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-22 01:56:52 +0100
commit1e17165f6643afe583bb97a40fb25ecb7bab24d9 (patch)
tree7689985f76e4f50741319ab770d35a194169ffca /sd/inc/helper
parenta9bce41c64bda648be2609a0dc4aea728fa8ec77 (diff)
tdf#123936 Formatting files in module sd with clang-format
Change-Id: Ieb02e9ae91123bcf1decc141a43fe7e985bf47f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105703 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'sd/inc/helper')
-rw-r--r--sd/inc/helper/simplereferencecomponent.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sd/inc/helper/simplereferencecomponent.hxx b/sd/inc/helper/simplereferencecomponent.hxx
index 53ad24a9ef6a..153d8573da42 100644
--- a/sd/inc/helper/simplereferencecomponent.hxx
+++ b/sd/inc/helper/simplereferencecomponent.hxx
@@ -24,8 +24,8 @@
#include <sddllapi.h>
-namespace sd {
-
+namespace sd
+{
/** A simple base implementation for reference-counted components.
acts like sal::SimpleReferenceObject but calls the virtual disposing()
methods before the ref count switches from 1 to zero.
@@ -56,12 +56,11 @@ protected:
private:
oslInterlockedCount m_nCount;
- SimpleReferenceComponent(SimpleReferenceComponent const &) = delete;
- void operator =(SimpleReferenceComponent const &) = delete;
+ SimpleReferenceComponent(SimpleReferenceComponent const&) = delete;
+ void operator=(SimpleReferenceComponent const&) = delete;
bool mbDisposed;
};
-
}
#endif // _SALHELPER_SimpleReferenceComponent_HXX_