summaryrefslogtreecommitdiff
path: root/svx/source/form/dataaccessdescriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/dataaccessdescriptor.cxx')
-rw-r--r--svx/source/form/dataaccessdescriptor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/dataaccessdescriptor.cxx b/svx/source/form/dataaccessdescriptor.cxx
index 1f1d93312ea3..4cb371d81b86 100644
--- a/svx/source/form/dataaccessdescriptor.cxx
+++ b/svx/source/form/dataaccessdescriptor.cxx
@@ -392,7 +392,7 @@ namespace svx
if ( !_sDataSourceNameOrLocation.isEmpty() )
{
INetURLObject aURL(_sDataSourceNameOrLocation);
- (*this)[ (( aURL.GetProtocol() == INetProtocol::FILE ) ? daDatabaseLocation : daDataSource)] <<= _sDataSourceNameOrLocation;
+ (*this)[ (( aURL.GetProtocol() == INetProtocol::File ) ? daDatabaseLocation : daDataSource)] <<= _sDataSourceNameOrLocation;
}
else
(*this)[ daDataSource ] <<= OUString();