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>
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx
index 43dd2cb..50a5308 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))