vcl/source/graphic/VectorGraphicSearch.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
New commits: commit c1a973678474c9775730ae577ec349b76ff356bb Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Sun May 31 09:51:33 2020 +0200 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Tue Jun 9 15:27:53 2020 +0200 vcl: VectorGraphicSearch - clean-up SearchContext member vars. Change-Id: I1740be5ed1b47235da3794fa46e3533b17ca1fb8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95390 Tested-by: Tomaž Vajngerl <qui...@gmail.com> Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> (cherry picked from commit 40d682542f02d78b5ed6bd4fc0ba461a1a7fb5f1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95932 diff --git a/vcl/source/graphic/VectorGraphicSearch.cxx b/vcl/source/graphic/VectorGraphicSearch.cxx index 42d98a981ef9..94d954516f13 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) { } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits