txtftn.cxx (efeef26f) txtftn.cxx (de739a45)
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

--- 284 unchanged lines hidden (view full) ---

293{
294 ASSERT( ! IsVertical() || ! IsSwapped(),
295 "SwTxtFrm::GetFtnLine with swapped frame" )
296
297 SwTxtFrm *pThis = (SwTxtFrm*)this;
298
299 if( !HasPara() )
300 {
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

--- 284 unchanged lines hidden (view full) ---

293{
294 ASSERT( ! IsVertical() || ! IsSwapped(),
295 "SwTxtFrm::GetFtnLine with swapped frame" )
296
297 SwTxtFrm *pThis = (SwTxtFrm*)this;
298
299 if( !HasPara() )
300 {
301 // #109071# GetFormatted() does not work here, bacause most probably
301 // #109071# GetFormatted() does not work here, because most probably
302 // the frame is currently locked. We return the previous value.
303 return pThis->mnFtnLine > 0 ?
304 pThis->mnFtnLine :
305 IsVertical() ? Frm().Left() : Frm().Bottom();
306 }
307
308 SWAP_IF_NOT_SWAPPED( this )
309

--- 1387 unchanged lines hidden ---
302 // the frame is currently locked. We return the previous value.
303 return pThis->mnFtnLine > 0 ?
304 pThis->mnFtnLine :
305 IsVertical() ? Frm().Left() : Frm().Bottom();
306 }
307
308 SWAP_IF_NOT_SWAPPED( this )
309

--- 1387 unchanged lines hidden ---