diff options
author | Eike Rathke <erack@redhat.com> | 2014-05-05 18:18:57 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-05-05 18:27:33 +0100 |
commit | 571cefca474e6b77d68f9fa31f805dcf692927fd (patch) | |
tree | 96b8d3297676d1be830d59ecadbd5d6363d1ac23 | |
parent | 6726fb5ce2daa363b7e885ae45e59feeb733f051 (diff) |
resolved fdo#78294 default null-date for document import is 1899-12-30
Change-Id: I9dfe76d422ad732a081442b95a995d8d395a098e
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index 645333f7da16..33bb671c930c 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -418,6 +418,12 @@ void ScDocShell::InitOptions(bool bForLoading) // called from InitNew and L // so it must not be taken from the global options. // Calculation settings are handled separately in ScXMLBodyContext::EndElement. aDocOpt.SetStdPrecision( SvNumberFormatter::UNLIMITED_PRECISION ); + + // fdo#78294 The default null-date if + // <table:null-date table:date-value='...' /> + // is absent is 1899-12-30 regardless what the configuration is set to. + // Import filters may override this value. + aDocOpt.SetDate( 30, 12, 1899); } aDocument.SetDocOptions( aDocOpt ); |