summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-04-14 17:31:33 +0200
committerDaniel Rentz <dr@openoffice.org>2010-04-14 17:31:33 +0200
commitb798812d02e55e78ca20f6c55fefdd062f5cd164 (patch)
treed97b6033f5685cc10b5a5abde0c4e710477f1157 /sot
parent79377e8f79be024551886b748b6eadcd7c164aa2 (diff)
npower13_objectmodules: make vba import available in oox filters
Diffstat (limited to 'sot')
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx4
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& )