summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2010-10-21 09:38:52 +0200
committerKai Sommerfeld <kso@openoffice.org>2010-10-21 09:38:52 +0200
commit35e1d466e889fe83744276dfda27a69fcd8acf23 (patch)
tree727c74bd98e26c12141d464b10f0199bf920e94a /framework/source
parente06b0f34ec36ddf5470d3a40d0d41c47e3814670 (diff)
parent8d22455d3e7c7e8e25bcb8724754fc764f0e713c (diff)
rebased to m90.
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/services/pathsettings.cxx7
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());
}