MyProtocolHandler.cxx (6b3ad84f) | MyProtocolHandler.cxx (61161268) |
---|---|
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 --- 44 unchanged lines hidden (view full) --- 53 mxToolkit = Reference< XToolkit > ( mxMSF->createInstance( 54 ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.Toolkit" ))), UNO_QUERY ); 55 56 Reference< XMessageBoxFactory > xMsgBoxFactory( mxToolkit, UNO_QUERY ); 57 if ( rFrame.is() && xMsgBoxFactory.is() ) 58 { 59 Reference< XMessageBox > xMsgBox = xMsgBoxFactory->createMessageBox( 60 Reference< XWindowPeer >( rFrame->getContainerWindow(), UNO_QUERY ), | 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 --- 44 unchanged lines hidden (view full) --- 53 mxToolkit = Reference< XToolkit > ( mxMSF->createInstance( 54 ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.Toolkit" ))), UNO_QUERY ); 55 56 Reference< XMessageBoxFactory > xMsgBoxFactory( mxToolkit, UNO_QUERY ); 57 if ( rFrame.is() && xMsgBoxFactory.is() ) 58 { 59 Reference< XMessageBox > xMsgBox = xMsgBoxFactory->createMessageBox( 60 Reference< XWindowPeer >( rFrame->getContainerWindow(), UNO_QUERY ), |
61 Rectangle(0,0,300,200), 62 rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "infobox" ) ), | 61 com::sun::star::awt::MessageBoxType_INFOBOX, |
63 MessageBoxButtons::BUTTONS_OK, 64 aTitle, 65 aMsgText ); 66 67 if ( xMsgBox.is() ) 68 xMsgBox->execute(); 69 } 70} --- 449 unchanged lines hidden --- | 62 MessageBoxButtons::BUTTONS_OK, 63 aTitle, 64 aMsgText ); 65 66 if ( xMsgBox.is() ) 67 xMsgBox->execute(); 68 } 69} --- 449 unchanged lines hidden --- |