From c3db5332558d35adc8374836fd17025220e73180 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 6 Sep 2011 17:32:53 +0100 Subject: make sure we can detect if vba code was imported --- sw/source/filter/ww8/ww8par.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index c708a2ce50ae..7ebd722cead1 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -208,7 +208,7 @@ bool BasicProjImportHelper::import( const uno::Reference< io::XInputStream >& rx if ( vbaStg.get() ) { oox::ole::VbaProject aVbaPrj( mxCtx, mrDocShell.GetModel(), CREATE_CONST_ASC( "Writer") ); - aVbaPrj.importVbaProject( *vbaStg ); + bRet = aVbaPrj.importVbaProject( *vbaStg ); } } catch( const uno::Exception& ) -- cgit