diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-04-20 09:07:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-04-20 11:16:34 +0200 |
commit | ac4ea366ec040cdb68f93d42045cba5780852d9f (patch) | |
tree | 5be6a2ecac320004551fd4bd50b66271cf5322a9 /writerperfect/source/draw/QXPImportFilter.hxx | |
parent | 66c02d16dd078613e754dcc775f366413fad13f0 (diff) |
writerperfect: astyle -> clang-format
< vmiklos> dtardon: are you strongly attached to astyle usage in
core.git writerperfect/? my problem is that 1) when less regular
contributors touch it, they don't run astyle 2) core.git has git hooks
in place to enforce consistent style for selected files, but that uses
clang-format. i wonder if switching to the standard core.git
clang-format would be an option to stop this reformat game
<@dtardon> vmiklos, clang-format is okay. we started to use astyle years
ago, before there were even any serious talk about automatic formatting
for the whole libreoffice
Change-Id: I844fc9c2e8560e54a49f26064cc0b3c55a5f034c
Reviewed-on: https://gerrit.libreoffice.org/53184
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'writerperfect/source/draw/QXPImportFilter.hxx')
-rw-r--r-- | writerperfect/source/draw/QXPImportFilter.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/writerperfect/source/draw/QXPImportFilter.hxx b/writerperfect/source/draw/QXPImportFilter.hxx index 5672165a2d43..6b73e8ae1357 100644 --- a/writerperfect/source/draw/QXPImportFilter.hxx +++ b/writerperfect/source/draw/QXPImportFilter.hxx @@ -18,19 +18,20 @@ class QXPImportFilter : public writerperfect::ImportFilter<OdgGenerator> { public: - explicit QXPImportFilter(const css::uno::Reference< css::uno::XComponentContext > &rxContext) + explicit QXPImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext) : writerperfect::ImportFilter<OdgGenerator>(rxContext) { } // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; - virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; + virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; private: - virtual bool doDetectFormat(librevenge::RVNGInputStream &rInput, OUString &rTypeName) override; - virtual bool doImportDocument(librevenge::RVNGInputStream &rInput, OdgGenerator &rGenerator, utl::MediaDescriptor &) override; + virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override; + virtual bool doImportDocument(librevenge::RVNGInputStream& rInput, OdgGenerator& rGenerator, + utl::MediaDescriptor&) override; }; #endif |