https://bugs.freedesktop.org/show_bug.cgi?id=42073
Michael Stahl <mst...@redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mst...@redhat.com --- Comment #3 from Michael Stahl <mst...@redhat.com> 2012-01-18 11:07:11 PST --- cannot reproduce a regression here, what am i missing? the following runs successfully against LO 3.3.4, LO 3.4.3, LO master, OOo 3.3, OOo 3.2.1, OOo 3.0.1: @Test public void test_fdo42073() throws Exception { XMultiServiceFactory xDocFactory = (XMultiServiceFactory) UnoRuntime.queryInterface(XMultiServiceFactory.class, m_xDoc); Object xField = xDocFactory.createInstance("com.sun.star.text.TextField.Input"); XText xBodyText = m_xDoc.getText(); XTextCursor xCursor = xBodyText.createTextCursor(); XTextContent xContent = (XTextContent) UnoRuntime.queryInterface(XTextContent.class, xField); xBodyText.insertTextContent(xCursor, xContent, true); XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xField); String content = "this is not surprising"; xPropSet.setPropertyValue("Content", content); Object readContent = xPropSet.getPropertyValue("Content"); assertEquals(content, readContent); } -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs