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

Patrick Jaap patrick.jaap at tu-dresden.de
Thu Jan 25 08:05:52 UTC 2018


 writerfilter/source/dmapper/GraphicHelpers.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 82dcf015154c3fb00240c5630ae926c74c7f4213
Author: Patrick Jaap <patrick.jaap at tu-dresden.de>
Date:   Wed Jan 24 11:45:57 2018 +0100

    Add SAL_WARN in writerfilter graphic import
    
    Change-Id: Iac6265094572c57f421b0533db2c90a41b2ef427
    Reviewed-on: https://gerrit.libreoffice.org/48492
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/writerfilter/source/dmapper/GraphicHelpers.cxx b/writerfilter/source/dmapper/GraphicHelpers.cxx
index a7ce01868714..ca2892a013af 100644
--- a/writerfilter/source/dmapper/GraphicHelpers.cxx
+++ b/writerfilter/source/dmapper/GraphicHelpers.cxx
@@ -83,6 +83,8 @@ void PositionHandler::lcl_attribute( Id aName, Value& rVal )
                         break;
 
                     // TODO There are some other unhandled values
+                    default:
+                        SAL_WARN("writerfilter", "unhandled case (" << nIntValue << ") in NS_ooxml::LN_CT_PosV_relativeFrom");
                 }
             }
             break;
@@ -116,6 +118,8 @@ void PositionHandler::lcl_attribute( Id aName, Value& rVal )
                         break;
 
                     // TODO There are some other unhandled values
+                    default:
+                        SAL_WARN("writerfilter", "unhandled case (" << nIntValue << ") in NS_ooxml::LN_CT_PosH_relativeFrom");
                 }
             }
             break;


More information about the Libreoffice-commits mailing list