summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-10 00:48:58 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-10 00:52:42 +0200
commit7f900e2e2f5faa0a568209791c57cb024f14fe33 (patch)
tree5895c3362bed57bad734c463fdd38fa7cd19325a /sd
parente776418ce41191a8b10e7ff62cd676a19e3e06ba (diff)
vcl, sd: fix some TempFile leaks from vcl Graphic in cppunit tests
The problem is that utl::TempFile::GetURL() will return an empty string if the file UCP is not available. There will be an entry in the log file: warn:legacy.osl:25344:1:ucb/source/core/provprox.cxx:366: UcbContentProviderProxy::getContentProvider - No provider for 'com.sun.star.ucb.FileContentProvider. Change-Id: I2741a04cf4b8b420294ae521199706921b37e5c6
Diffstat (limited to 'sd')
-rw-r--r--sd/CppunitTest_sd_uimpress.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/CppunitTest_sd_uimpress.mk b/sd/CppunitTest_sd_uimpress.mk
index b4fe76aa5f06..bb8e977f0676 100644
--- a/sd/CppunitTest_sd_uimpress.mk
+++ b/sd/CppunitTest_sd_uimpress.mk
@@ -93,6 +93,7 @@ $(eval $(call gb_CppunitTest_use_components,sd_uimpress,\
i18npool/util/i18npool \
linguistic/source/lng \
ucb/source/core/ucb1 \
+ ucb/source/ucp/file/ucpfile1 \
unoxml/source/service/unoxml \
))