summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-15 17:37:08 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-16 20:37:39 +0100
commit291f55edf3d5c1d443cbd9a06bc6f7fd773884e5 (patch)
treec7caddd7dba7afa7d0eae1d137535a8363ff6317 /sw/source
parent032e34d0014d2154feaf97105d2dbe69b290b8c5 (diff)
assert that no ODF import happens without a BaseURL
Change-Id: I4520a9d0350349cb083ed627a19264a3a97e090f
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/xml/swxml.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 63be8a31c178..cae28ea0f8fd 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -492,6 +492,8 @@ static void lcl_ConvertSdrOle2ObjsToSdrGrafObjs(SwDoc& _rDoc)
sal_uLong XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, const OUString & rName )
{
+ // TODO: sadly SwXMLTextBlocks doesn't set this? assert(!rBaseURL.isEmpty()); // needed for relative URLs
+
// Get service factory
uno::Reference< uno::XComponentContext > xContext =
comphelper::getProcessComponentContext();