[Libreoffice-commits] core.git: sd/CppunitTest_sd_uimpress.mk vcl/CppunitTest_vcl_filters_test.mk
Michael Stahl
mstahl at redhat.com
Thu Oct 9 15:57:31 PDT 2014
sd/CppunitTest_sd_uimpress.mk | 1 +
vcl/CppunitTest_vcl_filters_test.mk | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 7f900e2e2f5faa0a568209791c57cb024f14fe33
Author: Michael Stahl <mstahl at redhat.com>
Date: Fri Oct 10 00:48:58 2014 +0200
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
diff --git a/sd/CppunitTest_sd_uimpress.mk b/sd/CppunitTest_sd_uimpress.mk
index b4fe76a..bb8e977 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 53122b1..1f498eb 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))
More information about the Libreoffice-commits
mailing list