aw083 #i105548# Added using the VOCRedirector inside pageobject content creation
This commit is contained in:
parent
12f9037a53
commit
3878d8a7a5
1 changed files with 7 additions and 0 deletions
|
@ -273,9 +273,16 @@ namespace sdr
|
|||
// init extractor, guarantee existance, set page there
|
||||
mpExtractor->SetStartPage(pPage);
|
||||
|
||||
// #i105548# also need to copy the VOCRedirector for sub-content creation
|
||||
mpExtractor->SetViewObjectContactRedirector(GetObjectContact().GetViewObjectContactRedirector());
|
||||
|
||||
// create page content
|
||||
xPageContent = mpExtractor->createPrimitive2DSequenceForPage(rDisplayInfo);
|
||||
|
||||
// #i105548# reset VOCRedirector to not accidentially have a pointer to a
|
||||
// temporary class, so calls to it are avoided safely
|
||||
mpExtractor->SetViewObjectContactRedirector(0);
|
||||
|
||||
// reset recursion flag
|
||||
bInCreatePrimitive2D = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue