[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3-desktop' - basic/source
Mike Kaganski
mike.kaganski at collabora.com
Sat Jun 30 10:29:46 UTC 2018
basic/source/runtime/stdobj.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8df8f70b2fb9adab1e3d67f2bd3ceb2c1944a4a8
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Sat Jun 30 07:32:18 2018 +0200
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 at collabora.com>
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
(cherry picked from commit 7283125c563a2759f278c1caa6a7b71ade4f0101)
Reviewed-on: https://gerrit.libreoffice.org/56746
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx
index 85412af44823..80d637aa39bb 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
More information about the Libreoffice-commits
mailing list