• Armin Le Grand's avatar
    Resolves: #i120106# implement a SwPosFlyFrms which avoids memory leaks · 72e54b69
    Armin Le Grand yazdı
    Use boost::shared_ptr and stl tools to implement a SwPosFlyFrms which can be
    used and handed over by value and cleans up it's content to avoid memory leaks.
    
    Found by: Chao Huang
    Patch by: Chao Huang, alg
    Review by: Chao Huang, alg
    
    (cherry picked from commit c26f80aa)
    
    Conflicts:
    	sw/inc/doc.hxx
    	sw/inc/flypos.hxx
    	sw/source/core/doc/doclay.cxx
    	sw/source/core/layout/flypos.cxx
    	sw/source/core/unocore/unoobj2.cxx
    	sw/source/filter/html/htmlfly.cxx
    	sw/source/filter/ww8/writerhelper.cxx
    
    Change-Id: If610457654b1056d799d4336cd249815f7878a96
    
    Fix build breaker from i120106
    
    Patch by: Chao Huang
    Suggested by: alg
    
    (cherry picked from commit 880aadbe)
    
    Conflicts:
    	sw/source/filter/ww8/writerhelper.cxx
    
    Change-Id: I516fcb6ee69944c54cc9eb76c069eb8b28749050
    72e54b69
flypos.hxx 2.19 KB