sc/source/ui/view/reffact.cxx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
New commits: commit 893d5f9973e75a61f7d21ac146ca329627a9c440 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Aug 20 15:44:59 2014 +0200 Clean up line splicing and indentation Change-Id: I2b9725052aeaeebef84ec9aedba639f6dda537ff diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx index 6d2bca2..ff4b878 100644 --- a/sc/source/ui/view/reffact.cxx +++ b/sc/source/ui/view/reffact.cxx @@ -278,24 +278,24 @@ namespace } } -ScValidityRefChildWin::ScValidityRefChildWin( Window* pParentP, \ - sal_uInt16 nId, \ - SfxBindings* p, \ - SfxChildWinInfo* /*pInfo*/ ) \ +ScValidityRefChildWin::ScValidityRefChildWin( Window* pParentP, + sal_uInt16 nId, + SfxBindings* p, + SfxChildWinInfo* /*pInfo*/ ) : SfxChildWindow(pParentP, nId), m_bVisibleLock( false ), m_bFreeWindowLock( false ), m_pSavedWndParent( NULL ) { - SetWantsFocus( false );\ - ScTabViewShell* pViewShell = \ - NULL != ( pWindow = ScValidationDlg::Find1AliveObject( pParentP ) ) ? static_cast<ScValidationDlg*>(pWindow)->GetTabViewShell() : - lcl_GetTabViewShell( p ); - if (!pViewShell) - pViewShell = PTR_CAST( ScTabViewShell, SfxViewShell::Current() ); - OSL_ENSURE( pViewShell, "missing view shell :-(" ); \ - if (pViewShell && !pWindow) \ - pViewShell->GetViewFrame()->SetChildWindow( nId, false ); \ + SetWantsFocus( false ); + ScTabViewShell* pViewShell = + NULL != ( pWindow = ScValidationDlg::Find1AliveObject( pParentP ) ) ? static_cast<ScValidationDlg*>(pWindow)->GetTabViewShell() : + lcl_GetTabViewShell( p ); + if (!pViewShell) + pViewShell = PTR_CAST( ScTabViewShell, SfxViewShell::Current() ); + OSL_ENSURE( pViewShell, "missing view shell :-(" ); + if (pViewShell && !pWindow) + pViewShell->GetViewFrame()->SetChildWindow( nId, false ); if( pWindow ) m_pSavedWndParent = pWindow->GetParent(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits