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 DDE49C35C for ; Mon, 9 Jul 2012 15:10:34 +0000 (UTC) Received: (qmail 13235 invoked by uid 500); 9 Jul 2012 15:10:34 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 13125 invoked by uid 500); 9 Jul 2012 15:10:33 -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 13102 invoked by uid 99); 9 Jul 2012 15:10:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 15:10:33 +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; Mon, 09 Jul 2012 15:10:30 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A41B42388A68; Mon, 9 Jul 2012 15:10:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1359210 - /incubator/ooo/trunk/main/sfx2/source/doc/new.cxx Date: Mon, 09 Jul 2012 15:10:10 -0000 To: ooo-commits@incubator.apache.org From: af@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120709151010.A41B42388A68@eris.apache.org> Author: af Date: Mon Jul 9 15:10:10 2012 New Revision: 1359210 URL: http://svn.apache.org/viewvc?rev=1359210&view=rev Log: #i94898# Fixed update of previews in slide layout load dialog. Reported by: gibi Patch by: hanya Review by: Andre Fischer Modified: incubator/ooo/trunk/main/sfx2/source/doc/new.cxx Modified: incubator/ooo/trunk/main/sfx2/source/doc/new.cxx URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sfx2/source/doc/new.cxx?rev=1359210&r1=1359209&r2=1359210&view=diff ============================================================================== --- incubator/ooo/trunk/main/sfx2/source/doc/new.cxx (original) +++ incubator/ooo/trunk/main/sfx2/source/doc/new.cxx Mon Jul 9 15:10:10 2012 @@ -450,8 +450,8 @@ IMPL_LINK( SfxNewFileDialog_Impl, Templa if ( !MORE_BTN(GetState()) ) // Dialog nicht aufgeklappt return 0; - - aPrevTimer.Start(); + if ( aPreviewBtn.IsChecked() ) + aPrevTimer.Start(); return 0; } @@ -628,6 +628,7 @@ SfxNewFileDialog_Impl::SfxNewFileDialog_ MORE_BTN(AddWindow(&aPreviewBtn)); MORE_BTN(AddWindow(&aPreviewWin)); aPreviewBtn.SetClickHdl(LINK(this, SfxNewFileDialog_Impl, PreviewClick)); + aTemplateLb.SetSelectHdl(LINK(this, SfxNewFileDialog_Impl, TemplateSelect)); } else {