Issue 71600

Summary: Can not use the selected templet.
Product: Impress Reporter: liujiaxiang
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, pagalmes.lists, peter.junge
Version: OOo 2.0.3   
Target Milestone: ---   
Hardware: All   
OS: Windows, all   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 72764    
Description Flags
the patch of this bug none

Description liujiaxiang 2006-11-16 02:49:58 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) a random templet but not the last one OK button.
you will find that the templet that be loaded is always the last one.
Comment 1 wolframgarten 2006-11-16 08:09:45 UTC
Comment 2 christian.guenther 2006-11-16 09:04:31 UTC
Set to new and change the target.
Comment 3 christian.guenther 2006-11-16 09:05:44 UTC
I can reproduce the bug.
Please have a look.
Comment 4 liujiaxiang 2006-11-20 03:04:43 UTC
Created attachment 40737 [details]
the patch of this bug
Comment 5 liujiaxiang 2006-11-20 03:05:19 UTC
I have reapaired the bug , please have a look!
Comment 6 groucho266 2006-11-20 09:37:12 UTC
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.
Comment 7 Martin Hollmichel 2006-12-19 15:58:15 UTC
set issue type to PATCH.
Comment 8 peter.junge 2006-12-20 02:02:54 UTC
added myself to CC
Comment 9 groucho266 2007-03-29 14:51:58 UTC
@liutao: Please provide a description about how your patch fixes the bug
Comment 10 Martin Hollmichel 2007-05-09 07:46:35 UTC
assign back to liutao for action
Comment 11 ooo 2007-07-04 08:59:23 UTC
liutao, could you add some comments regarding this patch, please, in order to
get it integrated in time?
Comment 12 liujiaxiang 2007-07-04 09:01:36 UTC
OK, I will do it ASAP
Comment 13 ooo 2007-09-07 12:31:39 UTC
Comment 14 liujiaxiang 2007-09-11 03:04:59 UTC
@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.
Comment 15 ooo 2007-11-07 14:45:34 UTC
Comment 16 Martin Hollmichel 2008-01-25 17:16:32 UTC
set target to 3.0
Comment 17 Martin Hollmichel 2008-08-29 13:40:53 UTC
is there any progress ?
Comment 18 Rob Weir 2013-03-11 15:04:18 UTC
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:


Comment 19 Marcus 2017-05-20 11:08:39 UTC
Reset assigne to the default "".