[Libreoffice-commits] core.git: 2 commits - oox/source sax/source
Julien Nabet
serval2412 at yahoo.fr
Sat Apr 11 06:55:35 PDT 2015
oox/source/drawingml/table/tableproperties.cxx | 2 +-
sax/source/tools/fastserializer.cxx | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f3abca2b45243107f70a402d2ec8ad5e3c50346a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Apr 11 15:54:29 2015 +0200
Show duplicate attribute
Change-Id: I6e1e66012817178c167e7cb531811686cb2fec19
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index 4c1848b..85c9694 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -293,6 +293,7 @@ namespace sax_fastparser {
#ifdef DBG_UTIL
// Well-formedness constraint: Unique Att Spec
OString const nameId(getId(nToken));
+ SAL_WARN_IF(DebugAttributes.find(nameId) != DebugAttributes.end(), "sax", "Duplicate attribute: " << nameId );
assert(DebugAttributes.find(nameId) == DebugAttributes.end());
DebugAttributes.insert(nameId);
#endif
commit 618f88466baaae1925f3f41543e171769f608f11
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Apr 11 15:33:18 2015 +0200
Typo: Accenat->Accent
Change-Id: I178ae0bc0ac4121a0ed44843c07975a0330370b7
diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx
index d498233..393095b 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -146,7 +146,7 @@ static void SetTableStyleProperties(TableStyle* &pTableStyle , const sal_Int32&
TableStyle* CreateTableStyle(const OUString& styleId)
{
TableStyle* pTableStyle = NULL;
- if(styleId == "{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}") { //Medium Style 2 Accenat 1
+ if(styleId == "{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}") { //Medium Style 2 Accent 1
pTableStyle = new TableStyle();
//first row style
//fill color and type
More information about the Libreoffice-commits
mailing list