summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-07-30 13:14:51 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-08-03 22:42:20 +0200
commitf264ff6aad5684fbcc4789a9a8094f5443586ad2 (patch)
treefdf2894211a5c2db89d26e2e922772066179756e /sw
parent7f36e996a07ed7f39a33fffb2d2c523adf00eefc (diff)
put ReadThroughComponent to anon. namespace to avoid redefinition
Change-Id: Idcc97e067b0f389a5d9e01013ab2fc20d2dd4ccd
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/swxml.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index afce16264c55..4c0c0089c873 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -119,6 +119,9 @@ int XMLReader::GetReaderType()
return SW_STORAGE_READER;
}
+namespace
+{
+
/// read a component (file + filter version)
sal_Int32 ReadThroughComponent(
uno::Reference<io::XInputStream> xInputStream,
@@ -365,6 +368,8 @@ sal_Int32 ReadThroughComponent(
return ERR_SWG_READ_ERROR;
}
+}
+
// #i44177#
static void lcl_AdjustOutlineStylesForOOo(SwDoc& _rDoc)
{