diff options
author | Thomas Benisch <tbe@openoffice.org> | 2010-11-11 15:59:51 +0100 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2010-11-11 15:59:51 +0100 |
commit | 5552b67b05ba0b25d83af32aa4a4c5bd91813121 (patch) | |
tree | 119c7aabb9b4c8aff1b51950706aa83a480e4b9f /framework/source/services/pathsettings.cxx | |
parent | 1f991552dd9c60d4d4008d652af4d97f232cb0f3 (diff) | |
parent | da8aa1f2aa04522f098474fa93898ab8716841d0 (diff) |
chartextensibility: merge with DEV300_m92
Diffstat (limited to 'framework/source/services/pathsettings.cxx')
-rw-r--r-- | framework/source/services/pathsettings.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 5227cb9f302c..fe8af40f0850 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -973,6 +973,13 @@ sal_Bool PathSettings::impl_isValidPath(const OUStringList& lPath) const //----------------------------------------------------------------------------- sal_Bool PathSettings::impl_isValidPath(const ::rtl::OUString& sPath) const { + // allow empty path to reset a path. +// idea by LLA to support empty pathes +// if (sPath.getLength() == 0) +// { +// return sal_True; +// } + return (! INetURLObject(sPath).HasError()); } |