diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-16 14:41:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-16 16:14:46 +0200 |
commit | fe1b87eb831d6e85b2db0591f933a9eede2e78cf (patch) | |
tree | a76fb5394821abc1280df7aa0cef73f6185affec /sw/source/filter/docx | |
parent | d22cc61705239d9fcf6ee9597da8c883e3c79da4 (diff) |
convert SW*READER constants to scoped enum
Change-Id: I7cf635e238a16e7ec96e585e6eb5e2e9c39b545a
Reviewed-on: https://gerrit.libreoffice.org/57497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/docx')
-rw-r--r-- | sw/source/filter/docx/swdocxreader.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/docx/swdocxreader.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx index 7c9a59f863f9..90a6a9f1224f 100644 --- a/sw/source/filter/docx/swdocxreader.cxx +++ b/sw/source/filter/docx/swdocxreader.cxx @@ -99,9 +99,9 @@ ErrCode SwDOCXReader::Read(SwDoc& rDoc, const OUString& /* rBaseURL */, SwPaM& r return ret; } -int SwDOCXReader::GetReaderType() +SwReaderType SwDOCXReader::GetReaderType() { - return SW_STORAGE_READER | SW_STREAM_READER; + return SwReaderType::Storage | SwReaderType::Stream; } bool SwDOCXReader::HasGlossaries() const diff --git a/sw/source/filter/docx/swdocxreader.hxx b/sw/source/filter/docx/swdocxreader.hxx index 8035b6b746b0..57900c12143b 100644 --- a/sw/source/filter/docx/swdocxreader.hxx +++ b/sw/source/filter/docx/swdocxreader.hxx @@ -28,7 +28,7 @@ class SwDOCXReader : public StgReader { public: - virtual int GetReaderType() override; + virtual SwReaderType GetReaderType() override; virtual bool HasGlossaries() const override; virtual bool ReadGlossaries( SwTextBlocks& rBlocks, bool bSaveRelFiles ) const override; |