[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Mon May 5 10:28:11 PDT 2014
sc/source/ui/docshell/docsh3.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 571cefca474e6b77d68f9fa31f805dcf692927fd
Author: Eike Rathke <erack at redhat.com>
Date: Mon May 5 18:18:57 2014 +0100
resolved fdo#78294 default null-date for document import is 1899-12-30
Change-Id: I9dfe76d422ad732a081442b95a995d8d395a098e
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 645333f..33bb671 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 );
More information about the Libreoffice-commits
mailing list