Home
last modified time | relevance | path

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

/aoo42x/main/unotools/source/config/
H A Dconfigpathes.cxx199 sal_Int32 lcl_findPrefixEnd(OUString const& _sNestedPath, OUString const& _sPrefixPath) in lcl_findPrefixEnd() argument
208 if (_sNestedPath.getLength() > nPrefixLength) in lcl_findPrefixEnd()
210 bIsPrefix = _sNestedPath[nPrefixLength] == '/' && in lcl_findPrefixEnd()
211 _sNestedPath.compareTo(_sPrefixPath,nPrefixLength) == 0; in lcl_findPrefixEnd()
214 else if (_sNestedPath.getLength() == nPrefixLength) in lcl_findPrefixEnd()
216 bIsPrefix = _sNestedPath.equals(_sPrefixPath); in lcl_findPrefixEnd()
227 sal_Bool isPrefixOfConfigurationPath(OUString const& _sNestedPath, in isPrefixOfConfigurationPath() argument
234 OUString dropPrefixFromConfigurationPath(OUString const& _sNestedPath, in dropPrefixFromConfigurationPath() argument
237 if ( sal_Int32 nPrefixEnd = lcl_findPrefixEnd(_sNestedPath,_sPrefixPath) ) in dropPrefixFromConfigurationPath()
239 return _sNestedPath.copy(nPrefixEnd); in dropPrefixFromConfigurationPath()
[all …]
/aoo42x/main/unotools/inc/unotools/
H A Dconfigpathes.hxx109 sal_Bool isPrefixOfConfigurationPath(::rtl::OUString const& _sNestedPath,
134 …OLS_DLLPUBLIC ::rtl::OUString dropPrefixFromConfigurationPath(::rtl::OUString const& _sNestedPath,

Completed in 14 milliseconds