summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/reffact.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-20 15:44:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-20 15:44:59 +0200
commit893d5f9973e75a61f7d21ac146ca329627a9c440 (patch)
tree2651d9dc0625daf190eb97b5f349b5d175a94f5f /sc/source/ui/view/reffact.cxx
parent83046bfcdd1b49da01f6310a05471e816391645e (diff)
Clean up line splicing and indentation
Change-Id: I2b9725052aeaeebef84ec9aedba639f6dda537ff
Diffstat (limited to 'sc/source/ui/view/reffact.cxx')
-rw-r--r--sc/source/ui/view/reffact.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx
index 6d2bca2183f3..ff4b8782d1a1 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();
}