diff options
Diffstat (limited to 'codemaker/source/cppumaker/dependencies.hxx')
-rw-r--r-- | codemaker/source/cppumaker/dependencies.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/codemaker/source/cppumaker/dependencies.hxx b/codemaker/source/cppumaker/dependencies.hxx index e1513a3250cc..2434ce953223 100644 --- a/codemaker/source/cppumaker/dependencies.hxx +++ b/codemaker/source/cppumaker/dependencies.hxx @@ -41,10 +41,11 @@ namespace codemaker { namespace cppumaker { class Dependencies { public: /** - Flags to distinguish whether or not one entity depends on another entity - because the second is a direct base of the first. + Flags to distinguish whether one entity depends on another entity because + the second is a direct base of the first or an exception thrown by the + first. */ - enum Kind { KIND_NO_BASE, KIND_BASE }; + enum Kind { KIND_NORMAL, KIND_BASE, KIND_EXCEPTION }; typedef std::map< rtl::OUString, Kind > Map; @@ -97,7 +98,7 @@ public: bool hasSequenceDependency() const { return m_sequenceDependency; } private: - void insert(rtl::OUString const & name, bool base = false); + void insert(rtl::OUString const & name, Kind kind); rtl::Reference< TypeManager > m_manager; Map m_map; |