remove two more duplicates

Moreover clarify a comment and remove some commented code.

Change-Id: Iba87b9ea6675a9bb50b8af0f094891e59bd93bd8
Reviewed-on: https://gerrit.libreoffice.org/2406
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Thomas Arnhold
2013-02-25 21:15:55 +01:00
committed by Caolán McNamara
parent 07c584ad8c
commit 633fca5f3c
4 changed files with 2 additions and 12 deletions

View File

@@ -625,7 +625,7 @@ namespace frm
// don't draw the text over the border
lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() );
// leave a space of one pixel between the "surroundings" of the control
// leave a space of two pixels between the "surroundings" of the control
// and the content
lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() );
lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() );

View File

@@ -1854,7 +1854,6 @@ CustomAnimationDurationTabPage::CustomAnimationDurationTabPage(Window* pParent,
FreeResource();
mpRBClickSequence->SetClickHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) );
mpRBClickSequence->SetClickHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) );
mpLBTrigger->SetSelectHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) );

View File

@@ -444,15 +444,7 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool bIsLayerModeActive)
if (meEditMode == EM_PAGE)
maTabControl.SetCurPageId (nActualPageNum + 1);
}
/*AF: The LayerDialogChildWindow is not used anymore (I hope).
if (GetViewFrame()->KnowsChildWindow(
LayerDialogChildWindow::GetChildWindowId()))
{
GetViewFrame()->SetChildWindow(
LayerDialogChildWindow::GetChildWindowId(),
IsLayerModeActive());
}
*/
ResetActualLayer();
Invalidate( SID_PAGEMODE );

View File

@@ -570,7 +570,6 @@ void DrawViewShell::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence
SetZoomRect(aVisArea);
}
ChangeEditMode (meEditMode, ! IsLayerModeActive());
ChangeEditMode (meEditMode, ! IsLayerModeActive());
ResetActualLayer();
}