diff options
author | Noel Power <noel.power@novell.com> | 2011-09-06 17:32:53 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-09-06 17:34:30 +0100 |
commit | c3db5332558d35adc8374836fd17025220e73180 (patch) | |
tree | 3e2ee38881a3f9bc820847f14ce4e5e72c39a701 /sw | |
parent | fa9ff01fe4731a5d91da60ec3f5c2cafa7b3f382 (diff) |
make sure we can detect if vba code was imported
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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& ) |