Commits

mba  committed 408510b

CWS swlayoutrefactoring: conflict resolution after resync to DEV300_m96

  • Participants
  • Parent commits e550a3d

Comments (0)

Files changed (23)

File solenv/bin/build.pl

File contents unchanged.

File sw/inc/frmfmt.hxx

 
 #include <com/sun/star/text/PositionLayoutDir.hpp>
 #include <cppuhelper/weakref.hxx>
-<<<<<<< local
-=======
 #include <tools/gen.hxx>
-
->>>>>>> other
 #include <format.hxx>
 #include "swdllapi.h"
 

File sw/inc/printdata.hxx

 class SwViewOption;
 class OutputDevice;
 class SwViewOptionAdjust_Impl;
-<<<<<<< local
 class SwPrtOptions;
 class ViewShell;
-=======
-class SwWrtShell;
->>>>>>> other
 class SfxViewShell;
 
 // forward declarations
     void DeletePostItData();
 
     bool IsViewOptionAdjust() const  { return m_pViewOptionAdjust != 0; }
-<<<<<<< local
     bool NeedNewViewOptionAdjust( const ViewShell& ) const;
     void ViewOptionAdjustStart( ViewShell &rSh, const SwViewOption &rViewOptions );
-    void ViewOptionAdjust( const SwPrtOptions *pPrtOptions );
-=======
-    bool NeedNewViewOptionAdjust( const SwWrtShell& ) const;
-    void ViewOptionAdjustStart( SwWrtShell &rSh, const SwViewOption &rViewOptions );
-    void ViewOptionAdjust( SwPrintData const*const pPrtOptions );
->>>>>>> other
+    void ViewOptionAdjust( SwPrintData const* const pPrtOptions );
     void ViewOptionAdjustStop();
 
     bool HasSwPrtOptions() const    { return m_pPrtOptions != 0; }

File sw/inc/unotxdoc.hxx

 class SwPrintUIOptions;
 class SwPrintData;
 class SwRenderData;
-<<<<<<< local
-class SwPrtOptions;
 class ViewShell;
-=======
-class SwWrtShell;
->>>>>>> other
-
 
 typedef UnoActionContext* UnoActionContextPtr;
 SV_DECL_PTRARR(ActionContextArr, UnoActionContextPtr, 4, 4)
 public:
     SwViewOptionAdjust_Impl( ViewShell& rSh, const SwViewOption &rViewOptions );
     ~SwViewOptionAdjust_Impl();
-<<<<<<< local
-    
-    void AdjustViewOptions( const SwPrtOptions *pPrtOptions );
-    
+    void AdjustViewOptions( SwPrintData const* const pPrtOptions );  
     bool checkShell( const ViewShell& rCompare ) const
-=======
-
-    void AdjustViewOptions( SwPrintData const*const pPrtOptions );
-
-    bool checkShell( const SwWrtShell& rCompare ) const
->>>>>>> other
     { return &rCompare == &m_rShell; } 
 };
 

File sw/sdi/_docsh.sdi

         StateMethod = GetState ;
     ]
 
-<<<<<<< local
-=======
-    SID_BROWSER_MODE
-    [
-        ExecMethod = Execute;
-        StateMethod = GetState;
-    ]
-
-    FN_PRINT_LAYOUT
-    [
-        ExecMethod = Execute;
-        StateMethod = GetState;
-    ]
     SID_MAIL_PREPAREEXPORT
     [
         ExecMethod = Execute ;
         StateMethod = GetState;
     ]
->>>>>>> other
 }
 
 

File sw/source/core/draw/dview.cxx

 		pTmpRoot->EndAllAction();	//swmod 080218
 }
 
-<<<<<<< local
-=======
-/********
-JP 02.10.98: sollte als Fix fuer 57153 gelten, hatte aber Nebenwirkungen,
-			wie Bug 57475
-const SdrMarkList& SwDrawView::GetMarkedObjectList() const
-{
-	FlushComeBackTimer();
-    return FmFormView::GetMarkedObjectList();
-}
-*************/
-
-
-
->>>>>>> other

File sw/source/core/edit/edfld.cxx

 
     SwFieldHint aHint( pPaM );
 	SwClientIter aIter( *pType );
-<<<<<<< local
     for ( SwClient* pClient = aIter.GoStart(); pClient; aIter++ )
     {
         pPaM->DeleteMark();
         pClient->SwClientNotifyCall( *pType, aHint );
  	}
-=======
-	SwClient * pLast = aIter.GoStart();
-
-	if( pLast ) 	// konnte zum Anfang gesprungen werden ??
-		do {
-			pPaM->DeleteMark();
-			const SwFmtFld* pFmtFld = bDDEFld
-						? PTR_CAST( SwFmtFld, pLast )
-						: (SwFmtFld*)pLast;
-
-			if( pFmtFld )
-			{
-				if( !pFmtFld->GetTxtFld() )
-					continue;
-
-				// kann keine DDETabelle sein
-				const SwTxtNode& rTxtNode = pFmtFld->GetTxtFld()->GetTxtNode();
-				pPaM->GetPoint()->nNode = rTxtNode;
-				pPaM->GetPoint()->nContent.Assign( (SwTxtNode*)&rTxtNode,
-									 *pFmtFld->GetTxtFld()->GetStart() );
-
-				// Feldinhalt durch Text ersetzen
-                String const aEntry( pFmtFld->GetFld()->ExpandField(true) );
-				pPaM->SetMark();
-				pPaM->Move( fnMoveForward );
-                GetDoc()->DeleteRange( *pPaM );
-                GetDoc()->InsertString( *pPaM, aEntry );
-			}
-			else if( bDDEFld )
-			{
-				// DDETabelle
-				SwDepend* pDep = (SwDepend*)pLast;
-				SwDDETable* pDDETbl = (SwDDETable*)pDep->GetToTell();
-				pDDETbl->NoDDETable();
-			}
-
-		} while( 0 != ( pLast = aIter++ ));
->>>>>>> other
 
 	Pop( FALSE );
 	EndAllAction();

File sw/source/core/fields/dbfld.cxx

 #include <expfld.hxx>
 #include <txtatr.hxx>
 #include <unofldmid.h>
-<<<<<<< local
 #include <switerator.hxx>
-=======
-
->>>>>>> other
 
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star;

File sw/source/core/fields/tblcalc.cxx

 #include <expfld.hxx>
 #include <docfld.hxx> 	// fuer _SetGetExpFld
 #include <unofldmid.h>
-<<<<<<< local
-=======
-
->>>>>>> other
 
 using namespace ::com::sun::star;
 using ::rtl::OUString;

File sw/source/core/frmedt/feshview.cxx

 #include <editeng/protitem.hxx>
 #include <svx/svdpage.hxx>
 #include <svx/svdpagv.hxx>
-<<<<<<< local
-=======
-
 #include <IDocumentSettingAccess.hxx>
 #include <cmdid.h>
->>>>>>> other
 #include <poolfmt.hrc>      // fuer InitFldTypes
 #include <frmfmt.hxx>
 #include <frmatr.hxx>

File sw/source/core/frmedt/tblsel.cxx

 #include <mvsave.hxx>
 #include <sectfrm.hxx>
 #include <frmtool.hxx>
-<<<<<<< local
 #include <switerator.hxx>
-=======
 #include <deque>
->>>>>>> other
 
 //siehe auch swtable.cxx
 #define COLFUZZY 20L

File sw/source/core/inc/cellfrm.hxx

 	~SwCellFrm();
 
     virtual BOOL GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState* = 0 ) const;
-<<<<<<< local
-    virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
-=======
-    virtual void Modify( SfxPoolItem*, SfxPoolItem* );
-    virtual void Paint( SwRect const&,
-                        SwPrintData const*const pPrintData = NULL ) const;
->>>>>>> other
+    virtual void Paint( SwRect const&, SwPrintData const*const pPrintData = NULL ) const;
     virtual void CheckDirection( BOOL bVert );
 
     // --> OD 2010-02-17 #i103961#

File sw/source/core/inc/flyfrm.hxx

 #define SW_FLYFRM_HXX
 
 #include "layfrm.hxx"
-<<<<<<< local
 #include <list>
-=======
 #include "frmfmt.hxx"
->>>>>>> other
 
 class SwPageFrm;
 class SwFmtFrmSize;
         @author OD
     */
     virtual bool IsFormatPossible() const;
-<<<<<<< local
     static void GetAnchoredObjects( std::list<SwAnchoredObject*>&, const SwFmt& rFmt );
-=======
 
     // overwriting "SwFrmFmt *SwLayoutFrm::GetFmt" to provide the correct derived return type.
     // (This is in order to skip on the otherwise necessary casting of the result to 
     // 'SwFlyFrmFmt *' after calls to this function. The casting is now done in this function.)
     virtual const SwFlyFrmFmt *GetFmt() const;
     virtual       SwFlyFrmFmt *GetFmt();
->>>>>>> other
 };
 #endif

File sw/source/core/inc/frame.hxx

 class SwSelectionList;
 struct SwPosition;
 struct SwCrsrMoveState;
-<<<<<<< local
-class SwPrtOptions;
 class SwFmt;
-=======
 class SwPrintData;
-
-// --> OD 2004-07-06 #i28701#
->>>>>>> other
 class SwSortedObjs;
 class SwAnchoredObject;
 

File sw/source/core/inc/notxtfrm.hxx

 	SwNoTxtFrm( SwNoTxtNode * const, SwFrm* );
 	~SwNoTxtFrm();
 
-<<<<<<< local
-	virtual void Paint(const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
-=======
-	virtual void Modify( SfxPoolItem*, SfxPoolItem* );
     virtual void Paint( SwRect const&,
                         SwPrintData const*const pPrintData = NULL ) const;
->>>>>>> other
 	virtual BOOL GetCharRect( SwRect &, const SwPosition&,
 							  SwCrsrMoveState* = 0) const;
 	BOOL GetCrsrOfst(SwPosition* pPos, Point& aPoint,

File sw/source/core/inc/txtfrm.hxx

 
 	void   PaintExtraData( const SwRect & rRect ) const; //Seitennummer usw.
 	SwRect Paint();
-<<<<<<< local
-	virtual void Paint( const SwRect &, const SwPrtOptions *pPrintData = NULL ) const;
-=======
     virtual void Paint( SwRect const&,
                         SwPrintData const*const pPrintData = NULL ) const;
-	virtual void Modify( SfxPoolItem*, SfxPoolItem* );
->>>>>>> other
 	virtual sal_Bool GetInfo( SfxPoolItem & ) const;
 
 	//Layoutorientiertes Cursortravelling: Linker, rechter Rand,

File sw/source/core/layout/fly.cxx

            !IsLocked() && !IsColLocked();
 }
 
-<<<<<<< local
 void SwFlyFrm::GetAnchoredObjects( std::list<SwAnchoredObject*>& aList, const SwFmt& rFmt )
-=======
-const SwFlyFrmFmt * SwFlyFrm::GetFmt() const
->>>>>>> other
 {
-<<<<<<< local
     SwIterator<SwFlyFrm,SwFmt> aIter( rFmt );
     for( SwFlyFrm* pFlyFrm = aIter.First(); pFlyFrm; pFlyFrm = aIter.Next() )
         aList.push_back( pFlyFrm );
-=======
+}
+
+const SwFlyFrmFmt * SwFlyFrm::GetFmt() const
+{
     return static_cast< const SwFlyFrmFmt * >( GetDep() );
 }
     
 SwFlyFrmFmt * SwFlyFrm::GetFmt()
 {
     return static_cast< SwFlyFrmFmt * >( GetDep() );
->>>>>>> other
 }
 

File sw/source/core/layout/paintfrm.cxx

 #include "precompiled_sw.hxx"
 
 #include <com/sun/star/text/HoriOrientation.hpp>
-<<<<<<< local
 #include <hintids.hxx>
-=======
-
->>>>>>> other
 #include <vcl/sound.hxx>
 #include <tools/poly.hxx>
 #define _SVSTDARR_LONGS
 #include <editeng/boxitem.hxx>
 #include <editeng/shaditem.hxx>
 #include <svx/framelink.hxx>
-<<<<<<< local
-=======
-// <--
->>>>>>> other
 #include <vcl/graph.hxx>
 #include <svx/svdpagv.hxx>
-
 #include <hintids.hxx>
 #include <tgrditem.hxx>
-<<<<<<< local
 #include <switerator.hxx>
-=======
->>>>>>> other
 #include <fmtsrnd.hxx>
 #include <fmtclds.hxx>
 #include <tools/shl.hxx>
 #include <lineinfo.hxx>
 #include <dbg_lay.hxx>
 #include <accessibilityoptions.hxx>
-<<<<<<< local
-=======
-// OD 20.12.2002 #94627#
->>>>>>> other
 #include <docsh.hxx>
-<<<<<<< local
-=======
-// OD 28.02.2003 #b4779636#, #107692#
->>>>>>> other
 #include <swtable.hxx>
 #include <svx/svdogrp.hxx>
 #include <sortedobjs.hxx>

File sw/source/core/txtnode/ndtxt.cxx

 	}
 	SetInSwFntCache( FALSE );
 
-<<<<<<< local
-
-	SvxLRSpaceItem& rLR = (SvxLRSpaceItem&)GetSwAttrSet().GetLRSpace();
-	NotifyClients( &rLR, &rLR );
-=======
     // Sending "noop" modify in order to cause invalidations of registered
     // <SwTxtFrm> instances to get the list style change respectively the change 
     // in the list tree reflected in the layout.
     // Important note: 
     {
         SvxLRSpaceItem& rLR = (SvxLRSpaceItem&)GetSwAttrSet().GetLRSpace();
-        SwModify::Modify( &rLR, &rLR );
+        NotifyClients( &rLR, &rLR );
     }
->>>>>>> other
 }
 
 // -> #i27615#

File sw/source/core/unocore/unotbl.cxx

 		rDoc.SetAttr( aSet, *rTbl.GetFrmFmt() );
 	}
 }
-<<<<<<< local
-=======
-/* -----------------------------10.03.00 18:02--------------------------------
->>>>>>> other
-
-<<<<<<< local
-SwXTextTable* SwXTextTable::GetImplementation(uno::Reference< XInterface> xRef )
-{
-	uno::Reference<lang::XUnoTunnel> xTunnel( xRef, uno::UNO_QUERY);
-	if(xTunnel.is())
-		return reinterpret_cast< SwXTextTable * >(
-				sal::static_int_cast< sal_IntPtr >( xTunnel->getSomething(SwXTextTable::getUnoTunnelId()) ));
-	return 0;
-}
-
-=======
- ---------------------------------------------------------------------------*/
->>>>>>> other
+
 const uno::Sequence< sal_Int8 > & SwXTextTable::getUnoTunnelId()
 {
     static uno::Sequence< sal_Int8 > aSeq = ::CreateUnoTunnelId();

File sw/source/core/view/vprint.cxx

 
 /******************************************************************************/
 
-<<<<<<< local
-SwDoc * ViewShell::CreatePrtDoc( SfxObjectShellRef &rDocShellRef)
-{
-    ASSERT( this->IsA( TYPE(SwFEShell) ),"ViewShell::Prt for FEShell only");
-    SwFEShell* pFESh = (SwFEShell*)this;
-    // Wir bauen uns ein neues Dokument
-    SwDoc *pPrtDoc = new SwDoc;
-    pPrtDoc->acquire();
-    pPrtDoc->SetRefForDocShell( (SfxObjectShellRef*)&(long&)rDocShellRef );
-    pPrtDoc->LockExpFlds();
-
-    const SfxPoolItem* pCpyItem;
-    const SfxItemPool& rPool = GetAttrPool();
-    for( USHORT nWh = POOLATTR_BEGIN; nWh < POOLATTR_END; ++nWh )
-        if( 0 != ( pCpyItem = rPool.GetPoolDefaultItem( nWh ) ) )
-            pPrtDoc->GetAttrPool().SetPoolDefaultItem( *pCpyItem );
-
-    // JP 29.07.99 - Bug 67951 - set all Styles from the SourceDoc into
-    //                              the PrintDoc - will be replaced!
-    pPrtDoc->ReplaceStyles( *GetDoc() );
-
-    SwShellCrsr *pActCrsr = pFESh->_GetCrsr();
-    SwShellCrsr *pFirstCrsr = dynamic_cast<SwShellCrsr*>(pActCrsr->GetNext());
-    if( !pActCrsr->HasMark() ) // bei Multiselektion kann der aktuelle Cursor leer sein
-    {
-        pActCrsr = dynamic_cast<SwShellCrsr*>(pActCrsr->GetPrev());
-    }
-
-    Point aSelPoint;
-    if( pFESh->IsTableMode() )
-    {
-        SwShellTableCrsr* pShellTblCrsr = pFESh->GetTableCrsr();
-        
-        const SwCntntNode* pCntntNode = pShellTblCrsr->GetNode()->GetCntntNode();
-        const SwCntntFrm *pCntntFrm = pCntntNode ? pCntntNode->getLayoutFrm( GetLayout(), 0, pShellTblCrsr->Start() ) : 0;
-        if( pCntntFrm )
-        {
-            SwRect aCharRect;
-            SwCrsrMoveState aTmpState( MV_NONE );
-            pCntntFrm->GetCharRect( aCharRect, *pShellTblCrsr->Start(), &aTmpState );
-            aSelPoint = Point( aCharRect.Left(), aCharRect.Top() );
-        }
-    }
-    else
-    {
-       aSelPoint = pFirstCrsr->GetSttPos();
-    }
-
-    const SwPageFrm* pPage = GetLayout()->GetPageAtPos( aSelPoint );
-    ASSERT( pPage, "no page found!" );
-
-    // get page descriptor - fall back to the first one if pPage could not be found
-    const SwPageDesc* pPageDesc = pPage ? pPrtDoc->FindPageDescByName(
-        pPage->GetPageDesc()->GetName() ) : &pPrtDoc->_GetPageDesc( (sal_uInt16)0 );
-
-    if( !pFESh->IsTableMode() && pActCrsr->HasMark() )
-    {   // Am letzten Absatz die Absatzattribute richten:
-        SwNodeIndex aNodeIdx( *pPrtDoc->GetNodes().GetEndOfContent().StartOfSectionNode() );
-        SwTxtNode* pTxtNd = pPrtDoc->GetNodes().GoNext( &aNodeIdx )->GetTxtNode();
-        SwCntntNode *pLastNd =
-            pActCrsr->GetCntntNode( (*pActCrsr->GetMark()) <= (*pActCrsr->GetPoint()) );
-        // Hier werden die Absatzattribute des ersten Absatzes uebertragen
-        if( pLastNd && pLastNd->IsTxtNode() )
-            ((SwTxtNode*)pLastNd)->CopyCollFmt( *pTxtNd );
-    }
-
-    // es wurde in der CORE eine neu angelegt (OLE-Objekte kopiert!)
-//      if( aDocShellRef.Is() )
-//          SwDataExchange::InitOle( aDocShellRef, pPrtDoc );
-    // und fuellen es mit dem selektierten Bereich
-    pFESh->Copy( pPrtDoc );
-
-    //Jetzt noch am ersten Absatz die Seitenvorlage setzen
-    {
-        SwNodeIndex aNodeIdx( *pPrtDoc->GetNodes().GetEndOfContent().StartOfSectionNode() );
-        SwCntntNode* pCNd = pPrtDoc->GetNodes().GoNext( &aNodeIdx ); // gehe zum 1. ContentNode
-        if( pFESh->IsTableMode() )
-        {
-            SwTableNode* pTNd = pCNd->FindTableNode();
-            if( pTNd )
-                pTNd->GetTable().GetFrmFmt()->SetFmtAttr( SwFmtPageDesc( pPageDesc ) );
-        }
-        else
-        {
-            pCNd->SetAttr( SwFmtPageDesc( pPageDesc ) );
-            if( pFirstCrsr->HasMark() )
-            {
-                SwTxtNode *pTxtNd = pCNd->GetTxtNode();
-                if( pTxtNd )
-                {
-                    SwCntntNode *pFirstNd =
-                        pFirstCrsr->GetCntntNode( (*pFirstCrsr->GetMark()) > (*pFirstCrsr->GetPoint()) );
-                    // Hier werden die Absatzattribute des ersten Absatzes uebertragen
-                    if( pFirstNd && pFirstNd->IsTxtNode() )
-                        ((SwTxtNode*)pFirstNd)->CopyCollFmt( *pTxtNd );
-                }
-            }
-        }
-    }
-    return pPrtDoc;
-}
-
-=======
->>>>>>> other
 SwDoc * ViewShell::FillPrtDoc( SwDoc *pPrtDoc, const SfxPrinter* pPrt)
 {
     ASSERT( this->IsA( TYPE(SwFEShell) ),"ViewShell::Prt for FEShell only");
     pOutDevDoc = GetDoc();
     pShell = new ViewShell( *this, 0, pOutDev );
 
-<<<<<<< local
-    // PDF export for (multi-)selection has already generated a temporary document
-    // with the selected text. (see XRenderable implementation in unotxdoc.cxx)
-    // Thus we like to go in the 'else' part here in that case.
-    // Is is implemented this way because PDF export calls this Prt function
-    // once per page and we do not like to always have the temporary document
-    // to be created that often here in the 'then' part.
-    if ( bSelection )
-	{
-        pOutDevDoc = CreatePrtDoc( aDocShellRef );
-
-		// eine ViewShell darauf
-        pShell = new ViewShell( *pOutDevDoc, 0, pOpt, pOutDev );
-        pOutDevDoc->SetRefForDocShell( 0 );
-	}
-	else
-	{
-        pOutDevDoc = GetDoc();
-        pShell = new ViewShell( *this, 0, pOutDev, VSHELLFLAG_SHARELAYOUT );
-	}
-    
-=======
->>>>>>> other
     SdrView *pDrawView = pShell->GetDrawView();
     if (pDrawView)
     {

File sw/source/ui/app/docsh2.cxx

 				SW_MOD()->CheckSpellChanges(FALSE, TRUE, TRUE, FALSE );
 			break;
 
-<<<<<<< local
-        case SID_MAIL_EXPORT_FINISHED:
-=======
-			case SID_BROWSER_MODE:
-			case FN_PRINT_LAYOUT:	//Fuer Web, genau umgekehrt zum BrowserMode
-			{
-				int eState = STATE_TOGGLE;
-                BOOL bSet = sal_True;
-				const SfxPoolItem* pAttr=NULL;
-				if ( pArgs && SFX_ITEM_SET == pArgs->GetItemState( nWhich , FALSE, &pAttr ))
-				{
-					bSet = ((SfxBoolItem*)pAttr)->GetValue();
-					if ( nWhich == FN_PRINT_LAYOUT )
-						bSet = !bSet;
-					eState = bSet ? STATE_ON : STATE_OFF;
-				}
-
-				if ( STATE_TOGGLE == eState )
-					bSet = !GetDoc()->get(IDocumentSettingAccess::BROWSE_MODE);
-
-				ToggleBrowserMode(bSet, 0);
-
-				// OS: numerische Reihenfolge beachten!
-				static USHORT __READONLY_DATA aInva[] =
-									{
-                                        SID_NEWWINDOW,/*5620*/
-                                        SID_BROWSER_MODE, /*6313*/
-										SID_RULER_BORDERS, SID_RULER_PAGE_POS,
-										SID_ATTR_LONG_LRSPACE,
-										SID_HTML_MODE,
-										SID_RULER_PROTECT,
-										SID_AUTOSPELL_CHECK,
-										FN_RULER,      	/*20211*/
-                                        FN_VIEW_GRAPHIC,    /*20213*/
-										FN_VIEW_BOUNDS,   	/**/
-                                        FN_VIEW_FIELDS,     /*20215*/
-                                        FN_VLINEAL,             /*20216*/
-                                        FN_VSCROLLBAR,      /*20217*/
-                                        FN_HSCROLLBAR,      /*20218*/
-                                        FN_VIEW_META_CHARS, /**/
-										FN_VIEW_MARKS,     	/**/
-										FN_VIEW_FIELDNAME, 	/**/
-                                        FN_VIEW_TABLEGRID,  /*20227*/
-                                        FN_PRINT_LAYOUT, /*20237*/
-                                        FN_QRY_MERGE,   /*20364*/
-                                        0
-									};
-				// the view must not exist!
-				SfxViewFrame *pTmpFrm = SfxViewFrame::GetFirst( this );
-				if( pTmpFrm )
-					pTmpFrm->GetBindings().Invalidate( aInva );
-				if ( !pAttr )
-					rReq.AppendItem( SfxBoolItem( nWhich, bSet ) );
-				rReq.Done();
-			}
-			break;
-
         case SID_MAIL_PREPAREEXPORT:
         {
             //pWrtShell is not set in page preview
                 pWrtShell->EndAllAction();
         }
         break;
-          case SID_MAIL_EXPORT_FINISHED:
->>>>>>> other
+
+        case SID_MAIL_EXPORT_FINISHED:
         {
                 if(pWrtShell)
                     pWrtShell->StartAllAction();

File sw/source/ui/uno/unotxdoc.cxx

             m_pRenderData->SetSwPrtOptions( new SwPrintData );
             m_pRenderData->MakeSwPrtOptions( m_pRenderData->GetSwPrtOptionsRef(), pRenderDocShell,
                     m_pPrintUIOptions, m_pRenderData, bIsPDFExport );
-<<<<<<< local
                 
             if (pSwView)
-=======
-
-            if (pView->IsA(aSwViewTypeId))
->>>>>>> other
             {
                 // PDF export should not make use of the SwPrtOptions
                 const SwPrintData *pPrtOptions = (bIsPDFExport)