summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/inc/util
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-01-29 10:02:54 +0000
committerKurt Zenker <kz@openoffice.org>2009-01-29 10:02:54 +0000
commit25dad84813feb405e709c31b180361dc1b7cfaaa (patch)
tree764c39b2ec2f74b33e8f50129525f5c24b9f67c0 /xmlhelp/source/cxxhelp/inc/util
parent7deeb2a401b108ac176c4670b6674bfabfcef63c (diff)
CWS-TOOLING: integrate CWS cmcfixes52
2009-01-05 10:49:04 +0100 cmc r265860 : #i97763# remove low-hanging warnings
Diffstat (limited to 'xmlhelp/source/cxxhelp/inc/util')
-rw-r--r--xmlhelp/source/cxxhelp/inc/util/IndexAccessor.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/util/IndexAccessor.hxx b/xmlhelp/source/cxxhelp/inc/util/IndexAccessor.hxx
index 0ebb01e16f8f..edae2cb85724 100644
--- a/xmlhelp/source/cxxhelp/inc/util/IndexAccessor.hxx
+++ b/xmlhelp/source/cxxhelp/inc/util/IndexAccessor.hxx
@@ -52,10 +52,12 @@ namespace xmlsearch {
IndexAccessor( const rtl::OUString& dirName )
{
if( dirName.getLength() )
+ {
if( dirName.getStr()[dirName.getLength()-1] != sal_Unicode( '/' ) )
dirName_ = ( dirName + rtl::OUString::createFromAscii( "/" ) ) ;
else
dirName_ = dirName;
+ }
}