diff options
Diffstat (limited to 'unotools/source/config/configpaths.cxx')
-rw-r--r-- | unotools/source/config/configpaths.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/unotools/source/config/configpaths.cxx b/unotools/source/config/configpaths.cxx index ebff6c425ce6..fbf7f1567ab6 100644 --- a/unotools/source/config/configpaths.cxx +++ b/unotools/source/config/configpaths.cxx @@ -17,20 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "unotools/configpaths.hxx" #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> - namespace utl { - - - - static void lcl_resolveCharEntities(OUString & aLocalString) { @@ -73,7 +67,6 @@ void lcl_resolveCharEntities(OUString & aLocalString) aLocalString = aResult.makeStringAndClear(); } - bool splitLastFromConfigurationPath(OUString const& _sInPath, OUString& _rsOutPath, OUString& _rsLocalName) @@ -141,7 +134,6 @@ bool splitLastFromConfigurationPath(OUString const& _sInPath, return nPos >= 0; } - OUString extractFirstFromConfigurationPath(OUString const& _sInPath, OUString* _sOutPath) { sal_Int32 nSep = _sInPath.indexOf('/'); @@ -184,8 +176,6 @@ OUString extractFirstFromConfigurationPath(OUString const& _sInPath, OUString* _ return sResult; } - - // find the position after the prefix in the nested path static inline sal_Int32 lcl_findPrefixEnd(OUString const& _sNestedPath, OUString const& _sPrefixPath) @@ -215,14 +205,12 @@ sal_Int32 lcl_findPrefixEnd(OUString const& _sNestedPath, OUString const& _sPref return bIsPrefix ? nPrefixLength : 0; } - bool isPrefixOfConfigurationPath(OUString const& _sNestedPath, OUString const& _sPrefixPath) { return _sPrefixPath.isEmpty() || lcl_findPrefixEnd(_sNestedPath,_sPrefixPath) != 0; } - OUString dropPrefixFromConfigurationPath(OUString const& _sNestedPath, OUString const& _sPrefixPath) { @@ -238,7 +226,6 @@ OUString dropPrefixFromConfigurationPath(OUString const& _sNestedPath, } } - static OUString lcl_wrapName(const OUString& _sContent, const OUString& _sType) { @@ -276,15 +263,11 @@ OUString lcl_wrapName(const OUString& _sContent, const OUString& _sType) return aNormalized.makeStringAndClear(); } - - OUString wrapConfigurationElementName(OUString const& _sElementName) { return lcl_wrapName(_sElementName, "*" ); } - - OUString wrapConfigurationElementName(OUString const& _sElementName, OUString const& _sTypeName) { @@ -292,7 +275,6 @@ OUString wrapConfigurationElementName(OUString const& _sElementName, return lcl_wrapName(_sElementName, _sTypeName); } - } // namespace utl /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |