diff options
author | Stefan Knorr (astron) <heinzlesspam@gmail.com> | 2011-12-05 09:53:41 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-12-05 21:43:53 +0000 |
commit | 6ea8ea456cf5df267284278ecda42aa9b089a682 (patch) | |
tree | 8d792fe52e6eb547573ca43abb9856cb2a08373e /sw/source/ui/config | |
parent | efd750d8433aade624d09f7c9d37516c9e073cda (diff) |
Remove Large Handles option
This patch removes the option Large Handles everywhere and makes LibO use the larger 9px handles always.
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r-- | sw/source/ui/config/cfgitems.cxx | 5 | ||||
-rw-r--r-- | sw/source/ui/config/optdlg.src | 26 | ||||
-rw-r--r-- | sw/source/ui/config/optpage.cxx | 3 | ||||
-rw-r--r-- | sw/source/ui/config/usrpref.cxx | 2 |
4 files changed, 6 insertions, 30 deletions
diff --git a/sw/source/ui/config/cfgitems.cxx b/sw/source/ui/config/cfgitems.cxx index 7d78e4570dba..22d4b20402a2 100644 --- a/sw/source/ui/config/cfgitems.cxx +++ b/sw/source/ui/config/cfgitems.cxx @@ -143,7 +143,6 @@ SwElemItem::SwElemItem( sal_uInt16 _nWhich ) : bVertRuler = bVertRulerRight= bCrosshair = - bBigHandles = bSmoothScroll = bTable = bGraphic = @@ -168,7 +167,6 @@ SwElemItem::SwElemItem(const SwViewOption& rVOpt, sal_uInt16 _nWhich) : bVertRuler = rVOpt.IsViewVRuler(sal_True); bVertRulerRight = rVOpt.IsVRulerRight(); bCrosshair = rVOpt.IsCrossHair(); - bBigHandles = rVOpt.IsBigMarkHdl(); bSmoothScroll = rVOpt.IsSmoothScroll(); bTable = rVOpt.IsTable(); bGraphic = rVOpt.IsGraphic(); @@ -196,7 +194,6 @@ int SwElemItem::operator==( const SfxPoolItem& rAttr ) const bVertRuler == rItem.bVertRuler && bVertRulerRight == rItem.bVertRulerRight&& bCrosshair == rItem.bCrosshair && - bBigHandles == rItem.bBigHandles && bSmoothScroll == rItem.bSmoothScroll && bTable == rItem.bTable && bGraphic == rItem.bGraphic && @@ -214,7 +211,6 @@ void SwElemItem::operator=( const SwElemItem& rElemItem) bVertRuler = rElemItem. bVertRuler ; bVertRulerRight = rElemItem. bVertRulerRight ; bCrosshair = rElemItem. bCrosshair ; - bBigHandles = rElemItem. bBigHandles ; bSmoothScroll = rElemItem. bSmoothScroll ; bTable = rElemItem.bTable ; bGraphic = rElemItem.bGraphic ; @@ -232,7 +228,6 @@ void SwElemItem::FillViewOptions( SwViewOption& rVOpt) const rVOpt.SetViewVRuler(bVertRuler ); rVOpt.SetVRulerRight(bVertRulerRight ); rVOpt.SetCrossHair(bCrosshair ); - rVOpt.SetBigMarkHdl(bBigHandles ); rVOpt.SetSmoothScroll(bSmoothScroll); rVOpt.SetTable (bTable ); rVOpt.SetGraphic (bGraphic ); diff --git a/sw/source/ui/config/optdlg.src b/sw/source/ui/config/optdlg.src index 07cc1d7fba2a..c47594865747 100644 --- a/sw/source/ui/config/optdlg.src +++ b/sw/source/ui/config/optdlg.src @@ -61,20 +61,6 @@ TabPage TP_CONTENT_OPT Size = MAP_APPFONT ( 118 , 10 ) ; Text [ en-US ] = "Helplines ~While Moving"; }; - CheckBox CB_HANDLE - { - HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_HANDLE"; - Pos = MAP_APPFONT ( 12 , 27 ) ; - Size = MAP_APPFONT ( 118 , 10 ) ; - Text [ en-US ] = "Sim~ple handles"; - }; - CheckBox CB_BIGHANDLE - { - HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_BIGHANDLE"; - Pos = MAP_APPFONT ( 12 , 40 ) ; - Size = MAP_APPFONT ( 118 , 10 ) ; - Text [ en-US ] = "Large handles"; - }; FixedLine FL_WINDOW { Pos = MAP_APPFONT ( 130 , 3 ) ; @@ -147,7 +133,7 @@ TabPage TP_CONTENT_OPT }; FixedLine FL_DISP { - Pos = MAP_APPFONT ( 6 , 56 ) ; + Pos = MAP_APPFONT ( 6 , 30 ) ; Size = MAP_APPFONT ( 118 , 8 ) ; Text [ en-US ] = "Display" ; Group = TRUE ; @@ -155,7 +141,7 @@ TabPage TP_CONTENT_OPT CheckBox CB_GRF { HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_GRF"; - Pos = MAP_APPFONT ( 12 , 67 ) ; + Pos = MAP_APPFONT ( 12 , 41 ) ; Size = MAP_APPFONT ( 108 , 10 ) ; Text [ en-US ] = "~Graphics and objects" ; TabStop = TRUE ; @@ -164,28 +150,28 @@ TabPage TP_CONTENT_OPT CheckBox CB_TBL { HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_TBL"; - Pos = MAP_APPFONT ( 12 , 80 ) ; + Pos = MAP_APPFONT ( 12 , 54 ) ; Size = MAP_APPFONT ( 108 , 10 ) ; Text [ en-US ] = "~Tables " ; }; CheckBox CB_DRWFAST { HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_DRWFAST"; - Pos = MAP_APPFONT ( 12 , 93 ) ; + Pos = MAP_APPFONT ( 12 , 67 ) ; Size = MAP_APPFONT ( 108 , 10 ) ; Text [ en-US ] = "Dra~wings and controls" ; }; CheckBox CB_FIELD { HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_FIELD"; - Pos = MAP_APPFONT ( 12 , 106 ) ; + Pos = MAP_APPFONT ( 12 , 80 ) ; Size = MAP_APPFONT ( 108 , 10 ) ; Text [ en-US ] = "~Field codes" ; }; CheckBox CB_POSTIT { HelpID = "sw:CheckBox:TP_CONTENT_OPT:CB_POSTIT"; - Pos = MAP_APPFONT ( 12 , 119 ) ; + Pos = MAP_APPFONT ( 12 , 103 ) ; Size = MAP_APPFONT ( 108 , 10 ) ; Text [ en-US ] = "~Comments" ; }; diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index 50f405450c11..c8be2e244780 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -90,7 +90,6 @@ SwContentOptPage::SwContentOptPage( Window* pParent, SfxTabPage( pParent, SW_RES( TP_CONTENT_OPT ), rCoreSet ), aLineFL ( this, SW_RES( FL_LINE ) ), aCrossCB ( this, SW_RES( CB_CROSS ) ), - aBigHandleCB ( this, SW_RES( CB_BIGHANDLE) ), aWindowFL ( this, SW_RES( FL_WINDOW ) ), aHScrollBox ( this, SW_RES( CB_HSCROLL ) ), @@ -215,7 +214,6 @@ void SwContentOptPage::Reset(const SfxItemSet& rSet) aFldNameCB .Check (pElemAttr->bFieldName ); aPostItCB .Check (pElemAttr->bNotes ); aCrossCB .Check( pElemAttr->bCrosshair ); - aBigHandleCB.Check(pElemAttr->bBigHandles ); aHScrollBox.Check( pElemAttr->bHorzScrollbar ); aVScrollBox.Check( pElemAttr->bVertScrollbar ); aAnyRulerCB.Check( pElemAttr->bAnyRuler ); @@ -245,7 +243,6 @@ sal_Bool SwContentOptPage::FillItemSet(SfxItemSet& rSet) aElem.bFieldName = aFldNameCB .IsChecked(); aElem.bNotes = aPostItCB .IsChecked(); aElem.bCrosshair = aCrossCB .IsChecked(); - aElem.bBigHandles = aBigHandleCB.IsChecked(); aElem.bHorzScrollbar = aHScrollBox.IsChecked(); aElem.bVertScrollbar = aVScrollBox.IsChecked(); aElem.bAnyRuler = aAnyRulerCB.IsChecked(); diff --git a/sw/source/ui/config/usrpref.cxx b/sw/source/ui/config/usrpref.cxx index b329281b4eca..0d39be649782 100644 --- a/sw/source/ui/config/usrpref.cxx +++ b/sw/source/ui/config/usrpref.cxx @@ -286,7 +286,6 @@ void SwLayoutViewConfig::Commit() switch(nProp) { case 0: rVal <<= (sal_Bool) rParent.IsCrossHair(); break; // "Line/Guide", - case 2: rVal <<= (sal_Bool) rParent.IsBigMarkHdl(); break; // "Line/LargeControlPoint", case 3: rVal <<= (sal_Bool) rParent.IsViewHScrollBar(); break; // "Window/HorizontalScroll", case 4: rVal <<= (sal_Bool) rParent.IsViewVScrollBar(); break; // "Window/VerticalScroll", case 5: rVal <<= (sal_Bool) rParent.IsViewAnyRuler(); break; // "Window/ShowRulers" @@ -338,7 +337,6 @@ void SwLayoutViewConfig::Load() switch(nProp) { case 0: rParent.SetCrossHair(bSet); break;// "Line/Guide", - case 2: rParent.SetBigMarkHdl(bSet); break;// "Line/LargeControlPoint", case 3: rParent.SetViewHScrollBar(bSet); break;// "Window/HorizontalScroll", case 4: rParent.SetViewVScrollBar(bSet); break;// "Window/VerticalScroll", case 5: rParent.SetViewAnyRuler(bSet);break; // "Window/ShowRulers" |