summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xestyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xestyle.cxx')
-rw-r--r--sc/source/filter/excel/xestyle.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 7b6a3b5a5665..2ee1648432a8 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -1309,6 +1309,8 @@ size_t XclExpFontBuffer::Find( const XclFontData& rFontData )
// FORMAT record - number formats =============================================
+namespace {
+
/** Predicate for search algorithm. */
struct XclExpNumFmtPred
{
@@ -1318,6 +1320,8 @@ struct XclExpNumFmtPred
{ return rFormat.mnScNumFmt == mnScNumFmt; }
};
+}
+
void XclExpNumFmt::SaveXml( XclExpXmlStream& rStrm )
{
sax_fastparser::FSHelperPtr& rStyleSheet = rStrm.GetCurrentStream();
@@ -2346,6 +2350,8 @@ XclExpXFBuffer::XclExpBuiltInInfo::XclExpBuiltInInfo() :
{
}
+namespace {
+
/** Predicate for search algorithm. */
struct XclExpBorderPred
{
@@ -2355,6 +2361,8 @@ struct XclExpBorderPred
bool operator()( const XclExpCellBorder& rBorder ) const;
};
+}
+
bool XclExpBorderPred::operator()( const XclExpCellBorder& rBorder ) const
{
return
@@ -2377,6 +2385,8 @@ bool XclExpBorderPred::operator()( const XclExpCellBorder& rBorder ) const
mrBorder.mnDiagColorId == rBorder.mnDiagColorId;
}
+namespace {
+
struct XclExpFillPred
{
const XclExpCellArea&
@@ -2385,6 +2395,8 @@ struct XclExpFillPred
bool operator()( const XclExpCellArea& rFill ) const;
};
+}
+
bool XclExpFillPred::operator()( const XclExpCellArea& rFill ) const
{
return