summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-11-21 15:55:59 +0100
committerEike Rathke <erack@redhat.com>2017-11-21 15:56:06 +0100
commitb1d603444b0229a3b710e27308b32d3484fb5e9e (patch)
treeae803ca9bfb1472d56ffc9df14cab81cd3cbf48d
parentba9833a1d63747eaa5124271a1ac51cb926bce7a (diff)
Adapt documentation to reality
Change-Id: Ia773da1fb1c0af0855321ce88c488a5b86c7cf92
-rw-r--r--sc/inc/stringutil.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/inc/stringutil.hxx b/sc/inc/stringutil.hxx
index e44bdcc84e39..005a99713f2f 100644
--- a/sc/inc/stringutil.hxx
+++ b/sc/inc/stringutil.hxx
@@ -33,10 +33,14 @@ class SvNumberFormatter;
*/
struct SAL_WARN_UNUSED SC_DLLPUBLIC ScSetStringParam
{
+ /** Enum settings that take effect if mbDetectNumberFormat=false or if
+ true a number was not detected.
+ */
enum TextFormatPolicy
{
/**
- * Set Text number format no matter what the input string is.
+ * Set Text number format if the input string can be parsed as a number
+ * or formula text.
*/
Always,