docxattributeoutput.cxx (86e1cf34) | docxattributeoutput.cxx (26ea3662) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1682 unchanged lines hidden (view full) --- 1691 case sw::Frame::eDrawing: 1692 { 1693 const SdrObject* pSdrObj = rFrame.GetFrmFmt().FindRealSdrObject(); 1694 if ( pSdrObj ) 1695 { 1696 bool bSwapInPage = false; 1697 if ( !pSdrObj->GetPage() ) 1698 { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1682 unchanged lines hidden (view full) --- 1691 case sw::Frame::eDrawing: 1692 { 1693 const SdrObject* pSdrObj = rFrame.GetFrmFmt().FindRealSdrObject(); 1694 if ( pSdrObj ) 1695 { 1696 bool bSwapInPage = false; 1697 if ( !pSdrObj->GetPage() ) 1698 { |
1699 if ( SdrModel* pModel = m_rExport.pDoc->GetDrawModel() ) | 1699 if ( SwDrawModel* pModel = m_rExport.pDoc->GetDrawModel() ) |
1700 { 1701 if ( SdrPage *pPage = pModel->GetPage( 0 ) ) 1702 { 1703 bSwapInPage = true; 1704 const_cast< SdrObject* >( pSdrObj )->SetPage( pPage ); 1705 } 1706 } 1707 } --- 1624 unchanged lines hidden --- | 1700 { 1701 if ( SdrPage *pPage = pModel->GetPage( 0 ) ) 1702 { 1703 bSwapInPage = true; 1704 const_cast< SdrObject* >( pSdrObj )->SetPage( pPage ); 1705 } 1706 } 1707 } --- 1624 unchanged lines hidden --- |