Tag: cws_src680_oj14
User: fs      
Date: 2007-06-20 19:11:48+0000
Modified:
   dba/reportdesign/java/com/sun/star/report/SOImageService.java

Log:
 #i78373# queryGraphicDescriptor is insufficient to get a mime type, need a 
queryGraphic

File Changes:

Directory: /dba/reportdesign/java/com/sun/star/report/
======================================================

File [changed]: SOImageService.java
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/java/com/sun/star/report/SOImageService.java?r1=1.1.2.4&r2=1.1.2.5
Delta lines:  +4 -3
-------------------
--- SOImageService.java 2007-06-19 11:55:07+0000        1.1.2.4
+++ SOImageService.java 2007-06-20 19:11:46+0000        1.1.2.5
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: SOImageService.java,v $
  *
- *  $Revision: 1.1.2.4 $
+ *  $Revision: 1.1.2.5 $
  *
- *  last change: $Author: fs $ $Date: 2007/06/19 11:55:07 $
+ *  last change: $Author: fs $ $Date: 2007/06/20 19:11:46 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -157,7 +157,8 @@
       value[0].Name = "InputStream";
       value[0].Value = image;
 
-      final XPropertySet xImage = 
m_xGraphicProvider.queryGraphicDescriptor(value);
+      final XPropertySet xImage = 
(XPropertySet)UnoRuntime.queryInterface(XPropertySet.class,
+          m_xGraphicProvider.queryGraphic(value));
 
       if (xImage != null)
       {




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to