This patch removes bogus comments found in the viewlayoutctrl.cxx file
Signed-off-by: Prashant Shah <[email protected]>
---
sw/source/ui/utlui/viewlayoutctrl.cxx | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/sw/source/ui/utlui/viewlayoutctrl.cxx b/sw/source/ui/utlui/viewlayoutctrl.cxx
index f27eec2..715b840 100644
--- a/sw/source/ui/utlui/viewlayoutctrl.cxx
+++ b/sw/source/ui/utlui/viewlayoutctrl.cxx
@@ -42,16 +42,12 @@
SFX_IMPL_STATUSBAR_CONTROL( SwViewLayoutControl, SvxViewLayoutItem );
-// -----------------------------------------------------------------------
-
const long nImageWidthSingle = 15;
const long nImageWidthAuto = 25;
const long nImageWidthBook = 23;
const long nImageWidthSum = 63;
const long nImageHeight = 11;
-// -----------------------------------------------------------------------
-
struct SwViewLayoutControl::SwViewLayoutControl_Impl
{
USHORT mnState; // 0 = single, 1 = auto, 2 = book, 3 = none
@@ -80,15 +76,11 @@ SwViewLayoutControl::SwViewLayoutControl( USHORT _nSlotId, USHORT _nId, StatusBa
mpImpl->maImageBookMode_Active = Image( bHC ? SW_RES(IMG_VIEWLAYOUT_BOOKMODE_ACTIVE_HC) : SW_RES(IMG_VIEWLAYOUT_BOOKMODE_ACTIVE) );
}
-// -----------------------------------------------------------------------
-
SwViewLayoutControl::~SwViewLayoutControl()
{
delete mpImpl;
}
-// -----------------------------------------------------------------------
-
void SwViewLayoutControl::StateChanged( USHORT /*nSID*/, SfxItemState eState, const SfxPoolItem* pState )
{
if ( SFX_ITEM_AVAILABLE != eState || pState->ISA( SfxVoidItem ) )
@@ -116,8 +108,6 @@ void SwViewLayoutControl::StateChanged( USHORT /*nSID*/, SfxItemState eState, co
GetStatusBar().SetItemData( GetId(), 0 ); // force repaint
}
-// -----------------------------------------------------------------------
-
void SwViewLayoutControl::Paint( const UserDrawEvent& rUsrEvt )
{
OutputDevice* pDev = rUsrEvt.GetDevice();
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice