summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-12-07 17:54:30 +0100
committerMathias Bauer <mba@openoffice.org>2009-12-07 17:54:30 +0100
commit6782124be599bc826f6ee0662b92052a9462a65b (patch)
tree0da959d7e93cb7859e266ea1c93ea337c17e999e
parentcee9bce554887502b98ae64fc38592069d651b8e (diff)
parentf8ada8f2a93659e27928f3b5244c813de2c3847b (diff)
next merge
-rw-r--r--transex3/source/treeconfig.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/transex3/source/treeconfig.cxx b/transex3/source/treeconfig.cxx
index d9e3b829982b..137492c39a50 100644
--- a/transex3/source/treeconfig.cxx
+++ b/transex3/source/treeconfig.cxx
@@ -54,10 +54,10 @@ bool Treeconfig::getActiveRepositories( vector<string>& active_repos ){
string partial;
// if we are inside of a repository root then active it otherwise let the app handle the return!
- unsigned int pos = pwd.find_first_of( source_root );
+ string::size_type pos = pwd.find_first_of( source_root );
if( pos != string::npos && ( pos + source_root.length() +1 ) < pwd.length()){ // I am within SOURCE_ROOT_DIR
partial = pwd.substr( pos + source_root.length() +1 , pwd.length());
- unsigned int nextPart = partial.find_first_of( "/" );
+ string::size_type nextPart = partial.find_first_of( "/" );
if( nextPart != string::npos )
hasPath = true;
else