diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-10 00:48:58 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-10 00:52:42 +0200 |
commit | 7f900e2e2f5faa0a568209791c57cb024f14fe33 (patch) | |
tree | 5895c3362bed57bad734c463fdd38fa7cd19325a | |
parent | e776418ce41191a8b10e7ff62cd676a19e3e06ba (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
-rw-r--r-- | sd/CppunitTest_sd_uimpress.mk | 1 | ||||
-rw-r--r-- | vcl/CppunitTest_vcl_filters_test.mk | 1 |
2 files changed, 2 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 \ )) diff --git a/vcl/CppunitTest_vcl_filters_test.mk b/vcl/CppunitTest_vcl_filters_test.mk index 53122b1a73da..1f498ebe13b5 100644 --- a/vcl/CppunitTest_vcl_filters_test.mk +++ b/vcl/CppunitTest_vcl_filters_test.mk @@ -46,6 +46,7 @@ $(eval $(call gb_CppunitTest_use_components,vcl_filters_test,\ configmgr/source/configmgr \ i18npool/util/i18npool \ ucb/source/core/ucb1 \ + ucb/source/ucp/file/ucpfile1 \ )) $(eval $(call gb_CppunitTest_use_configuration,vcl_filters_test)) |