diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-29 15:54:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-03 20:12:22 +0000 |
commit | 12c222a3ae3d65b0c088e42bec426ec0e5ca5b75 (patch) | |
tree | a54a816a72f05840bbff1d6da6b2e79625faf10c /include/connectivity | |
parent | Trivially improve sal/types.h code indentation (diff) | |
download | core-12c222a3ae3d65b0c088e42bec426ec0e5ca5b75.tar.gz core-12c222a3ae3d65b0c088e42bec426ec0e5ca5b75.zip |
C++11: disable ctors with delete in include/
replace the old declare and don't implement pattern
with C++11 delete keyword
no need to hide this design choice behind access restrictions
Change-Id: I7e8430a07189aa48514a4613c3a8c2950b230f49
Reviewed-on: https://gerrit.libreoffice.org/24495
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/paramwrapper.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/connectivity/paramwrapper.hxx b/include/connectivity/paramwrapper.hxx index c32fa6754f59..fa8494bbe9af 100644 --- a/include/connectivity/paramwrapper.hxx +++ b/include/connectivity/paramwrapper.hxx @@ -79,6 +79,7 @@ namespace param ::connectivity::ORowSetValue& Value() { return m_aValue; } public: + ParameterWrapper() = delete; ParameterWrapper( const css::uno::Reference< css::beans::XPropertySet >& _rxColumn ); @@ -114,9 +115,6 @@ namespace param private: OUString impl_getPseudoAggregatePropertyName( sal_Int32 _nHandle ) const; - - private: - ParameterWrapper(); // not implemented }; |