antony Newbie

Joined: 18 Aug 2008 Posts: 2
|
Posted: Wed Nov 12, 2008 6:12 am Post subject: NoSuchElementException when using OO3.0 |
|
|
Hi,
I have used OO2.2 using the following code to get the basic libraries.
| Code: | Any any = (Any)propertySet.getPropertyValue("BasicLibraries");
XLibraryContainer libraryContainer = (XLibraryContainer)UnoRuntime.queryInterface(XLibraryContainer.class, any);
XNameAccess nameAccess = (XNameAccess)UnoRuntime.queryInterface(XNameAccess.class, libraryContainer);
obj = nameAccess.getByName("Standard"); |
Now i have upgraded to OO3.0, it throws com.sun.star.container.NoSuchElementException while getting the "Standard" library. I have tried to get all the names by getElementNames, it also return empty String array.
Is there any change i need to do for OO3.0? |
|