accessibleruler.cxx (d3553c6b) | accessibleruler.cxx (4d7c9de0) |
---|---|
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 --- 480 unchanged lines hidden (view full) --- 489} 490 491Rectangle SvtRulerAccessible::GetBoundingBoxOnScreen( void ) throw( RuntimeException ) 492{ 493 ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 494 ::osl::MutexGuard aGuard( m_aMutex ); 495 496 ThrowExceptionIfNotAlive(); | 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 --- 480 unchanged lines hidden (view full) --- 489} 490 491Rectangle SvtRulerAccessible::GetBoundingBoxOnScreen( void ) throw( RuntimeException ) 492{ 493 ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 494 ::osl::MutexGuard aGuard( m_aMutex ); 495 496 ThrowExceptionIfNotAlive(); |
497//IAccessibility2 Implementation 2009----- | |
498 //the absolute on screen pixel is wrong 499 //return Rectangle( mpRepr->GetParent()->OutputToScreenPixel( mpRepr->GetPosPixel() ), mpRepr->GetSizePixel() ); 500 return Rectangle( mpRepr->GetParent()->OutputToAbsoluteScreenPixel( mpRepr->GetPosPixel() ), mpRepr->GetSizePixel() ); | 497 //the absolute on screen pixel is wrong 498 //return Rectangle( mpRepr->GetParent()->OutputToScreenPixel( mpRepr->GetPosPixel() ), mpRepr->GetSizePixel() ); 499 return Rectangle( mpRepr->GetParent()->OutputToAbsoluteScreenPixel( mpRepr->GetPosPixel() ), mpRepr->GetSizePixel() ); |
501//-----IAccessibility2 Implementation 2009 | |
502} 503 504Rectangle SvtRulerAccessible::GetBoundingBox( void ) throw( RuntimeException ) 505{ 506 ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 507 ::osl::MutexGuard aGuard( m_aMutex ); 508 509 ThrowExceptionIfNotAlive(); --- 38 unchanged lines hidden --- | 500} 501 502Rectangle SvtRulerAccessible::GetBoundingBox( void ) throw( RuntimeException ) 503{ 504 ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 505 ::osl::MutexGuard aGuard( m_aMutex ); 506 507 ThrowExceptionIfNotAlive(); --- 38 unchanged lines hidden --- |