summaryrefslogtreecommitdiffstats
path: root/wsd/ProofKey.hpp
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-04-18 11:39:50 +0300
committerTor Lillqvist <tml@collabora.com>2020-04-18 15:00:18 +0200
commit4eb598711cd6162452a28285abbd65c6397f58bf (patch)
tree3f4d0f5562b715e7d940f5fda144cc5ed88532de /wsd/ProofKey.hpp
parentClarify what a DocumentBroker is and in which process they exist (diff)
downloadonline-4eb598711cd6162452a28285abbd65c6397f58bf.tar.gz
online-4eb598711cd6162452a28285abbd65c6397f58bf.zip
Use #pragma once
LibreOffice core uses that, too, and we support an even more restricted set of compilers. Change-Id: I0d0e2c8608e323eb5ef0f35ee8c46d02ab49a745 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92467 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'wsd/ProofKey.hpp')
-rw-r--r--wsd/ProofKey.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/wsd/ProofKey.hpp b/wsd/ProofKey.hpp
index 9ac3c7b1cf..34dd98e125 100644
--- a/wsd/ProofKey.hpp
+++ b/wsd/ProofKey.hpp
@@ -8,8 +8,8 @@
*/
// WOPI proof management
-#ifndef INCLUDED_PROOFKEY_HPP
-#define INCLUDED_PROOFKEY_HPP
+
+#pragma once
#include <string>
#include <utility>
@@ -72,6 +72,4 @@ VecOfStringPairs GetProofHeaders(const std::string& access_token, const std::str
// If no proof key, returns empty vector
const VecOfStringPairs& GetProofKeyAttributes();
-#endif // INCLUDED_PROOFKEY_HPP
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */