diff options
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 48e721c2baf7..52e9eaad5a1f 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1966,7 +1966,7 @@ void SfxTabDialogController::setPreviewsToSamePlace() std::vector<std::unique_ptr<weld::Widget>> aGrids; for (auto pDataObject : m_pImpl->aData) { - if (pDataObject->pTabPage) + if (!pDataObject->pTabPage) continue; if (!pDataObject->pTabPage->m_xBuilder) continue; |