Delete commented out code

This commit is contained in:
Luke Petrolekas
2012-03-19 18:55:10 -04:00
committed by Stephan Bergmann
parent eb1c4f8ff0
commit a2e37bd3f0
3 changed files with 1 additions and 22 deletions

View File

@@ -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)

View File

@@ -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);

View File

@@ -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)
{