[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-04-30 Thread yujinliang
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926





--- Additional comments from yujinli...@openoffice.org Fri Apr 30 07:37:11 
+ 2010 ---
I think ,if there are some ExCluded Pages , then should disable Add Button ,that
is ,assign FALSE to bPages  and break the loop! 

so if bPages is FALSE  then should  break the loop! This will improve 
efficiency。

-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-04-29 Thread wg
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926


User wg changed the following:

What|Old value |New value

 Assigned to|yujinliang|af

  Status|REOPENED  |NEW

Priority|P3|P2

Target milestone|---   |OOo 3.x





--- Additional comments from w...@openoffice.org Thu Apr 29 07:09:48 + 
2010 ---
Please assign common issues to 'graphicsneedsconfirm'. Thanks.
Reproducible. Reassigned. 

-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-04-29 Thread yujinliang
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926


User yujinliang changed the following:

What|Old value |New value

  Status|RESOLVED  |REOPENED

  Resolution|FIXED |





--- Additional comments from yujinli...@openoffice.org Thu Apr 29 06:58:01 
+ 2010 ---
please ooo sd project check it 

-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-02-04 Thread yujinliang
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926


User yujinliang changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from yujinli...@openoffice.org Thu Feb  4 12:28:39 
+ 2010 ---
I have fixed it 
my code:

--- sd/source/ui/dlg/custsdlg.cxx   2010-02-04 10:47:13.576798163 +0800
+++ sd/source/ui/dlg/custsdlg.cxx.new   2010-02-04 10:40:27.903900089 +0800
@@ -402,6 +402,34 @@
//BOOL bCSPages = aLbCustomPages.GetSelectEntryPos() != 
LISTBOX_ENTRY_NOTFOUND;
BOOL bCSPages = aLbCustomPages.FirstSelected() != NULL;
BOOL bCount = aLbCustomPages.GetEntryCount() > 0;
+   //check Sdpage Exclude attribute, 
+   USHORT nCount = aLbPages.GetSelectEntryCount();
+   if( bPages && nCount > 0 )
+   {
+
+
+   for( USHORT i = 0; i < nCount; i++ )
+   {
+
+   SdPage* pPage = rDoc.GetSdPage( (USHORT) aLbPages.
+   GetSelectEntryPos( i ), PK_STANDARD );
+   if( bPages && pPage )
+   {
+   if ( pPage->IsExcluded() )
+   {
+   bPages = FALSE;//disable add button 
while SdPage::IsExcluded() is TRUE;
+   }
+   }
+   else
+   {
+   bPages = FALSE;
+   }
+
+
+   }
+
+   }
+
 
aBtnOK.Enable( bCount );
aBtnAdd.Enable( bPages );


-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-02-03 Thread yujinliang
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926





--- Additional comments from yujinli...@openoffice.org Thu Feb  4 03:28:50 
+ 2010 ---
diff -Naur sd/source/ui/dlg/custsdlg.cxx sd/source/ui/dlg/custsdlg.cxx.new  >
yujinliang_fixbug3.patch

why crash , because of play a hidden pages, it is obviously wrong!
so ,if the page has been hidden , then disable add to "Custom Show list"


-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-02-03 Thread yujinliang
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926


User yujinliang changed the following:

What|Old value |New value

  Ever confirmed|  |1

  Status|UNCONFIRMED   |STARTED





--- Additional comments from yujinli...@openoffice.org Thu Feb  4 03:25:12 
+ 2010 ---
create patch file based on http://svn.services.openoffice.org/ooo/trunk
version:277955

-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-02-03 Thread yujinliang
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926





--- Additional comments from yujinli...@openoffice.org Thu Feb  4 03:24:01 
+ 2010 ---
Created an attachment (id=67592)
a patch file for fix bug


-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 108926] can add a page which has been hidden to Custom Show List, if Play it th en program crash

2010-02-03 Thread yujinliang
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108926
 Issue #|108926
 Summary|can add a page which has been hidden to Custom Show Li
|st, if Play it then program crash
   Component|Presentation
 Version|OOO320m9
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|yujinliang
 Reported by|yujinliang





--- Additional comments from yujinli...@openoffice.org Thu Feb  4 03:21:08 
+ 2010 ---
[Steps]
1. Create a new impress document, in which create some pages.
2. In the thumbnail selected in which one or more pages, right-click menu -
hidden slides.
3. Select Menu: Presentation - Custom Show, in the pop-up "Custom Show dialog",
click the "New button", pop-up "Define Custom Show dialog".
4. Select the page has been hidden and found that you can click "Double Arrow
button" added to the "custom show list", which is obviously wrong.
[result] if you  play the "custom show list" then the program to crash.

-
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org