[Libreoffice-commits] core.git: svx/source xmloff/source
Stephan Bergmann
sbergman at redhat.com
Thu Sep 11 04:14:06 PDT 2014
svx/source/form/tabwin.cxx | 3 +++
xmloff/source/table/XMLTableImport.cxx | 4 ++++
2 files changed, 7 insertions(+)
New commits:
commit 4d3c88805d1917932ee88a0f22ae93c43e8e389a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Sep 11 13:13:24 2014 +0200
Avoid ODR-violating name clash
Change-Id: I69c3b11b01d520a485b07c8e5397a7f971210af2
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx
index 12baa61..58b357b 100644
--- a/svx/source/form/tabwin.cxx
+++ b/svx/source/form/tabwin.cxx
@@ -71,6 +71,7 @@ using namespace ::com::sun::star;
using namespace ::svxform;
using namespace ::svx;
+namespace {
struct ColumnInfo
{
@@ -83,6 +84,8 @@ struct ColumnInfo
}
};
+}
+
static void lcl_addToList( SvTreeListBox& _rListBox, const uno::Reference< container::XNameAccess>& i_xColumns )
{
uno::Sequence< OUString > aEntries = i_xColumns->getElementNames();
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index 798a9e3..3b37618 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -51,6 +51,8 @@ using namespace ::com::sun::star::style;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
+namespace {
+
struct ColumnInfo
{
OUString msStyleName;
@@ -58,6 +60,8 @@ struct ColumnInfo
OUString msDefaultCellStyleName;
};
+}
+
class XMLProxyContext : public SvXMLImportContext
{
public:
More information about the Libreoffice-commits
mailing list