diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-30 12:30:50 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-30 14:28:31 +0200 |
commit | 105f057f5b994b7d79a55ca719240839c2d45b54 (patch) | |
tree | 8304fe75a532de2e5586300e3174bcedd17c31b8 /sw | |
parent | b391d6e2934fb5f6417a4ac37d510816e0773942 (diff) |
Throw correct exception, and do not warn
Change-Id: Ia4548d377e6f9104b5f2b3a7a6cebe4928f51506
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153801
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unosett.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index 43dd2cbe2ffa..50a53080bb56 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -1878,8 +1878,7 @@ void SwXNumberingRules::SetPropertiesToNumFormat( else { // Invalid property name - SAL_WARN("sw.uno", "Unknown/incorrect property " << rProp.Name << ", failing"); - throw uno::RuntimeException("Unknown/incorrect property " + rProp.Name); + throw beans::UnknownPropertyException("Unknown property " + rProp.Name); } } if(!bWrongArg && (pSetBrush || pSetSize || pSetVOrient)) |