diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-11-25 14:27:05 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-11-25 14:27:05 +0100 |
commit | 5396b8edee405c928640872cf5d0707f1bd61b2e (patch) | |
tree | 2569af8ec7094573aece782339e018c1862610db /sal | |
parent | 2a462c138b52e0c211e8e344e461a2721a09b7cf (diff) | |
parent | a0d9897dffe1344a7fe4d9c3fd27169836422662 (diff) |
Merge remote branch 'origin/libreoffice-3-3'
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/file_dirvol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx index 09253ef932b2..3b0529f1e713 100644 --- a/sal/osl/w32/file_dirvol.cxx +++ b/sal/osl/w32/file_dirvol.cxx @@ -691,7 +691,7 @@ static int path_make_parent(sal_Unicode* path) If there are no more parents 0 will be returned, e.g. 'c:\' or '\\Share' have no more parents */ - OSL_PRECOND(rtl_ustr_indexOfChar(path, SLASH) != -1, "Path must not contain slashes"); + OSL_PRECOND(rtl_ustr_indexOfChar(path, SLASH) == -1, "Path must not contain slashes"); OSL_PRECOND(has_path_parent(path), "Path must have a parent"); sal_Unicode* pos_last_backslash = path + rtl_ustr_lastIndexOfChar(path, BACKSLASH); |