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

Norbert Thiebaud nthiebaud at gmail.com
Fri Mar 7 22:08:56 PST 2014


 sc/source/ui/app/scmod.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec09eac8c1bbd3aa659c28255e0caa08be03ef7d
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sat Mar 8 00:08:26 2014 -0600

    typo in coverity#704692 fix
    
    Change-Id: Iae5db52f8240d96528258cec944b08ea29ff6084

diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index c2a6438..b4f2829 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -1781,7 +1781,7 @@ bool ScModule::IsFormulaMode()
         if ( pChildWnd )
         {
             IAnyRefDialog* pRefDlg = dynamic_cast<IAnyRefDialog*>(pChildWnd->GetWindow());
-            assert(prefDlg);
+            assert(pRefDlg);
             bIsFormula = pChildWnd->IsVisible() && pRefDlg && pRefDlg->IsRefInputMode();
         }
         else if(pModalDlg)


More information about the Libreoffice-commits mailing list