From ded02dafbce173f2f1a23e10deee8002f73317b2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 7 Nov 2017 10:08:18 +0200 Subject: loplugin:finalclasses in connectivity Change-Id: I0cd075efad83c0a8d6f05c91201a9aa86649590b Reviewed-on: https://gerrit.libreoffice.org/44386 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/inc/file/fcomp.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity/source/inc/file') diff --git a/connectivity/source/inc/file/fcomp.hxx b/connectivity/source/inc/file/fcomp.hxx index 90dfb70678ab..3706c1c07171 100644 --- a/connectivity/source/inc/file/fcomp.hxx +++ b/connectivity/source/inc/file/fcomp.hxx @@ -33,7 +33,7 @@ namespace connectivity class OSQLAnalyzer; typedef std::vector OCodeList; - class OPredicateCompiler : public ::salhelper::SimpleReferenceObject + class OPredicateCompiler final : public ::salhelper::SimpleReferenceObject { friend class OPredicateInterpreter; friend class OSQLAnalyzer; @@ -66,7 +66,7 @@ namespace connectivity bool hasCode() const {return !isClean();} void setOrigColumns(const css::uno::Reference< css::container::XNameAccess>& rCols) { m_orgColumns = rCols; } const css::uno::Reference< css::container::XNameAccess>& getOrigColumns() const { return m_orgColumns; } - protected: + private: /// @throws css::sdbc::SQLException /// @throws css::uno::RuntimeException void execute_COMPARE(connectivity::OSQLParseNode const * pPredicateNode); -- cgit