summaryrefslogtreecommitdiff
path: root/avmedia/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2014-04-22 00:58:10 +0200
committerJan Holesovsky <kendy@suse.cz>2014-04-22 01:17:11 +0200
commit870ce1188ef7bfb6e57eed2894a20b2ea30b2225 (patch)
tree1ec7ed5b63161cf3291cbfa7bb6c805bc29143e7 /avmedia/source
parentfe5dbe3847838aae3dff246451969eba4c3decda (diff)
gltf: Trying to re-create the temp path fails on Windows.
Change-Id: I30a5e1f5d09458beeb06479337b83f8479d861b5
Diffstat (limited to 'avmedia/source')
-rw-r--r--avmedia/source/framework/modeltools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/framework/modeltools.cxx b/avmedia/source/framework/modeltools.cxx
index 10da986cd803..506a36c1d443 100644
--- a/avmedia/source/framework/modeltools.cxx
+++ b/avmedia/source/framework/modeltools.cxx
@@ -100,7 +100,7 @@ static void lcl_EmbedExternals(const OUString& rSourceURL, uno::Reference<embed:
}
// Reload json with modified path to external resources
- rContent = ::ucbhelper::Content("file://" + OUString::createFromAscii(sUrl.c_str()),
+ rContent = ::ucbhelper::Content(sTempFileURL,
uno::Reference<ucb::XCommandEnvironment>(),
comphelper::getProcessComponentContext());