[Libreoffice-commits] core.git: dictionaries helpcontent2 sc/source
Xisco Fauli
anistenis at gmail.com
Tue Mar 26 17:19:45 PDT 2013
dictionaries | 2 +-
helpcontent2 | 2 +-
sc/source/filter/excel/xlpivot.cxx | 14 ++------------
3 files changed, 4 insertions(+), 14 deletions(-)
New commits:
commit 664dd908afe403836bdabc6da4f6fb0706b4f308
Author: Xisco Fauli <anistenis at gmail.com>
Date: Wed Mar 27 01:18:50 2013 +0100
Revert "Fix #119514#:Item lists are incorrectly imported"
This reverts commit 2d3f9fb97857fd8cfc732d3f5aa8f20b01e1cb35.
diff --git a/dictionaries b/dictionaries
index 350dc59..36776c3 160000
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit 350dc590b04041f15d6c570075ade425e4db93ad
+Subproject commit 36776c334cf3bae5bdd5929fad8e11a8bdf830a4
diff --git a/helpcontent2 b/helpcontent2
index aab9e88..341ef99 160000
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit aab9e88882b7e799b6246caa6c40ca3d46e6220d
+Subproject commit 341ef992d8fdc702e97274779cf3aa92133c547b
diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx
index 8a902e0..84a6042 100644
--- a/sc/source/filter/excel/xlpivot.cxx
+++ b/sc/source/filter/excel/xlpivot.cxx
@@ -86,19 +86,9 @@ void XclPCItem::SetInteger( sal_Int16 nValue )
void XclPCItem::SetError( sal_uInt16 nError )
{
meType = EXC_PCITEM_ERROR;
+ //! TODO convert error to string
maText = rtl::OUString();
mnError = nError;
- switch( nError )
- {
- case 0x00: maText = "#NULL!"; break;
- case 0x07: maText = "#DIV/0!"; break;
- case 0x0F: maText = "#VALUE!"; break;
- case 0x17: maText = "#REF!"; break;
- case 0x1D: maText = "#NAME?"; break;
- case 0x24: maText = "#NUM!"; break;
- case 0x2A: maText = "#N/A"; break;
- default: break;
- }
}
void XclPCItem::SetBool( bool bValue )
@@ -135,7 +125,7 @@ bool XclPCItem::IsEmpty() const
const rtl::OUString* XclPCItem::GetText() const
{
- return (meType == EXC_PCITEM_TEXT || meType == EXC_PCITEM_ERROR) ? &maText : NULL;
+ return (meType == EXC_PCITEM_TEXT) ? &maText : 0;
}
const double* XclPCItem::GetDouble() const
More information about the Libreoffice-commits
mailing list