diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-09-04 16:43:19 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2022-09-04 23:07:35 +0200 |
commit | f9547d335f93142c9db08b050a12b97fa7c43dc8 (patch) | |
tree | 894697a2929111547b4b336fdc11732e16a0abbc /sc/source/core/tool | |
parent | 9e7e95a57b7c16941d9fdc59f806c1f9e4263379 (diff) |
Fix comment of EnQuote function in sc/compiler
Change-Id: I706cf665745fc6d0b58a6e69b0a8a918ad0d062f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139374
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/core/tool')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index d19f1b665201..cdcbdceac23f 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -5502,7 +5502,8 @@ void ScCompiler::LocalizeString( OUString& rName ) const ScGlobal::GetAddInCollection()->LocalizeString( rName ); } -// Put quotes around string if non-alphanumeric characters are contained, +// Put quotes around string if non-alphanumeric characters are contained +// or if string contains only numeric characters, // quote characters contained within are escaped by '\\'. bool ScCompiler::EnQuote( OUString& rStr ) { |