https://bugs.freedesktop.org/show_bug.cgi?id=80555

Jacobo Aragunde Pérez <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #3 from Jacobo Aragunde Pérez <[email protected]> ---
(In reply to comment #2)
> Confirm wrong position of pictures with  4.3.0.1 and 4.4.0.0 alpha 0
> 
> in 4.2, graphics are rendered as pictures,
> in 4.3 / 4.4 they are no more simple pictures, when image artistic effects
> applied
> 

You are right, this is the cause of the bug. This simple change works it
around, although it breaks the preservation of artistic filters:

diff --git a/writerfilter/source/dmapper/GraphicImport.cxx
b/writerfilter/source/dmapper/GraphicImport.cxx
index cf3da2a..933ae3f 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -655,8 +655,7 @@ void GraphicImport::lcl_attribute(Id nName, Value& rValue)
 {
     // if the shape contains effects in the grab bag, we should not transform
it
     // in a XTextContent so those effects can be preserved
-    if( aGrabBag[i].Name == "EffectProperties" || aGrabBag[i].Name ==
"3DEffectProperties" ||
-            aGrabBag[i].Name == "ArtisticEffectProperties" )
+    if( aGrabBag[i].Name == "EffectProperties" || aGrabBag[i].Name ==
"3DEffectProperties" )
         bContainsEffects = true;
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to