To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=43546
                  Issue #:|43546
                  Summary:|crash in wizard Effect preview ...
                Component:|Drawing
                  Version:|680m79
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P2
             Subcomponent:|code
              Assigned to:|wg
              Reported by:|mmeeks





------- Additional comments from [EMAIL PROTECTED] Fri Feb 25 07:41:55 -0800 
2005 -------
Steps to reproduce:
1) Launch OpenOffice 
2) Click on File - New - Presentation
3) Presentation wizard pops up.
4) Select Empty presentation and click next
5) In screen 2 of the wizard and click next
6) Choose any effect in screen 3

Patch fixes the crash - although, I'm still not getting a nice preview of the
effect for some reason:

--- sd/source/ui/slideshow/slideshowimpl.cxx    28 Jan 2005 15:53:08 -0000      
1.9
+++ sd/source/ui/slideshow/slideshowimpl.cxx    25 Feb 2005 15:38:47 -0000
@@ -455,10 +455,13 @@ bool SlideshowImpl::startPreview( 
                        mpView->AddWin( mpShowWindow );
 
                // call resize handler
-               const Rectangle& aContentRect =
mpViewShell->GetViewShellBase().getClientRectangle();
-               maPresSize = aContentRect.GetSize();
-               mpShowWindow->SetPosPixel( aContentRect.TopLeft() );
-               resize( maPresSize );
+               if (mpViewShell)
+               {
+                       const Rectangle& aContentRect =
mpViewShell->GetViewShellBase().getClientRectangle();
+                       maPresSize = aContentRect.GetSize();
+                       mpShowWindow->SetPosPixel( aContentRect.TopLeft() );
+                       resize( maPresSize );
+               }
 
                sal_Int32 nPropertyCount = 1;
                if( mxPreviewAnimationNode.is() )

stack trace (obviously):

#0  0x43e69720 in SfxShell::GetViewShell () from ./libsfx680li.so
#1  0x466801cf in sd::ViewShell::GetViewShellBase () from ./libsd680li.so
#2  0x469443ff in sd::SlideshowImpl::startPreview () from ./libsd680li.so
#3  0x4693fa7c in sd::Slideshow::startPreview () from ./libsd680li.so
#4  0x4679037f in SdDocPreviewWin::startPreview () from ./libsd680li.so
#5  0x46b178ae in AssistentDlgImpl::EffectPreviewHdl () from ./libsdui680li.so
#6  0x46b177f2 in AssistentDlgImpl::LinkStubEffectPreviewHdl () from
./libsdui680li.so
#7  0x40171d65 in Timer::Timeout () at gen.hxx:127
#8  0x40171a69 in ImplTimerCallbackProc () at gen.hxx:127

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to