Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76FC3C6D2 for ; Tue, 3 Jul 2012 13:27:04 +0000 (UTC) Received: (qmail 1466 invoked by uid 500); 3 Jul 2012 13:27:04 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 1336 invoked by uid 500); 3 Jul 2012 13:27:03 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 1323 invoked by uid 99); 3 Jul 2012 13:27:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 13:27:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 13:27:01 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7873B2388A38; Tue, 3 Jul 2012 13:26:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1356719 - /incubator/ooo/trunk/main/starmath/source/document.cxx Date: Tue, 03 Jul 2012 13:26:40 -0000 To: ooo-commits@incubator.apache.org From: arielch@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120703132640.7873B2388A38@eris.apache.org> Author: arielch Date: Tue Jul 3 13:26:39 2012 New Revision: 1356719 URL: http://svn.apache.org/viewvc?rev=1356719&view=rev Log: i120156 - AutoUpdate on Undo/Redo Modified: incubator/ooo/trunk/main/starmath/source/document.cxx Modified: incubator/ooo/trunk/main/starmath/source/document.cxx URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/starmath/source/document.cxx?rev=1356719&r1=1356718&r2=1356719&view=diff ============================================================================== --- incubator/ooo/trunk/main/starmath/source/document.cxx (original) +++ incubator/ooo/trunk/main/starmath/source/document.cxx Tue Jul 3 13:26:39 2012 @@ -1181,6 +1181,10 @@ void SmDocShell::Execute(SfxRequest& rRe DBG_UNHANDLED_EXCEPTION(); } } + + SmModule *pModule = SM_MOD(); + if ( pModule && pModule->GetConfig()->IsAutoRedraw() ) + UpdateText(); Repaint(); SfxViewFrame* pFrm = SfxViewFrame::GetFirst( this ); while( pFrm )