diff options
-rw-r--r-- | codemaker/inc/codemaker/commoncpp.hxx | 2 | ||||
-rw-r--r-- | codemaker/source/commoncpp/commoncpp.cxx | 25 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 28 deletions
diff --git a/codemaker/inc/codemaker/commoncpp.hxx b/codemaker/inc/codemaker/commoncpp.hxx index 5ccb5e30efcb..812dd042184f 100644 --- a/codemaker/inc/codemaker/commoncpp.hxx +++ b/codemaker/inc/codemaker/commoncpp.hxx @@ -33,8 +33,6 @@ namespace codemaker { namespace cpp { -rtl::OString typeToPrefix(TypeManager const & manager, rtl::OString const & type); - rtl::OString scopedCppName(rtl::OString const & type, bool bNoNameSpace=false, bool shortname=false); diff --git a/codemaker/source/commoncpp/commoncpp.cxx b/codemaker/source/commoncpp/commoncpp.cxx index a6926e607956..ddd9dade1de6 100644 --- a/codemaker/source/commoncpp/commoncpp.cxx +++ b/codemaker/source/commoncpp/commoncpp.cxx @@ -46,31 +46,6 @@ namespace codemaker { namespace cpp { -rtl::OString typeToPrefix(TypeManager const & manager, rtl::OString const & type) -{ - RTTypeClass typeclass = manager.getTypeClass(type); - if (typeclass == RT_TYPE_INVALID || - typeclass == RT_TYPE_PUBLISHED) - return rtl::OString("_"); - - static char const * const typeclassPrefix[RT_TYPE_UNION + 1] = { - "invalid", /* RT_TYPE_INVALID, is here only as placeholder */ - "interface", /* RT_TYPE_INTERFACE */ - "module", /* RT_TYPE_MODULE */ - "struct", /* RT_TYPE_STRUCT */ - "enum", /* RT_TYPE_ENUM */ - "exception", /* RT_TYPE_EXCEPTION */ - "typedef", /* RT_TYPE_TYPEDEF */ - "service", /* RT_TYPE_SERVICE */ - "singleton", /* RT_TYPE_SINGLETON */ - "object", /* RT_TYPE_OBJECT */ - "constants", /* RT_TYPE_CONSTANTS */ - "union" /* RT_TYPE_UNION */ - }; - - return rtl::OString(typeclassPrefix[typeclass]); -} - rtl::OString scopedCppName(rtl::OString const & type, bool bNoNameSpace, bool shortname) { diff --git a/unusedcode.easy b/unusedcode.easy index 40865c72104e..fa8ca4af28b5 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1608,7 +1608,6 @@ chart::EquidistantTickIter::getMaxIndex() const chart::EquidistantTickIter::gotoIndex(int) cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&) cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&) -codemaker::cpp::typeToPrefix(TypeManager const&, rtl::OString const&) comphelper::AccessibleEventNotifier::getEventListeners(unsigned int) comphelper::AttributeList::AppendAttributeList(com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) comphelper::AttributeList::Clear() |