summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
diff options
context:
space:
mode:
authorBálint Dózsa <dozsabalint@gmail.com>2011-02-16 18:59:20 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-16 21:08:26 +0100
commitfcf3851494f067635dc576a2f69207184168b1e7 (patch)
treedf828eefa00a51562c55e8b877603d3d54ed0475 /xmlhelp/source/cxxhelp/provider/urlparameter.cxx
parentb0ead278358dd5d96726bf42293325388bef1cbb (diff)
Remove dead code
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/urlparameter.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index ff05d538d1d4..7f89f12c4c99 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -543,7 +543,6 @@ void URLParameter::open( const Reference< XMultiServiceFactory >& rxSMgr,
void URLParameter::parse() throw( com::sun::star::ucb::IllegalIdentifierException )
{
- // fprintf(stdout,"url send to xmlhelp: %s\n",(rtl::OUStringToOString(m_aURL,RTL_TEXTENCODING_UTF8).getStr()));
m_aExpr = m_aURL;
sal_Int32 lstIdx = m_aExpr.lastIndexOf( sal_Unicode( '#' ) );
@@ -619,9 +618,6 @@ bool URLParameter::name( bool modulePresent )
{
sal_Int32 idx = 1;
while( idx < length && (m_aExpr.getStr())[idx] != '?' )
-// ( isLetterOrDigit( (m_aExpr.getStr())[idx] )
-// || (m_aExpr.getStr())[idx] == '/'
-// || (m_aExpr.getStr())[idx] == '.' ))
++idx;
if( idx != 1 && ! modulePresent )
@@ -633,7 +629,6 @@ bool URLParameter::name( bool modulePresent )
}
}
-// fprintf(stdout,"id %s\n",(rtl::OUStringToOString(m_aId,RTL_TEXTENCODING_UTF8).getStr()));
return true;
}
@@ -886,18 +881,6 @@ fileClose(void * context) {
} // extern "C"
-/*
-// For debugging only
-extern "C" void StructuredXMLErrorFunction(void *userData, xmlErrorPtr error)
-{
- (void)userData;
- (void)error;
-
- // Reset error handler
- xmlSetStructuredErrorFunc( NULL, NULL );
-}
-*/
-
InputStreamTransformer::InputStreamTransformer( URLParameter* urlParam,
Databases* pDatabases,
bool isRoot )
@@ -1065,7 +1048,6 @@ InputStreamTransformer::InputStreamTransformer( URLParameter* urlParam,
xmlRegisterInputCallbacks(zipMatch, zipOpen, zipRead, uriClose);
xmlRegisterInputCallbacks(helpMatch, helpOpen, helpRead, uriClose);
xmlRegisterInputCallbacks(fileMatch, fileOpen, fileRead, fileClose);
- //xmlSetStructuredErrorFunc( NULL, (xmlStructuredErrorFunc)StructuredXMLErrorFunction );
xsltStylesheetPtr cur =
xsltParseStylesheetFile((const xmlChar *)xslURLascii.getStr());