diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-12-15 14:17:50 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-12-15 14:17:50 -0500 |
commit | d705effb38810194d11ef62324b31a824bdf8b68 (patch) | |
tree | 5f41ac220d4bebae07a5314d64589f5854092a63 /sc | |
parent | 51898856edb711fe6a5f8f9c470953c25f4034a5 (diff) |
Clean up.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/pivot.hrc | 3 | ||||
-rw-r--r-- | sc/source/ui/dbgui/pivot.src | 9 | ||||
-rw-r--r-- | sc/source/ui/dbgui/pvlaydlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/pvlaydlg.hxx | 2 |
4 files changed, 2 insertions, 14 deletions
diff --git a/sc/source/ui/dbgui/pivot.hrc b/sc/source/ui/dbgui/pivot.hrc index 6c363f8a6a62..883be5e7f4c8 100644 --- a/sc/source/ui/dbgui/pivot.hrc +++ b/sc/source/ui/dbgui/pivot.hrc @@ -38,9 +38,6 @@ #define WND_ROW 12 #define WND_DATA 13 #define WND_SELECT 14 -//#define WND_FIELD 15 -//#define WND_FIELD_SPACE 16 -#define WND_HSCROLL 17 #define WND_PAGE 18 #define FT_COL 31 #define FT_ROW 32 diff --git a/sc/source/ui/dbgui/pivot.src b/sc/source/ui/dbgui/pivot.src index 1aaf93726b80..fc70df963e3c 100644 --- a/sc/source/ui/dbgui/pivot.src +++ b/sc/source/ui/dbgui/pivot.src @@ -89,20 +89,13 @@ ModelessDialog RID_SCDLG_PIVOT_LAYOUT Control WND_SELECT { Pos = MAP_APPFONT ( 210 , 14 ) ; - Size = MAP_APPFONT ( 70 , 126 ) ; + Size = MAP_APPFONT ( 70 , 136 ) ; TabStop = TRUE ; }; String STR_SELECT { Text [ en-US ] = "Selection area"; }; - ScrollBar WND_HSCROLL - { - Pos = MAP_APPFONT ( 208 , 144 ) ; - Size = MAP_APPFONT ( 70 , 8 ) ; - HScroll = TRUE ; - TabStop = FALSE ; - }; FixedText FT_INFO { Pos = MAP_APPFONT ( 6 , 200 ) ; diff --git a/sc/source/ui/dbgui/pvlaydlg.cxx b/sc/source/ui/dbgui/pvlaydlg.cxx index 1298db6afd9f..c9e3fd0ab60f 100644 --- a/sc/source/ui/dbgui/pvlaydlg.cxx +++ b/sc/source/ui/dbgui/pvlaydlg.cxx @@ -1460,8 +1460,6 @@ void ScDPLayoutDlg::UpdateSrcRange() aWndPage.ClearFields(); aSelectArr.clear(); - aSelectArr.resize(PAGE_SIZE); - aRowArr.clear(); aColArr.clear(); aDataArr.clear(); diff --git a/sc/source/ui/inc/pvlaydlg.hxx b/sc/source/ui/inc/pvlaydlg.hxx index 01b4fe9dbbd1..98c3ba15ed96 100644 --- a/sc/source/ui/inc/pvlaydlg.hxx +++ b/sc/source/ui/inc/pvlaydlg.hxx @@ -166,7 +166,7 @@ private: ScDPFieldType eLastActiveType; /// Type of last active area. size_t nOffset; /// Offset of first field in TYPE_SELECT area. - ScDPFuncDataVec aSelectArr; // holds instances for visible buttons only + ScDPFuncDataVec aSelectArr; ScDPFuncDataVec aPageArr; ScDPFuncDataVec aColArr; ScDPFuncDataVec aRowArr; |