summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/PagesImportFilter.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-04-20 09:07:25 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-04-20 11:16:34 +0200
commitac4ea366ec040cdb68f93d42045cba5780852d9f (patch)
tree5be6a2ecac320004551fd4bd50b66271cf5322a9 /writerperfect/source/writer/PagesImportFilter.hxx
parent66c02d16dd078613e754dcc775f366413fad13f0 (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/writer/PagesImportFilter.hxx')
-rw-r--r--writerperfect/source/writer/PagesImportFilter.hxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/writerperfect/source/writer/PagesImportFilter.hxx b/writerperfect/source/writer/PagesImportFilter.hxx
index 376c9ff4430c..03cbefe9f3f6 100644
--- a/writerperfect/source/writer/PagesImportFilter.hxx
+++ b/writerperfect/source/writer/PagesImportFilter.hxx
@@ -22,17 +22,20 @@
class PagesImportFilter : public writerperfect::ImportFilter<OdtGenerator>
{
public:
- explicit PagesImportFilter(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
- : writerperfect::ImportFilter<OdtGenerator>(rxContext) {}
+ explicit PagesImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(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, OdtGenerator &rGenerator, utl::MediaDescriptor &rDescriptor) override;
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(librevenge::RVNGInputStream& rInput, OdtGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor) override;
};
#endif