summaryrefslogtreecommitdiff
path: root/rdbmaker
diff options
context:
space:
mode:
Diffstat (limited to 'rdbmaker')
-rw-r--r--rdbmaker/inc/codemaker/dependency.hxx1
-rw-r--r--rdbmaker/inc/codemaker/global.hxx4
-rw-r--r--rdbmaker/source/codemaker/dependency.cxx29
3 files changed, 0 insertions, 34 deletions
diff --git a/rdbmaker/inc/codemaker/dependency.hxx b/rdbmaker/inc/codemaker/dependency.hxx
index c0fff9da7c7d..648564d8f50b 100644
--- a/rdbmaker/inc/codemaker/dependency.hxx
+++ b/rdbmaker/inc/codemaker/dependency.hxx
@@ -154,7 +154,6 @@ public:
sal_Bool insert(const ::rtl::OString& type, const ::rtl::OString& depend, sal_uInt16);
TypeUsingSet getDependencies(const ::rtl::OString& type);
- sal_Bool lookupDependency(const ::rtl::OString& type, const ::rtl::OString& depend, sal_uInt16);
sal_Bool hasDependencies(const ::rtl::OString& type);
void setGenerated(const ::rtl::OString& type, sal_uInt16 genFlag=CODEGEN_DEFAULT);
diff --git a/rdbmaker/inc/codemaker/global.hxx b/rdbmaker/inc/codemaker/global.hxx
index df1f588f5ffc..26133477dfa0 100644
--- a/rdbmaker/inc/codemaker/global.hxx
+++ b/rdbmaker/inc/codemaker/global.hxx
@@ -75,10 +75,6 @@ typedef ::std::set< ::rtl::OString, LessString > StringSet;
::rtl::OString makeTempName();
const ::rtl::OString inGlobalSet(const ::rtl::OUString & r);
-inline const ::rtl::OString inGlobalSet(sal_Char* p)
-{
- return inGlobalSet( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(p) ) );
-}
::rtl::OUString convertToFileUrl(const ::rtl::OString& fileName);
diff --git a/rdbmaker/source/codemaker/dependency.cxx b/rdbmaker/source/codemaker/dependency.cxx
index 091b379aa298..692184a8be3f 100644
--- a/rdbmaker/source/codemaker/dependency.cxx
+++ b/rdbmaker/source/codemaker/dependency.cxx
@@ -100,35 +100,6 @@ TypeUsingSet TypeDependency::getDependencies(const OString& type)
return TypeUsingSet();
}
-sal_Bool TypeDependency::lookupDependency(const OString& type, const OString& depend, sal_uInt16 use)
-{
- sal_Bool ret = sal_False;
-
- if (type.getLength() > 0 && depend.getLength() > 0)
- {
- if (m_pImpl->m_dependencies.count(type) > 0)
- {
- TypeUsingSet::const_iterator iter = m_pImpl->m_dependencies[type].begin();
-
- while (iter != m_pImpl->m_dependencies[type].end())
- {
- if (depend == (*iter).m_type &&
- (use & (*iter).m_use))
- {
- ret = sal_True;
- break;
- }
- iter++;
- }
- } else
- {
- ret = sal_False;
- }
- }
-
- return ret;
-}
-
sal_Bool TypeDependency::hasDependencies(const OString& type)
{
if (type.getLength() > 0)