summaryrefslogtreecommitdiff
path: root/sd/source/ui/table/TableDesignPane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/table/TableDesignPane.cxx')
-rw-r--r--sd/source/ui/table/TableDesignPane.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx
index c0b1be827bb8..bea6a35797f3 100644
--- a/sd/source/ui/table/TableDesignPane.cxx
+++ b/sd/source/ui/table/TableDesignPane.cxx
@@ -419,6 +419,8 @@ IMPL_LINK(TableDesignWidget,EventMultiplexerListener,
}
}
+namespace {
+
struct CellInfo
{
Color maCellColor;
@@ -428,6 +430,8 @@ struct CellInfo
explicit CellInfo( const Reference< XStyle >& xStyle );
};
+}
+
CellInfo::CellInfo( const Reference< XStyle >& xStyle )
: maBorder(std::make_shared<SvxBoxItem>(SDRATTR_TABLE_BORDER))
{
@@ -457,6 +461,8 @@ CellInfo::CellInfo( const Reference< XStyle >& xStyle )
typedef std::vector< std::shared_ptr< CellInfo > > CellInfoVector;
typedef std::shared_ptr< CellInfo > CellInfoMatrix[nPreviewColumns * nPreviewRows];
+namespace {
+
struct TableStyleSettings
{
bool mbUseFirstRow;
@@ -475,6 +481,8 @@ struct TableStyleSettings
, mbUseColumnBanding(false) {}
};
+}
+
static void FillCellInfoVector( const Reference< XIndexAccess >& xTableStyle, CellInfoVector& rVector )
{
DBG_ASSERT( xTableStyle.is() && (xTableStyle->getCount() == sdr::table::style_count ), "sd::FillCellInfoVector(), invalid table style!" );