From a6f9c59d4191cd38f29778d7f66c6a479be931fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 31 Dec 2013 11:06:18 +0000 Subject: [PATCH] I can't see a route to create a RID_PAGEDIALOG_LINE so remove it Change-Id: I148714b469ac8cd065a85aef9ee04f8a32f35a45 --- reportdesign/inc/RptResId.hrc | 1 - reportdesign/source/ui/dlg/dlgpage.cxx | 3 -- reportdesign/source/ui/dlg/dlgpage.src | 66 -------------------------- 3 files changed, 70 deletions(-) diff --git a/reportdesign/inc/RptResId.hrc b/reportdesign/inc/RptResId.hrc index 85698630db06..ef3086ebca33 100644 --- a/reportdesign/inc/RptResId.hrc +++ b/reportdesign/inc/RptResId.hrc @@ -229,7 +229,6 @@ #define RID_PAGE_POSITION ( RID_PAGE_START + 6 ) #define RID_PAGE_BACKGROUND ( RID_PAGE_START + 7 ) #define RID_PAGE_TWOLN ( RID_PAGE_START + 8 ) -#define RID_PAGEDIALOG_LINE ( RID_PAGE_START + 9 ) #define RID_PAGE_ALIGNMENT ( RID_PAGE_START + 11 ) // ----------------------------------------------------------------------- diff --git a/reportdesign/source/ui/dlg/dlgpage.cxx b/reportdesign/source/ui/dlg/dlgpage.cxx index 97fff040f3d3..21fa600b5987 100644 --- a/reportdesign/source/ui/dlg/dlgpage.cxx +++ b/reportdesign/source/ui/dlg/dlgpage.cxx @@ -60,9 +60,6 @@ SfxTabDialog ( pParent, ModuleRes( _nPageId ), pAttr ), AddTabPage(RID_PAGE_BACKGROUND, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BACKGROUND ), 0 ); AddTabPage(RID_PAGE_ALIGNMENT, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_ALIGNMENT ), 0 ); - break; - case RID_PAGEDIALOG_LINE: - AddTabPage( RID_SVXPAGE_LINE,pFact->GetTabPageCreatorFunc( RID_SVXPAGE_LINE ), 0 ); break; default: OSL_FAIL("Unknown page id"); diff --git a/reportdesign/source/ui/dlg/dlgpage.src b/reportdesign/source/ui/dlg/dlgpage.src index 8acca41d6465..481002f9726d 100644 --- a/reportdesign/source/ui/dlg/dlgpage.src +++ b/reportdesign/source/ui/dlg/dlgpage.src @@ -208,71 +208,5 @@ TabDialog RID_PAGEDIALOG_CHAR Text [ en-US ] = "Character" ; }; }; -TabDialog RID_PAGEDIALOG_LINE -{ - OutputSize = TRUE ; - SVLook = TRUE ; - Size = MAP_APPFONT ( 289 , 176 ) ; - Text [ en-US ] = "Line" ; - Moveable = TRUE ; - Closeable = TRUE ; - TabControl 1 - { - OutputSize = TRUE ; - Pos = MAP_APPFONT ( 3 , 3 ) ; - Size = MAP_APPFONT ( 260 , 135 ) ; - PageList = - { - PageItem - { - Identifier = RID_SVXPAGE_LINE ; - Text [ en-US ] = "Line" ; - PageResID = RID_SVXPAGE_LINE ; - }; - PageItem - { - Identifier = RID_SVXPAGE_LINE_DEF ; - Text [ en-US ] = "Line Styles" ; - PageResID = RID_SVXPAGE_LINE_DEF ; - }; - PageItem - { - Identifier = RID_SVXPAGE_LINEEND_DEF ; - Text [ en-US ] = "Arrow Styles" ; - PageResID = RID_SVXPAGE_LINEEND_DEF ; - }; - }; - }; - OKButton 1 - { - Pos = MAP_APPFONT ( 6 , 151 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - CancelButton 1 - { - Pos = MAP_APPFONT ( 60 , 151 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - HelpButton 1 - { - Pos = MAP_APPFONT ( 114 , 151 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - PushButton 1 - { - Pos = MAP_APPFONT ( 169 , 151 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - Text [ en-US ] = "Return" ; - TabStop = TRUE ; - }; - - String 1 - { - Text [ en-US ] = "Line" ; - }; -}; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */