diff options
-rw-r--r-- | sfx2/source/view/frame.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index 0039c18fdd80..eda62d4a29e9 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -584,10 +584,7 @@ tools::Rectangle SfxFrame::GetTopOuterRectPixel_Impl() const SfxWorkWindow* SfxFrame::GetWorkWindow_Impl() const { - if ( m_pImpl->pWorkWin ) - return m_pImpl->pWorkWin; - else - return nullptr; + return m_pImpl->pWorkWin; } void SfxFrame::CreateWorkWindow_Impl() |