• Michael Stahl's avatar
    fdo#78149: set the ViewPort even when painting to a MetaFile · aa68e130
    Michael Stahl yazdı
    ObjectContactOfPageView::DoProcessDisplay() has a special case for
    painting to MetaFiles, and does not set the ViewPort from the passed-in
    RedrawArea unless it's a printing or PDF export, with the result
    that for a plain MetaFile all fly-frames in a Writer document
    are painted, whether visible or not.
    
    Since e2eda70f now calls
    GetPreviewMetaFile() after every document load, this issue is more
    visible.
    
    Since there is no obvious reason to ever ignore a passed RedrawArea,
    simply always use it for the ViewPort, not just when printing.
    
    Change-Id: I256710f1476181f567069b45a2a494b0d2064d6b
    aa68e130
objectcontactofpageview.cxx 20.7 KB