sw/source/core/unocore/unotbl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4aabef0212d3651cfba81c6e66e957c2edcd3da9 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jun 28 11:45:01 2017 +0200 -Werror=catch-value= (GCC 8) Change-Id: I63c264a39bcec5ebd80c73acb55c72713fd706e2 diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 64ceec74719d..63be420dd9e6 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -1024,7 +1024,7 @@ void SwXCell::setPropertyValue(const OUString& rPropertyName, const uno::Any& aV { const std::array<SvxFrameDirection, 3> vDirs = { SvxFrameDirection::Horizontal_LR_TB, SvxFrameDirection::Horizontal_RL_TB, SvxFrameDirection::Vertical_RL_TB }; eDir = vDirs.at(aValue.get<sal_Int32>()); - } catch(std::out_of_range) { + } catch(std::out_of_range &) { SAL_WARN("sw.uno", "unknown direction code, maybe it's a bitfield"); } SvxFrameDirectionItem aItem(eDir, RES_FRAMEDIR); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits