summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/tabpages/backgrnd.cxx31
1 files changed, 20 insertions, 11 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 8a204798623a..d7c54392e6e9 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -72,14 +72,20 @@ struct SvxBackgroundTable_Impl
SvxBrushItem* pCellBrush;
SvxBrushItem* pRowBrush;
SvxBrushItem* pTableBrush;
- sal_uInt16 nCellWhich;
- sal_uInt16 nRowWhich;
- sal_uInt16 nTableWhich;
- sal_uInt16 nActPos;
-
- SvxBackgroundTable_Impl() :
- pCellBrush(NULL), pRowBrush(NULL), pTableBrush(NULL),
- nCellWhich(0), nRowWhich(0), nTableWhich(0) {}
+ sal_uInt16 nCellWhich;
+ sal_uInt16 nRowWhich;
+ sal_uInt16 nTableWhich;
+ sal_uInt16 nActPos;
+
+ SvxBackgroundTable_Impl()
+ : pCellBrush(NULL)
+ , pRowBrush(NULL)
+ , pTableBrush(NULL)
+ , nCellWhich(0)
+ , nRowWhich(0)
+ , nTableWhich(0)
+ , nActPos(0)
+ {}
};
struct SvxBackgroundPara_Impl
@@ -94,15 +100,18 @@ struct SvxBackgroundPara_Impl
, pCharBrush(NULL)
, nActPos(LISTBOX_ENTRY_NOTFOUND)
{}
+
};
struct SvxBackgroundPage_Impl
{
Timer* pLoadTimer;
- sal_Bool bIsImportDlgInExecute;
+ sal_Bool bIsImportDlgInExecute;
- SvxBackgroundPage_Impl() :
- pLoadTimer(NULL), bIsImportDlgInExecute(sal_False) {}
+ SvxBackgroundPage_Impl()
+ : pLoadTimer(NULL)
+ , bIsImportDlgInExecute(sal_False)
+ {}
};
static inline sal_uInt8 lcl_PercentToTransparency(long nPercent)