Kaydet (Commit) 7f900e2e authored tarafından Michael Stahl's avatar Michael Stahl

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
üst e776418c
......@@ -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 \
))
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment