diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-06-30 07:32:18 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-06-30 09:43:23 +0200 |
commit | 7283125c563a2759f278c1caa6a7b71ade4f0101 (patch) | |
tree | 3c30181d1bf1fdf438d8502ee98e74a9edfd4254 | |
parent | cdaa5d8e9727a0a41f969ae29b0442f3ca2f67c0 (diff) |
tdf#118218: Make FormatNumber VBA-only
0f7a7c8e719dab6b79e24285b907b5be17f39fc8 follow-up
Change-Id: I79ed02770a4321401f250b85b04ef66d476a67df
Reviewed-on: https://gerrit.libreoffice.org/56742
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | basic/source/runtime/stdobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx index ff10ad4f2695..a2f3be73b308 100644 --- a/basic/source/runtime/stdobj.cxx +++ b/basic/source/runtime/stdobj.cxx @@ -278,7 +278,7 @@ static Methods aMethods[] = { { "FormatDateTime", SbxSTRING, 2 | FUNCTION_ | COMPATONLY_, RTLNAME(FormatDateTime),0 }, { "Date", SbxDATE, 0,nullptr,0 }, { "NamedFormat", SbxINTEGER, OPT_, nullptr,0 }, -{ "FormatNumber", SbxSTRING, 5 | FUNCTION_, RTLNAME(FormatNumber), 0 }, +{ "FormatNumber", SbxSTRING, 5 | FUNCTION_ | COMPATONLY_, RTLNAME(FormatNumber), 0 }, { "expression", SbxDOUBLE, 0, nullptr, 0 }, { "numDigitsAfterDecimal", SbxINTEGER, OPT_, nullptr, 0 }, { "includeLeadingDigit", SbxINTEGER, OPT_, nullptr, 0 }, // vbTriState |