vbacontrol.cxx (86e1cf34) | vbacontrol.cxx (d271d0d8) |
---|---|
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 --- 72 unchanged lines hidden (view full) --- 81 uno::Reference< view::XControlAccess > xControlAccess( m_xModel->getCurrentController(), uno::UNO_QUERY_THROW ); 82 try 83 { 84 uno::Reference< awt::XControl > xControl( xControlAccess->getControl( xControlModel ), uno::UNO_QUERY ); 85 xWinPeer = xControl->getPeer(); 86 } 87 catch( uno::Exception ) 88 { | 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 --- 72 unchanged lines hidden (view full) --- 81 uno::Reference< view::XControlAccess > xControlAccess( m_xModel->getCurrentController(), uno::UNO_QUERY_THROW ); 82 try 83 { 84 uno::Reference< awt::XControl > xControl( xControlAccess->getControl( xControlModel ), uno::UNO_QUERY ); 85 xWinPeer = xControl->getPeer(); 86 } 87 catch( uno::Exception ) 88 { |
89 throw uno::RuntimeException( rtl::OUString::createFromAscii( "The Control does not exsit" ), | 89 throw uno::RuntimeException( rtl::OUString::createFromAscii( "The Control does not exist" ), |
90 uno::Reference< uno::XInterface >() ); 91 } 92 return xWinPeer; 93} 94 95//ScVbaControlListener 96class ScVbaControlListener: public cppu::WeakImplHelper1< lang::XEventListener > 97{ --- 449 unchanged lines hidden --- | 90 uno::Reference< uno::XInterface >() ); 91 } 92 return xWinPeer; 93} 94 95//ScVbaControlListener 96class ScVbaControlListener: public cppu::WeakImplHelper1< lang::XEventListener > 97{ --- 449 unchanged lines hidden --- |