From 823d3cc493c8654a294ff45329c0514d2cc953d3 Mon Sep 17 00:00:00 2001 From: Mikhail Voytenko Date: Tue, 10 Aug 2010 11:05:20 +0200 Subject: mav56: #163253# tread invalid path segments correctly --- comphelper/inc/comphelper/storagehelper.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'comphelper/inc/comphelper/storagehelper.hxx') 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 ); }; } -- cgit v1.2.3