diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/UCB/ResourceCreator.java')
-rw-r--r-- | odk/examples/DevelopersGuide/UCB/ResourceCreator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/UCB/ResourceCreator.java b/odk/examples/DevelopersGuide/UCB/ResourceCreator.java index 4dc1946c752e..c78710881698 100644 --- a/odk/examples/DevelopersGuide/UCB/ResourceCreator.java +++ b/odk/examples/DevelopersGuide/UCB/ResourceCreator.java @@ -154,7 +154,7 @@ public class ResourceCreator { info.Attributes = 0; // Create new, empty content (execute command "createNewContent"). - XContent newContent = ( XContent )UnoRuntime.queryInterface( + XContent newContent = UnoRuntime.queryInterface( XContent.class, m_helper.executeCommand( m_content, "createNewContent", info ) ); |