diff options
author | Sven Jacobi <sj@openoffice.org> | 2002-09-04 15:17:54 +0000 |
---|---|---|
committer | Sven Jacobi <sj@openoffice.org> | 2002-09-04 15:17:54 +0000 |
commit | 902e14339cf75a4cabe67872f4524a5ead7cb6d3 (patch) | |
tree | cc8a85ec6e969ba2199903e6006398df95b002ad /svtools/source/filter.vcl/filter/FilterConfigItem.cxx | |
parent | f5ce5448803fcfff8d54da014a57795d38d181cb (diff) |
#101571# now also beeing able to access the configuration if last character of subtree is /
Diffstat (limited to 'svtools/source/filter.vcl/filter/FilterConfigItem.cxx')
-rw-r--r-- | svtools/source/filter.vcl/filter/FilterConfigItem.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/svtools/source/filter.vcl/filter/FilterConfigItem.cxx b/svtools/source/filter.vcl/filter/FilterConfigItem.cxx index 5bd88a84e593..f76816370e1e 100644 --- a/svtools/source/filter.vcl/filter/FilterConfigItem.cxx +++ b/svtools/source/filter.vcl/filter/FilterConfigItem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FilterConfigItem.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: sj $ $Date: 2002-07-16 09:21:05 $ + * last change: $Author: sj $ $Date: 2002-09-04 16:17:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -105,6 +105,8 @@ static sal_Bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv if ( rTree.GetChar( 0 ) == (sal_Unicode)'/' ) i++; + if ( rTree.GetChar( rTree.Len() - 1 ) == (sal_Unicode)'/' ); + nTokenCount--; Any aAny; aAny <<= (OUString)rTree.GetToken( i++, (sal_Unicode)'/' ); |