Kaydet (Commit) 080fa092 authored tarafından Noel Grandin's avatar Noel Grandin

improve some logging

if we're going to write "unhandled" messages, at least what is being
unhandled

Change-Id: I570183c92876d553f4344b979def653cbd5bb55d
Reviewed-on: https://gerrit.libreoffice.org/54793Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 726d7e7b
......@@ -1239,7 +1239,7 @@ void ChartExport::exportManualLayout(const css::chart2::RelativePosition& rPos,
x -= w;
break;
default:
SAL_WARN("oox", "unhandled alignment case for manual layout export");
SAL_WARN("oox", "unhandled alignment case for manual layout export " << static_cast<sal_uInt16>(rPos.Anchor));
}
pFS->singleElement(FSNS(XML_c, XML_x),
......
......@@ -891,7 +891,7 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic , bool bRelPathToMedia )
}
else
{
SAL_WARN("oox.shape", "unhandled graphic type" );
SAL_WARN("oox.shape", "unhandled graphic type " << static_cast<int>(aType) );
/*Earlier, even in case of unhandled graphic types we were
proceeding to write the image, which would eventually
write an empty image with a zero size, and return a valid
......
......@@ -287,7 +287,7 @@ void LotusToSc::LotusRelToScRel( sal_uInt16 nCol, sal_uInt16 nRow, ScSingleRefDa
nRow &= 0x1FFF;
break;
default:
SAL_WARN( "sc.filter", "*LotusToSc::LotusRelToScRel(): unhandled case?" );
SAL_WARN( "sc.filter", "*LotusToSc::LotusRelToScRel(): unhandled case? " << m_rContext.eTyp );
}
}
else
......@@ -307,7 +307,7 @@ void LotusToSc::LotusRelToScRel( sal_uInt16 nCol, sal_uInt16 nRow, ScSingleRefDa
nRow &= 0x3FFF;
break;
default:
SAL_WARN( "sc.filter", "*LotusToSc::LotusRelToScRel(): unhandled case?" );
SAL_WARN( "sc.filter", "*LotusToSc::LotusRelToScRel(): unhandled case? " << m_rContext.eTyp );
}
}
......
......@@ -66,6 +66,7 @@
#include <editeng/editdata.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <tools/diagnose_ex.h>
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
......@@ -1285,7 +1286,7 @@ namespace accessibility
}
catch( const uno::Exception& )
{
SAL_WARN("svx", "Unhandled exception.");
DBG_UNHANDLED_EXCEPTION("svx");
}
}
}
......@@ -1399,7 +1400,7 @@ namespace accessibility
}
catch( const uno::Exception& )
{
SAL_WARN("svx", "Unhandled exception.");
DBG_UNHANDLED_EXCEPTION("svx");
mbInNotify = false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment