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

Caolán McNamara caolanm at redhat.com
Fri Jun 15 08:27:09 UTC 2018


 sfx2/source/dialog/tabdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 43ddae454c45a7cb79b4f1a8ac31fc41900fe4fc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jun 14 16:55:54 2018 +0100

    fix setPreviewsToSamePlace
    
    Change-Id: I70a6f44ecd25155faf64adaf795d330b12c247c7
    Reviewed-on: https://gerrit.libreoffice.org/55817
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;


More information about the Libreoffice-commits mailing list