diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2010-08-10 11:05:20 +0200 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2010-08-10 11:05:20 +0200 |
commit | 823d3cc493c8654a294ff45329c0514d2cc953d3 (patch) | |
tree | 90c3010937e7f2c0a7a3ab0e97d30513f96a055c /comphelper/inc/comphelper/storagehelper.hxx | |
parent | 06d8dc602fb3fa13f768044dc0b8058eb7b393c2 (diff) |
mav56: #163253# tread invalid path segments correctly
Diffstat (limited to 'comphelper/inc/comphelper/storagehelper.hxx')
-rw-r--r-- | comphelper/inc/comphelper/storagehelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/storagehelper.hxx b/comphelper/inc/comphelper/storagehelper.hxx index b613ddd2c5f1..b7e5704c4d68 100644 --- a/comphelper/inc/comphelper/storagehelper.hxx +++ b/comphelper/inc/comphelper/storagehelper.hxx @@ -161,6 +161,8 @@ public: static sal_Bool IsValidZipEntryFileName( const ::rtl::OUString& aName, sal_Bool bSlashAllowed ); static sal_Bool IsValidZipEntryFileName( const sal_Unicode *pChar, sal_Int32 nLength, sal_Bool bSlashAllowed ); + + static sal_Bool PathHasSegment( const ::rtl::OUString& aPath, const ::rtl::OUString& aSegment ); }; } |