summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-07-13 11:11:15 +0000
committerOliver Bolte <obo@openoffice.org>2006-07-13 11:11:15 +0000
commitd30fdf9aa3c6cc45309d8a6b323a779b4d23a9a3 (patch)
tree8eb4da0b4518f7525e816ff5ac978db03ad9d2ba /unotools
parent96b6327c2fac75a3d5845ba93b350a0db582f57d (diff)
INTEGRATION: CWS pathoptions01 (1.7.48); FILE MERGED
2006/06/30 14:20:07 mav 1.7.48.2: RESYNC: (1.7-1.8); FILE MERGED 2006/06/23 11:48:22 mav 1.7.48.1: #i66157# helper to detect subfolders
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/ucbhelper.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/unotools/inc/unotools/ucbhelper.hxx b/unotools/inc/unotools/ucbhelper.hxx
index 24abd741baf6..2874339647d0 100644
--- a/unotools/inc/unotools/ucbhelper.hxx
+++ b/unotools/inc/unotools/ucbhelper.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ucbhelper.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 14:03:07 $
+ * last change: $Author: obo $ $Date: 2006-07-13 12:11:15 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -44,9 +44,15 @@
#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
#include <com/sun/star/uno/Sequence.hxx>
#endif
+#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
+#include <com/sun/star/uno/Reference.hxx>
+#endif
#ifndef _COM_SUN_STAR_UCB_NAMECLASH_HPP_
#include <com/sun/star/ucb/NameClash.hpp>
#endif
+#ifndef _COM_SUN_STAR_UCB_XCONTENTPROVIDER_HPP_
+#include <com/sun/star/ucb/XContentProvider.hpp>
+#endif
#include <tools/string.hxx>
@@ -92,6 +98,7 @@ namespace utl
static sal_Bool Exists( const String& rContent );
static sal_Bool FindInPath( const String& rPath, const String& rName, String& rFile, char cDelim = ';', BOOL bAllowWildCards = TRUE );
static sal_Bool Find( const String& rFolder, const String& rName, String& rFile, BOOL bAllowWildCards = FALSE );
+ static sal_Bool IsSubPath( const ::rtl::OUString& rPath, const ::rtl::OUString& rChildCandidate, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentProvider >& xContentProvider = ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentProvider >() );
};
}