[Libreoffice-commits] core.git: cppcanvas/source

Bartosz Kosiorek gang65 at poczta.onet.pl
Tue May 9 01:32:16 UTC 2017


 cppcanvas/source/mtfrenderer/emfplus.cxx |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

New commits:
commit ac528503b4c172dd322841681b7aa9180a95721d
Author: Bartosz Kosiorek <gang65 at poczta.onet.pl>
Date:   Tue May 9 00:14:00 2017 +0200

    EMF+ We already implemented most used EMF+ records.
    
    Now it's time to enable warnings, to track not implemented cases,
    to have clear notification what is wrong with imported image.
    
    Change-Id: Ic880a5b7df03e4a98d4700bebb3d0f6d77980505
    Reviewed-on: https://gerrit.libreoffice.org/37407
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Bartosz Kosiorek <gang65 at poczta.onet.pl>

diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 9db632d19413..6b4cf6eb4240 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1257,10 +1257,10 @@ namespace cppcanvas
                                         SAL_INFO("cppcanvas.emf", "EMF+ warning: empty bitmap");
                                     }
                                 } else {
-                                    SAL_INFO("cppcanvas.emf", "EMF+ DrawImage(Points) TODO (fixme)");
+                                    SAL_WARN("cppcanvas.emf", "EMF+ DrawImage(Points) TODO (fixme)");
                                 }
                             } else {
-                                SAL_INFO("cppcanvas.emf", "EMF+ DrawImage(Points) TODO (fixme) - possibly unsupported source units for crop rectangle");
+                                SAL_WARN("cppcanvas.emf", "EMF+ DrawImage(Points) TODO (fixme) - possibly unsupported source units for crop rectangle");
                             }
                             break;
                         }
@@ -1329,7 +1329,7 @@ namespace cppcanvas
                                     rFactoryParms.mrCurrActionIndex += pTextAction->getActionCount()-1;
                                 }
                             } else {
-                                SAL_INFO("cppcanvas.emf", "EMF+ DrawString TODO - drawing with brush not yet supported");
+                                SAL_WARN("cppcanvas.emf", "EMF+ DrawString TODO - drawing with brush not yet supported");
                             }
                         }
                         break;
@@ -1645,14 +1645,13 @@ namespace cppcanvas
                                 rFactoryParms.mrCurrActionIndex += pTextAction->getActionCount()-1;
                             }
                         } else {
-                            SAL_INFO("cppcanvas.emf", "EMF+\tTODO: fonts (non-unicode glyphs chars)");
+                            SAL_WARN("cppcanvas.emf", "EMF+\tTODO: fonts (non-unicode glyphs chars)");
                         }
 
                         break;
                     }
                     default:
-                        SAL_INFO("cppcanvas.emf", "EMF+ unhandled record type: 0x" << std::hex << type << std::dec);
-                        SAL_INFO("cppcanvas.emf", "EMF+\tTODO");
+                        SAL_WARN("cppcanvas.emf", "EMF+ TODO unhandled record type: 0x" << std::hex << type << std::dec);
                     }
                 }
 


More information about the Libreoffice-commits mailing list