diff options
Diffstat (limited to 'xmloff/source/forms/elementimport.cxx')
-rw-r--r-- | xmloff/source/forms/elementimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 99c0af3700c5..3c03e0bc3ad0 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -2061,7 +2061,7 @@ namespace xmloff OUString sValue = _xAttrList->getValueByIndex( i ); INetURLObject aURL(sValue); - if ( aURL.GetProtocol() == INetProtocol::FILE ) + if ( aURL.GetProtocol() == INetProtocol::File ) _xElement->setPropertyValue(PROPERTY_DATASOURCENAME,makeAny(sValue)); else _xElement->setPropertyValue(PROPERTY_URL,makeAny(sValue)); // the url is the "sdbc:" string |