and some more, also contributed under the LGPLv3+ / MPL.
On Mon, Mar 19, 2012 at 6:46 PM, Luke Petrolekas
<luke.petrolekas@gmail.com>wrote:
I would have thought we would have deleted all commented out stuff
already! :) Woot for first commit in nearly a year.
Code is contributed under the LGPLv3+ / MPL.
Luke
From b4a980dda1eafae620cf8b07954dd220d144d799 Mon Sep 17 00:00:00 2001
From: Luke Petrolekas <luke.petrolekas@gmail.com>
Date: Mon, 19 Mar 2012 18:55:10 -0400
Subject: [PATCH] Delete commented out code
---
rdbmaker/inc/codemaker/registry.hxx | 6 ------
rdbmaker/inc/codemaker/typemanager.hxx | 10 +---------
rdbmaker/source/codemaker/dependency.cxx | 7 -------
3 files changed, 1 insertions(+), 22 deletions(-)
diff --git a/rdbmaker/inc/codemaker/registry.hxx b/rdbmaker/inc/codemaker/registry.hxx
index 7686cc5..eadbb7d 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 b651e9b..6feba4d 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 0ca56c3..a8ceb25 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)
{
--
1.7.5.4
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.