summaryrefslogtreecommitdiff
path: root/rdbmaker
diff options
context:
space:
mode:
authorLuke Petrolekas <luke.petrolekas@gmail.com>2012-03-19 18:55:10 -0400
committerStephan Bergmann <sbergman@redhat.com>2012-03-20 08:57:24 +0100
commita2e37bd3f0fe6d24c6fc0a4c7e4d5744c884e546 (patch)
treeb2984e3a8ce4e3d7549d28aef5e2bd729405227d /rdbmaker
parenteb1c4f8ff0611bab1dd0ad92e25d82092a971731 (diff)
Delete commented out code
Diffstat (limited to 'rdbmaker')
-rw-r--r--rdbmaker/inc/codemaker/registry.hxx6
-rw-r--r--rdbmaker/inc/codemaker/typemanager.hxx10
-rw-r--r--rdbmaker/source/codemaker/dependency.cxx7
3 files changed, 1 insertions, 22 deletions
diff --git a/rdbmaker/inc/codemaker/registry.hxx b/rdbmaker/inc/codemaker/registry.hxx
index 7686cc5a6fd8..eadbb7d4bb4a 100644
--- a/rdbmaker/inc/codemaker/registry.hxx
+++ b/rdbmaker/inc/codemaker/registry.hxx
@@ -77,12 +77,6 @@ struct TypeReader_Impl
class TypeReader
{
-/*
- inline TypeReader(const RegistryTypeReader_Api* pApi,
- const sal_uInt8* buffer,
- sal_uInt32 bufferLen,
- sal_Bool copyData);
-*/
public:
inline TypeReader()
: m_pImpl(NULL)
diff --git a/rdbmaker/inc/codemaker/typemanager.hxx b/rdbmaker/inc/codemaker/typemanager.hxx
index b651e9baa0ca..6feba4de23a4 100644
--- a/rdbmaker/inc/codemaker/typemanager.hxx
+++ b/rdbmaker/inc/codemaker/typemanager.hxx
@@ -125,15 +125,7 @@ public:
{
acquire();
}
-/*
- RegistryTypeManager& operator = ( const RegistryTypeManager& value )
- {
- release();
- m_pImpl = value.m_pImpl;
- acquire();
- return *this;
- }
-*/
+
using TypeManager::init;
sal_Bool init(sal_Bool bMerge, const StringVector& regFiles);
diff --git a/rdbmaker/source/codemaker/dependency.cxx b/rdbmaker/source/codemaker/dependency.cxx
index 0ca56c33c88d..a8ceb2523f56 100644
--- a/rdbmaker/source/codemaker/dependency.cxx
+++ b/rdbmaker/source/codemaker/dependency.cxx
@@ -113,7 +113,6 @@ sal_Bool TypeDependency::hasDependencies(const OString& type)
void TypeDependency::setGenerated(const OString& type, sal_uInt16 genFlag)
{
-// m_pImpl->m_generatedTypes.insert(type);
if (m_pImpl->m_generatedTypes.count(type) > 0)
m_pImpl->m_generatedTypes[type]= m_pImpl->m_generatedTypes[type] | genFlag;
else
@@ -122,12 +121,6 @@ void TypeDependency::setGenerated(const OString& type, sal_uInt16 genFlag)
sal_Bool TypeDependency::isGenerated(const OString& type, sal_uInt16 genFlag)
{
-/*
- if (m_pImpl->m_generatedTypes.count(type) > 0)
- return sal_True;
-
- return sal_False;
-*/
if (m_pImpl->m_generatedTypes.count(type) > 0 &&
m_pImpl->m_generatedTypes[type] & genFlag)
{