diff options
Diffstat (limited to 'sw/source/uibase/app/docsh2.cxx')
-rw-r--r-- | sw/source/uibase/app/docsh2.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx index a2df020257fd..283406ea6ed0 100644 --- a/sw/source/uibase/app/docsh2.cxx +++ b/sw/source/uibase/app/docsh2.cxx @@ -202,7 +202,8 @@ void SwDocShell::ToggleLayoutMode(SwView* pView) // update text fields on document properties changes void SwDocShell::DoFlushDocInfo() { - if (!m_xDoc.get()) return; + if (!m_xDoc) + return; bool bUnlockView(true); if (m_pWrtShell) @@ -246,7 +247,7 @@ static void lcl_processCompatibleSfxHint( const uno::Reference< script::vba::XVB // Notification on DocInfo changes void SwDocShell::Notify( SfxBroadcaster&, const SfxHint& rHint ) { - if (!m_xDoc.get()) + if (!m_xDoc) { return ; } |