summaryrefslogtreecommitdiff
path: root/include/vcl/IContext.hxx
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/vcl/IContext.hxx
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/vcl/IContext.hxx')
-rw-r--r--include/vcl/IContext.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/vcl/IContext.hxx b/include/vcl/IContext.hxx
index 6af9b20c4453..05823d190ed7 100644
--- a/include/vcl/IContext.hxx
+++ b/include/vcl/IContext.hxx
@@ -16,14 +16,10 @@
namespace vcl
{
-
class VCL_DLLPUBLIC IContext
{
protected:
- IContext()
- {
- maContext.push_back( vcl::EnumContext::Context::Any );
- }
+ IContext() { maContext.push_back(vcl::EnumContext::Context::Any); }
public:
void SetContext(const std::vector<vcl::EnumContext::Context>& aContext)
@@ -31,7 +27,7 @@ public:
maContext = aContext;
}
- bool HasContext( const vcl::EnumContext::Context eContext ) const
+ bool HasContext(const vcl::EnumContext::Context eContext) const
{
auto aFind = std::find(maContext.begin(), maContext.end(), eContext);
if (aFind == maContext.end())