preview.cxx (4d7c9de0) preview.cxx (3ea0c3d5)
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

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

1476{
1477 com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> xAcc= GetAccessible(sal_False);
1478 if (xAcc.is())
1479 {
1480 return xAcc;
1481 }
1482 ScAccessibleDocumentPagePreview* pAccessible =
1483 new ScAccessibleDocumentPagePreview( GetAccessibleParentWindow()->GetAccessible(), pViewShell );
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

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

1476{
1477 com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> xAcc= GetAccessible(sal_False);
1478 if (xAcc.is())
1479 {
1480 return xAcc;
1481 }
1482 ScAccessibleDocumentPagePreview* pAccessible =
1483 new ScAccessibleDocumentPagePreview( GetAccessibleParentWindow()->GetAccessible(), pViewShell );
1484 //com::sun::star::uno::Reference < com::sun::star::accessibility::XAccessible > xAccessible = pAccessible;
1485 xAcc = pAccessible;
1486 SetAccessible(xAcc);
1487 pAccessible->Init();
1484 xAcc = pAccessible;
1485 SetAccessible(xAcc);
1486 pAccessible->Init();
1488 //return xAccessible;
1489 return xAcc;
1490}
1491// MT: Removed Windows::SwitchView() introduced with IA2 CWS.
1492// There are other notifications for this when the active view has chnaged, so please update the code to use that event mechanism
1493void ScPreview::SwitchView()
1494{
1495 if (!Application::IsAccessibilityEnabled())
1496 {

--- 52 unchanged lines hidden ---
1487 return xAcc;
1488}
1489// MT: Removed Windows::SwitchView() introduced with IA2 CWS.
1490// There are other notifications for this when the active view has chnaged, so please update the code to use that event mechanism
1491void ScPreview::SwitchView()
1492{
1493 if (!Application::IsAccessibilityEnabled())
1494 {

--- 52 unchanged lines hidden ---