[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Wed Aug 20 06:45:43 PDT 2014


 sc/source/ui/view/reffact.cxx |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 893d5f9973e75a61f7d21ac146ca329627a9c440
Author: Stephan Bergmann <sbergman at 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();
 }


More information about the Libreoffice-commits mailing list