svxpixelctlaccessiblecontext.cxx (4d7c9de0) svxpixelctlaccessiblecontext.cxx (86e1cf34)
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

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

1251 // no ThrowExceptionIfNotAlive() because its done in GetBoundingBox()
1252 Rectangle aRect( GetBoundingBox() );
1253
1254 return Rectangle( mrParentWindow->OutputToAbsoluteScreenPixel( aRect.TopLeft() ), aRect.GetSize() );
1255}
1256
1257Rectangle SvxPixelCtlAccessibleChild::GetBoundingBox( void ) throw( RuntimeException )
1258{
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

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

1251 // no ThrowExceptionIfNotAlive() because its done in GetBoundingBox()
1252 Rectangle aRect( GetBoundingBox() );
1253
1254 return Rectangle( mrParentWindow->OutputToAbsoluteScreenPixel( aRect.TopLeft() ), aRect.GetSize() );
1255}
1256
1257Rectangle SvxPixelCtlAccessibleChild::GetBoundingBox( void ) throw( RuntimeException )
1258{
1259 // no guard neccessary, because no one changes mpBoundingBox after creating it
1259 // no guard necessary, because no one changes mpBoundingBox after creating it
1260 ThrowExceptionIfNotAlive();
1261
1262 return *mpBoundingBox;
1263}
1264
1265::rtl::OUString SvxPixelCtlAccessibleChild::GetName()
1266{
1267 sal_Int32 nXIndex = mnIndexInParent % mrParentWindow->GetLineCount();

--- 12 unchanged lines hidden ---
1260 ThrowExceptionIfNotAlive();
1261
1262 return *mpBoundingBox;
1263}
1264
1265::rtl::OUString SvxPixelCtlAccessibleChild::GetName()
1266{
1267 sal_Int32 nXIndex = mnIndexInParent % mrParentWindow->GetLineCount();

--- 12 unchanged lines hidden ---