summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-28 11:45:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-28 11:45:01 +0200
commit4aabef0212d3651cfba81c6e66e957c2edcd3da9 (patch)
treeae3a7f52c102a2478d69ccc8d28bc79ee2bc2a99
parentcb96678b3f875595e203f263e397afc33b433bb0 (diff)
-Werror=catch-value= (GCC 8)
Change-Id: I63c264a39bcec5ebd80c73acb55c72713fd706e2
-rw-r--r--sw/source/core/unocore/unotbl.cxx2
1 files changed, 1 insertions, 1 deletions
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);