[Libreoffice-commits] core.git: sc/qa

Stephan Bergmann sbergman at redhat.com
Thu Jun 29 10:47:31 UTC 2017


 sc/qa/unit/screenshots/screenshots.cxx |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 46ca5628e50e0e1414d78c2c538b854f72954814
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 29 12:46:59 2017 +0200

    loplugin:oncevar
    
    Change-Id: Ib8027a45f98b623e04b14d55a7b75a0f4c317b42

diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx
index 9e6b65ec4a5f..a49ab9c152ae 100644
--- a/sc/qa/unit/screenshots/screenshots.cxx
+++ b/sc/qa/unit/screenshots/screenshots.cxx
@@ -196,9 +196,10 @@ VclPtr<VclAbstractDialog> ScScreenshotTest::createDialogByID(sal_uInt32 nID)
 
         case 7: // "modules/scalc/ui/createnamesdialog.ui"
         {
-            //// just fake some flags
-            CreateNameFlags nFlags = CreateNameFlags::Left | CreateNameFlags::Top;
-            pReturnDialog = mpFact->CreateScNameCreateDlg(mpViewShell->GetDialogParent(), nFlags);
+            pReturnDialog = mpFact->CreateScNameCreateDlg(
+                mpViewShell->GetDialogParent(),
+                CreateNameFlags::Left | CreateNameFlags::Top);
+                    // just fake some flags
             break;
         }
 


More information about the Libreoffice-commits mailing list