diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java index c7922f7f342f..be1f603ad3fb 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java @@ -130,7 +130,7 @@ public class XMLContentExporter extends TestCase { xEx.setSourceDocument(xChartDoc); Object oTitle = xChartDoc.getTitle() ; - XPropertySet xTitleProp = (XPropertySet) UnoRuntime.queryInterface + XPropertySet xTitleProp = UnoRuntime.queryInterface (XPropertySet.class, oTitle) ; xTitleProp.setPropertyValue("String", exportStr) ; } catch (com.sun.star.uno.Exception e) { |