summaryrefslogtreecommitdiff
path: root/sc/inc/formulacell.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-11-16 18:23:25 +0100
committerEike Rathke <erack@redhat.com>2016-11-16 18:24:00 +0100
commit83cbbc6d664d949f6405409713c5bda1a5be559f (patch)
treed7d06317429e5b22c14ebe7d7522d6afcc174a90 /sc/inc/formulacell.hxx
parented5a8df72ac2d14aa2f5d1f87543fcfff9ad9d7d (diff)
tdf#96475 restore the EmptyDisplayedAsString condition during load
So also "empty" result cells with a number format applied are displayed empty, instead of 1899-12-30 for example. Change-Id: I5280d0213b8a809a04c5cb152ded58028706493a
Diffstat (limited to 'sc/inc/formulacell.hxx')
-rw-r--r--sc/inc/formulacell.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 180c85661284..d17e1e0db2f1 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -341,6 +341,13 @@ public:
SetHybridString() or SetHybridFormula(), use SetHybridDouble() first
for performance reasons.*/
void SetHybridString( const svl::SharedString& r );
+ /** For import only: set an empty cell result to be displayed as empty string.
+ If for whatever reason you have to use both, SetHybridDouble() and
+ SetHybridEmptyDisplayedAsString() or SetHybridFormula(), use
+ SetHybridDouble() first for performance reasons and use
+ SetHybridEmptyDisplayedAsString() last because SetHybridDouble() and
+ SetHybridString() will override it.*/
+ void SetHybridEmptyDisplayedAsString();
/** For import only: set a temporary formula string to be compiled later.
If for whatever reason you have to use both, SetHybridDouble() and
SetHybridString() or SetHybridFormula(), use SetHybridDouble() first