diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-08 10:34:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-08 10:34:37 +0100 |
commit | 9d5e53b67c7c131ab4cdc8e103373be2be7830c2 (patch) | |
tree | 9874a3af81cfa4af24ba8fabe641c6d60d2ff32d /codemaker | |
parent | bf6544c0ab0625e5ce5918f6d861763d4fa87aba (diff) |
protected -> private
Change-Id: I807b31eaa0b0cd68e0ca018b6df4269c1aab5763
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index ccd908d36dae..5c015c93c2b0 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -1039,17 +1039,13 @@ public: void dumpAttributesCppuDecl(FileStream & out, std::set< OUString > * seen); void dumpMethodsCppuDecl(FileStream & out, std::set< OUString > * seen); -protected: +private: virtual void addComprehensiveGetCppuTypeIncludes( codemaker::cppumaker::Includes & includes) const SAL_OVERRIDE; virtual sal_uInt32 checkInheritedMemberCount() const SAL_OVERRIDE { return BaseOffset(m_typeMgr, entity_).get(); } - sal_uInt32 m_inheritedMemberCount; - bool m_isDeprecated; - -private: void dumpExceptionSpecification( FileStream & out, std::vector< OUString > const & exceptions, bool runtimeException); @@ -1063,16 +1059,16 @@ private: std::vector< OUString > const & exceptions, bool runtimeException); rtl::Reference< unoidl::InterfaceTypeEntity > entity_; + bool m_isDeprecated; }; InterfaceType::InterfaceType( rtl::Reference< unoidl::InterfaceTypeEntity > const & entity, OUString const & name, rtl::Reference< TypeManager > const & typeMgr): - CppuType(name, typeMgr), entity_(entity) + CppuType(name, typeMgr), entity_(entity), + m_isDeprecated(isDeprecated(entity->getAnnotations())) { assert(entity.is()); - m_inheritedMemberCount = 0; - m_isDeprecated = isDeprecated(entity->getAnnotations()); } void InterfaceType::dumpDeclaration(FileStream & out) { |