diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-05-31 09:51:33 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-06-03 13:28:21 +0200 |
commit | 40d682542f02d78b5ed6bd4fc0ba461a1a7fb5f1 (patch) | |
tree | adcc96b1073f3321dadeb4e64ee9121a3a35138d | |
parent | 4dcc48f37248a1eb45188739de961689e7873f3c (diff) |
vcl: VectorGraphicSearch - clean-up SearchContext member vars.
Change-Id: I1740be5ed1b47235da3794fa46e3533b17ca1fb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95390
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r-- | vcl/source/graphic/VectorGraphicSearch.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/graphic/VectorGraphicSearch.cxx b/vcl/source/graphic/VectorGraphicSearch.cxx index 76e8c59404a9..fc7c9257e1f8 100644 --- a/vcl/source/graphic/VectorGraphicSearch.cxx +++ b/vcl/source/graphic/VectorGraphicSearch.cxx @@ -34,26 +34,26 @@ public: class SearchContext { -public: - bool bInitialized = false; - +private: FPDF_DOCUMENT mpPdfDocument; - sal_Int32 mnPageIndex; FPDF_PAGE mpPage; FPDF_TEXTPAGE mpTextPage; + FPDF_SCHHANDLE mpSearchHandle; + +public: + sal_Int32 mnPageIndex; OUString maSearchString; SearchStartPosition meStartPosition; - FPDF_SCHHANDLE mpSearchHandle; SearchContext(FPDF_DOCUMENT pPdfDocument, sal_Int32 nPageIndex, OUString const& rSearchString, SearchStartPosition eStartPosition) : mpPdfDocument(pPdfDocument) - , mnPageIndex(nPageIndex) , mpPage(nullptr) , mpTextPage(nullptr) + , mpSearchHandle(nullptr) + , mnPageIndex(nPageIndex) , maSearchString(rSearchString) , meStartPosition(eStartPosition) - , mpSearchHandle(nullptr) { } |