Apache OpenOffice (AOO) Bugzilla – Issue 71600
Can not use the selected templet.
Last modified: 2017-05-20 11:08:39 UTC
In the OOo_m186 Can not use the selected templet. The bug can be described as follows: 1.Open a new presentation 2.Format->Slide Design->load some templet (for example:load four templets) 3.select a random templet but not the last one 4.click OK button. you will find that the templet that be loaded is always the last one.
Reassigned.
Set to new and change the target.
I can reproduce the bug. Please have a look.
Created attachment 40737 [details] the patch of this bug
I have reapaired the bug , please have a look!
Thank you for the patch. I will look into this as soon as time permits. Can you provide in the mean time a description of what goes wrong? To me it looks like we have the problem only with master pages loaded in the dialog, not with master pages that are already in the document when the dialog is opened.
set issue type to PATCH.
added myself to CC
@liutao: Please provide a description about how your patch fixes the bug
assign back to liutao for action
liutao, could you add some comments regarding this patch, please, in order to get it integrated in time?
OK, I will do it ASAP
ping
@ka I am sorry to explain this patch so late. In the newest version of the file "sdpreslt.cxx" the variable "aName" has been changed to "maName". I am about to explain this patch. After debuging , I know that the "aName" (string type) should be a template path which is selected but not the last one which is loaded. So,I added a LINK function.When select a template,the path of the selected template will pass to "aName" . USHORT mId = (USHORT)pLayoutNames->Count();//get ID aVS.SetItemData( mId, new XubString(aName));//set path. aName=*(XubString*)aVS.GetItemData( nId );//get path. If there isn't clear,please point out.
.
set target to 3.0
is there any progress ?
I'm adding this comment to all open issues with Issue Type == PATCH. We have 220 such issues, many of them quite old. I apologize for that. We need your help in prioritizing which patches should be integrated into our next release, Apache OpenOffice 4.0. If you have submitted a patch and think it is applicable for AOO 4.0, please respond with a comment to let us know. On the other hand, if the patch is no longer relevant, please let us know that as well. If you have any general questions or want to discuss this further, please send a note to our dev mailing list: dev@openoffice.apache.org Thanks! -Rob
Reset assigne to the default "issues@openoffice.apache.org".