[Libreoffice] [PATCH 2/3] Delete commented out code in ure/xml2cmp
Laurent Charrière
lcharriere at gmail.com
Thu Oct 14 22:26:48 PDT 2010
Signed-off-by: Laurent Charrière <lcharriere at gmail.com>
---
xml2cmp/source/finder/dependy.cxx | 1 -
xml2cmp/source/xcd/main.cxx | 1 -
xml2cmp/source/xcd/parse.cxx | 4 ----
3 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/xml2cmp/source/finder/dependy.cxx b/xml2cmp/source/finder/dependy.cxx
index 4daca23..1b34b56 100644
--- a/xml2cmp/source/finder/dependy.cxx
+++ b/xml2cmp/source/finder/dependy.cxx
@@ -104,7 +104,6 @@ DependencyFinder::FindNeededServices( StringVector & o_rLibraries,
aResult_Libraries.erase( aResult_Libraries.begin(), aResult_Libraries.end() );
aResult_Services.erase( aResult_Services.begin(), aResult_Services.end() );
-// const ServiceInfo & rSInfo = (*itService).second->FirstImplementation();
Add2Result( *(*itService).second );
for ( std::set< Simstr >::const_iterator il = aResult_Libraries.begin();
diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx
index 7e13807..377cd9a 100644
--- a/xml2cmp/source/xcd/main.cxx
+++ b/xml2cmp/source/xcd/main.cxx
@@ -213,7 +213,6 @@ Create_TypeInfo( const char * o_sOutputFile,
if ( 0 == strcmp(pHeapTop->Key(), pLastHeapTop->Key()) )
continue;
delete pLastHeapTop;
- // pLastHeapTop = 0;
}
pLastHeapTop = pHeapTop;
diff --git a/xml2cmp/source/xcd/parse.cxx b/xml2cmp/source/xcd/parse.cxx
index 906b407..20198cf 100644
--- a/xml2cmp/source/xcd/parse.cxx
+++ b/xml2cmp/source/xcd/parse.cxx
@@ -442,10 +442,6 @@ X2CParser::SyntaxError( const char * i_sText )
void
X2CParser::TestCurChar()
{
-// if (*text == '\0')
-// SyntaxError("unexpected end of file");
-// else
-
if (*text == '\n')
nFileLine++;
}
--
1.7.1
More information about the LibreOffice
mailing list