diff options
author | Daniel Rentz <dr@openoffice.org> | 2010-04-14 17:31:33 +0200 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2010-04-14 17:31:33 +0200 |
commit | b798812d02e55e78ca20f6c55fefdd062f5cd164 (patch) | |
tree | d97b6033f5685cc10b5a5abde0c4e710477f1157 /sot/source/unoolestorage | |
parent | 79377e8f79be024551886b748b6eadcd7c164aa2 (diff) |
npower13_objectmodules: make vba import available in oox filters
Diffstat (limited to 'sot/source/unoolestorage')
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index 68686ff8c8f5..1780e45c5ed6 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -199,9 +199,9 @@ void OLESimpleStorage::InsertNameAccessToStorage_Impl( BaseStorage* pStorage, :: uno::Reference< container::XNameAccess > xSubNameAccess; uno::Any aAny = xNameAccess->getByName( aElements[nInd] ); if ( aAny >>= xInputStream ) - InsertInputStreamToStorage_Impl( pNewStorage, aName, xInputStream ); + InsertInputStreamToStorage_Impl( pNewStorage, aElements[nInd], xInputStream ); else if ( aAny >>= xSubNameAccess ) - InsertNameAccessToStorage_Impl( pNewStorage, aName, xSubNameAccess ); + InsertNameAccessToStorage_Impl( pNewStorage, aElements[nInd], xSubNameAccess ); } } catch( uno::Exception& ) |