Kaydet (Commit) 633fca5f authored tarafından Thomas Arnhold's avatar Thomas Arnhold Kaydeden (comit) Caolán McNamara

remove two more duplicates

Moreover clarify a comment and remove some commented code.

Change-Id: Iba87b9ea6675a9bb50b8af0f094891e59bd93bd8
Reviewed-on: https://gerrit.libreoffice.org/2406Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 07c584ad
...@@ -625,7 +625,7 @@ namespace frm ...@@ -625,7 +625,7 @@ namespace frm
// don't draw the text over the border // don't draw the text over the border
lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() ); 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 // and the content
lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() ); lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() );
lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() ); lcl_inflate( aPlayground, -aOnePixel.Width(), -aOnePixel.Height() );
......
...@@ -1854,7 +1854,6 @@ CustomAnimationDurationTabPage::CustomAnimationDurationTabPage(Window* pParent, ...@@ -1854,7 +1854,6 @@ CustomAnimationDurationTabPage::CustomAnimationDurationTabPage(Window* pParent,
FreeResource(); FreeResource();
mpRBClickSequence->SetClickHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) );
mpRBClickSequence->SetClickHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) ); mpRBClickSequence->SetClickHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) );
mpLBTrigger->SetSelectHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) ); mpLBTrigger->SetSelectHdl( LINK( this, CustomAnimationDurationTabPage, implControlHdl ) );
......
...@@ -444,15 +444,7 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool bIsLayerModeActive) ...@@ -444,15 +444,7 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool bIsLayerModeActive)
if (meEditMode == EM_PAGE) if (meEditMode == EM_PAGE)
maTabControl.SetCurPageId (nActualPageNum + 1); maTabControl.SetCurPageId (nActualPageNum + 1);
} }
/*AF: The LayerDialogChildWindow is not used anymore (I hope).
if (GetViewFrame()->KnowsChildWindow(
LayerDialogChildWindow::GetChildWindowId()))
{
GetViewFrame()->SetChildWindow(
LayerDialogChildWindow::GetChildWindowId(),
IsLayerModeActive());
}
*/
ResetActualLayer(); ResetActualLayer();
Invalidate( SID_PAGEMODE ); Invalidate( SID_PAGEMODE );
......
...@@ -570,7 +570,6 @@ void DrawViewShell::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence ...@@ -570,7 +570,6 @@ void DrawViewShell::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence
SetZoomRect(aVisArea); SetZoomRect(aVisArea);
} }
ChangeEditMode (meEditMode, ! IsLayerModeActive());
ChangeEditMode (meEditMode, ! IsLayerModeActive()); ChangeEditMode (meEditMode, ! IsLayerModeActive());
ResetActualLayer(); ResetActualLayer();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment