summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-21 01:47:57 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-10-21 03:08:26 +0200
commit051731bbcaa79b6428c8ebee6c114c9b28220cc8 (patch)
tree9d3b1a4cf3a7360bf5c1e39f0e3acec1679197fd /svtools
parent41d521e965d26822afecb7a3a46cf825c657ec00 (diff)
post String conversion cleanup
Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/inettbc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index ad63c28c0cf5..00dbfbb21d45 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -350,7 +350,7 @@ void SvtMatchContext_Impl::ReadFolder( const OUString& rURL,
aMatchName += "/";
}
- xub_StrLen nMatchLen = aMatchName.getLength();
+ sal_Int32 nMatchLen = aMatchName.getLength();
INetURLObject aFolderObj( rURL );
DBG_ASSERT( aFolderObj.GetProtocol() != INET_PROT_NOT_VALID, "Invalid URL!" );
@@ -1344,7 +1344,7 @@ sal_Bool SvtURLBox_Impl::TildeParsing(
// in case the path is "~username" then there should
// be no trailing slash at the end
- if( nNameEnd == STRING_NOTFOUND )
+ if( nNameEnd == -1 )
bTrailingSlash = sal_False;
}