diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-01 15:18:17 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-10-22 18:07:27 -0400 |
commit | 5156c5937b428b0923c7ede51bbbf9c407f68bc1 (patch) | |
tree | 09c4e959748a3c33ec3b0a95e6f7b3e370e2c71a /sc/inc | |
parent | 90f2f3426773919bbc216253616239ba5d2d153b (diff) |
Set script type to latin for formula cells with numeric results.
But only when the column contains only standard number format types.
Change-Id: I83982d2e87f9776cf03754beaf183e35675be992
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/formulacell.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 475bea34c9a2..98bfcba9fa75 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -289,6 +289,7 @@ public: bool IsEmptyDisplayedAsString(); bool IsValue(); // also true if formula::svEmptyCell bool IsValueNoError(); + bool IsValueNoError() const; bool IsHybridValueCell(); // for cells after import to deal with inherited number formats double GetValue(); svl::SharedString GetString(); @@ -371,6 +372,8 @@ public: /** Determines whether or not the result string contains more than one paragraph */ bool IsMultilineResult(); + bool NeedsInterpret() const; + void MaybeInterpret(); /** |