vcl/source/graphic/VectorGraphicSearch.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
New commits: commit 40d682542f02d78b5ed6bd4fc0ba461a1a7fb5f1 Author: Tomaž Vajngerl <[email protected]> AuthorDate: Sun May 31 09:51:33 2020 +0200 Commit: Tomaž Vajngerl <[email protected]> CommitDate: Wed Jun 3 13:28:21 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 <[email protected]> Reviewed-by: Tomaž Vajngerl <[email protected]> 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) { } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
