writer.cxx (37adc4f0) | writer.cxx (0848378b) |
---|---|
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 --- 196 unchanged lines hidden (view full) --- 205 206void Writer::sendRequest( 207 rtl::ByteSequence const & tid, rtl::OUString const & oid, 208 css::uno::TypeDescription const & type, 209 css::uno::TypeDescription const & member, 210 std::vector< BinaryAny > const & inArguments, bool currentContextMode, 211 css::uno::UnoInterfaceReference const & currentContext) 212{ | 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 --- 196 unchanged lines hidden (view full) --- 205 206void Writer::sendRequest( 207 rtl::ByteSequence const & tid, rtl::OUString const & oid, 208 css::uno::TypeDescription const & type, 209 css::uno::TypeDescription const & member, 210 std::vector< BinaryAny > const & inArguments, bool currentContextMode, 211 css::uno::UnoInterfaceReference const & currentContext) 212{ |
213 OSL_ASSERT(tid.getLength() != 0 && oid.getLength() != 0 && member.is()); | 213 OSL_ASSERT(tid.getLength() != 0 && !oid.isEmpty() && member.is()); |
214 css::uno::TypeDescription t(type); 215 sal_Int32 functionId = 0; 216 bool forceSynchronous = false; 217 member.makeComplete(); 218 switch (member.get()->eTypeClass) { 219 case typelib_TypeClass_INTERFACE_ATTRIBUTE: 220 { 221 typelib_InterfaceAttributeTypeDescription * atd = --- 251 unchanged lines hidden --- | 214 css::uno::TypeDescription t(type); 215 sal_Int32 functionId = 0; 216 bool forceSynchronous = false; 217 member.makeComplete(); 218 switch (member.get()->eTypeClass) { 219 case typelib_TypeClass_INTERFACE_ATTRIBUTE: 220 { 221 typelib_InterfaceAttributeTypeDescription * atd = --- 251 unchanged lines hidden --- |