summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-01-04 09:41:22 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2020-01-04 10:27:23 +0100
commit6bdfcd317f87ab1948f56eb1231db1378c51c2f8 (patch)
tree6062e426e0d022f79f27812be86134a2985a2bda /basic
parent0b8ae8725083eb0526a262d434cc06fb3f3e7336 (diff)
VBA: don't SAL_WARN on value-to-number conversion error
Error to convert a value to number is signalled to user normally as a standard Basic error; it's nothing a developer should worry about. Change-Id: Ia6ca316f374ffe392eb1a7b4ffac52fd53ba2fb1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86210 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxscan.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index f555908b6b84..e15039243fea 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -258,7 +258,6 @@ ErrCode ImpScan( const OUString& rWSrc, double& nVal, SbxDataType& rType,
#if HAVE_FEATURE_SCRIPTING
else if ( SbiRuntime::isVBAEnabled() )
{
- SAL_WARN("basic", "Reporting error converting");
return ERRCODE_BASIC_CONVERSION;
}
#endif