summaryrefslogtreecommitdiff
path: root/sd
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 /sd
parent7f36e996a07ed7f39a33fffb2d2c523adf00eefc (diff)
put ReadThroughComponent to anon. namespace to avoid redefinition
Change-Id: Idcc97e067b0f389a5d9e01013ab2fc20d2dd4ccd
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index dd6d8cd47acb..73ce0215790c 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -174,6 +174,9 @@ SdXMLFilter::~SdXMLFilter(void)
{
}
+namespace
+{
+
sal_Int32 ReadThroughComponent(
Reference<io::XInputStream> xInputStream,
Reference<XComponent> xModelComponent,
@@ -410,6 +413,8 @@ sal_Int32 ReadThroughComponent(
return SD_XML_READERROR;
}
+}
+
bool SdXMLFilter::Import( ErrCode& nError )
{
sal_uInt32 nRet = 0;