Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void ScExternalDataProvidersObj::insertByIndex(sal_Int32 nIndex, const css::uno::Any& rAny)
- {
- // need a way to map to internal object here
- // Create a new Data Source :- To do so we need rUrl, rProvider, mpDoc.
- // However we are taking nIndex and rAny as arguments. Why is it so?
- const sc::ExternalDataSource *externalDataSource = new sc::ExternalDataSource(OUString("rUrl"), OUString("rProvider"), mpDoc);
- // Call insertDataSource :- Is this correct?
- mpDoc->GetExternalDataMapper().insertDataSource(*externalDataSource);
- }
Add Comment
Please, Sign In to add comment