summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-03-03 23:16:20 +0000
committerKurt Zenker <kz@openoffice.org>2005-03-03 23:16:20 +0000
commit3de2c8bf7f2f74b714d27bbcd2f1f1853ac2b0b0 (patch)
tree390442e067811069cf6c1644fba63fdf7700519c /xmlhelp
parentb73dca3f9220d9e9235940260df53b83eaa67310 (diff)
INTEGRATION: CWS fwkpostbeta03 (1.34.18); FILE MERGED
2005/02/04 11:05:17 abi 1.34.18.1: #i41795# needing additional parameter in the url for that case
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 9264773b6c7c..33f6e0d99b17 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: urlparameter.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: rt $ $Date: 2004-09-08 16:17:44 $
+ * last change: $Author: kz $ $Date: 2005-03-04 00:16:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -224,6 +224,8 @@ rtl::OString URLParameter::getByName( const char* par )
val = get_program();
else if( strcmp( par,"Database" ) == 0 )
val = get_module();
+ else if( strcmp( par,"DatabasePar" ) == 0 )
+ val = get_dbpar();
else if( strcmp( par,"Id" ) == 0 )
val = get_id();
else if( strcmp( par,"Path" ) == 0 )
@@ -721,6 +723,8 @@ bool URLParameter::query()
m_aEid = value;
else if( parameter.compareToAscii( "UseDB" ) == 0 )
m_bUseDB = ! ( value.compareToAscii("no") == 0 );
+ else if( parameter.compareToAscii( "DbPAR" ) == 0 )
+ m_aDbPar = value;
else if( parameter.compareToAscii( "Query" ) == 0 )
{
if( ! m_aQuery.getLength() )
@@ -846,7 +850,7 @@ InputStreamTransformer::InputStreamTransformer( URLParameter* urlParam,
parString[last++] = "Program";
parString[last++] = urlParam->getByName( "Program" );
parString[last++] = "Database";
- parString[last++] = urlParam->getByName( "Database" );
+ parString[last++] = urlParam->getByName( "DatabasePar" );
parString[last++] = "Id";
parString[last++] = urlParam->getByName( "Id" );
parString[last++] = "Path";