summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:03:16 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-21 13:19:17 +0100
commit01baeab99890e5650b3dabc15f8d900490a5a133 (patch)
tree64a1b30b20a53262605312fff4d035876fc7c811 /include/sot
parent0108cd51faf942b3fc3a292522d4b2f421f1cf45 (diff)
tdf#123936 Formatting files in module include with clang-format
Change-Id: I0507dd797cd5a35e0ae14f4b69ee4e172d08a71a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105681 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/filelist.hxx2
-rw-r--r--include/sot/object.hxx4
-rw-r--r--include/sot/sotdllapi.h4
-rw-r--r--include/sot/storinfo.hxx13
4 files changed, 12 insertions, 11 deletions
diff --git a/include/sot/filelist.hxx b/include/sot/filelist.hxx
index b94eb84d7e9c..e95ea38cce02 100644
--- a/include/sot/filelist.hxx
+++ b/include/sot/filelist.hxx
@@ -36,7 +36,7 @@ private:
public:
// import / export
- SOT_DLLPUBLIC friend SvStream& ReadFileList( SvStream& rIStm, FileList& rFileList );
+ SOT_DLLPUBLIC friend SvStream& ReadFileList(SvStream& rIStm, FileList& rFileList);
// fill in / interrogate list
void AppendFile(const OUString& rStr);
diff --git a/include/sot/object.hxx b/include/sot/object.hxx
index 8b1d7e3d8968..1657986c8490 100644
--- a/include/sot/object.hxx
+++ b/include/sot/object.hxx
@@ -44,8 +44,8 @@ public:
bool IsInClose() const { return bInClose; }
private:
- SotObject & operator= (const SotObject &) = delete;
- SotObject(const SotObject &) = delete;
+ SotObject& operator=(const SotObject&) = delete;
+ SotObject(const SotObject&) = delete;
};
#endif
diff --git a/include/sot/sotdllapi.h b/include/sot/sotdllapi.h
index 5219dd43a746..c01d6ed3a1e7 100644
--- a/include/sot/sotdllapi.h
+++ b/include/sot/sotdllapi.h
@@ -23,9 +23,9 @@
#include <sal/types.h>
#if defined(SOT_DLLIMPLEMENTATION)
-#define SOT_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#define SOT_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
-#define SOT_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#define SOT_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#define SOT_DLLPRIVATE SAL_DLLPRIVATE
diff --git a/include/sot/storinfo.hxx b/include/sot/storinfo.hxx
index ad1e185e1986..213e6635b494 100644
--- a/include/sot/storinfo.hxx
+++ b/include/sot/storinfo.hxx
@@ -31,11 +31,11 @@ class SvStream;
class SvStorageInfo
{
-friend class SotStorage;
+ friend class SotStorage;
OUString aName;
sal_uLong nSize;
bool bStream;
- bool bStorage;
+ bool bStorage;
public:
SvStorageInfo(const StgDirEntry&);
@@ -44,9 +44,10 @@ public:
, nSize(nSz)
, bStream(!bIsStorage)
, bStorage(bIsStorage)
- {}
+ {
+ }
- const OUString & GetName() const { return aName; }
+ const OUString& GetName() const { return aName; }
bool IsStream() const { return bStream; }
bool IsStorage() const { return bStorage; }
sal_uLong GetSize() const { return nSize; }
@@ -54,8 +55,8 @@ public:
typedef std::vector<SvStorageInfo> SvStorageInfoList;
-SotClipboardFormatId ReadClipboardFormat(SvStream & rStm);
-SOT_DLLPUBLIC void WriteClipboardFormat(SvStream & rStm, SotClipboardFormatId nFormat);
+SotClipboardFormatId ReadClipboardFormat(SvStream& rStm);
+SOT_DLLPUBLIC void WriteClipboardFormat(SvStream& rStm, SotClipboardFormatId nFormat);
#endif // _STORINFO_HXX