summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xilink.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xilink.cxx')
-rw-r--r--sc/source/filter/excel/xilink.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx
index 40128838a629..3e86e5bea064 100644
--- a/sc/source/filter/excel/xilink.cxx
+++ b/sc/source/filter/excel/xilink.cxx
@@ -38,6 +38,8 @@
// Cached external cells ======================================================
+namespace {
+
/**
* Contains the address and value of an external referenced cell.
* Note that this is non-copyable, so cannot be used in most stl/boost containers.
@@ -80,6 +82,8 @@ private:
OUString maTabName; /// Name of the external sheet.
};
+}
+
// External document (SUPBOOK) ================================================
/** This class represents an external linked document (record SUPBOOK).
@@ -134,6 +138,8 @@ private:
// Import link manager ========================================================
+namespace {
+
/** Contains the SUPBOOK index and sheet indexes of an external link.
@descr It is possible to enter a formula like =SUM(Sheet1:Sheet3!A1),
therefore here occurs a sheet range. */
@@ -145,7 +151,7 @@ struct XclImpXti
explicit XclImpXti() : mnSupbook( SAL_MAX_UINT16 ), mnSBTabFirst( SAL_MAX_UINT16 ), mnSBTabLast( SAL_MAX_UINT16 ) {}
};
-static XclImpStream& operator>>( XclImpStream& rStrm, XclImpXti& rXti )
+XclImpStream& operator>>( XclImpStream& rStrm, XclImpXti& rXti )
{
rXti.mnSupbook = rStrm.ReaduInt16();
rXti.mnSBTabFirst = rStrm.ReaduInt16();
@@ -153,6 +159,8 @@ static XclImpStream& operator>>( XclImpStream& rStrm, XclImpXti& rXti )
return rStrm;
}
+}
+
/** Implementation of the link manager. */
class XclImpLinkManagerImpl : protected XclImpRoot
{