Home
last modified time | relevance | path

Searched refs:_sPrefixPath (Results 1 – 2 of 2) sorted by relevance

/aoo4110/main/unotools/source/config/
H A Dconfigpathes.cxx199 sal_Int32 lcl_findPrefixEnd(OUString const& _sNestedPath, OUString const& _sPrefixPath) in lcl_findPrefixEnd() argument
202 sal_Int32 nPrefixLength = _sPrefixPath.getLength(); in lcl_findPrefixEnd()
204 OSL_ENSURE(nPrefixLength == 0 || _sPrefixPath[nPrefixLength-1] != '/', in lcl_findPrefixEnd()
211 _sNestedPath.compareTo(_sPrefixPath,nPrefixLength) == 0; in lcl_findPrefixEnd()
216 bIsPrefix = _sNestedPath.equals(_sPrefixPath); in lcl_findPrefixEnd()
228 OUString const& _sPrefixPath) in isPrefixOfConfigurationPath() argument
230 return _sPrefixPath.getLength() == 0 || lcl_findPrefixEnd(_sNestedPath,_sPrefixPath) != 0; in isPrefixOfConfigurationPath()
235 OUString const& _sPrefixPath) in dropPrefixFromConfigurationPath() argument
237 if ( sal_Int32 nPrefixEnd = lcl_findPrefixEnd(_sNestedPath,_sPrefixPath) ) in dropPrefixFromConfigurationPath()
243 OSL_ENSURE(_sPrefixPath.getLength() == 0, "Path does not start with expected prefix"); in dropPrefixFromConfigurationPath()
/aoo4110/main/unotools/inc/unotools/
H A Dconfigpathes.hxx110 ::rtl::OUString const& _sPrefixPath);
135 ::rtl::OUString const& _sPrefixPath);

Completed in 20 milliseconds