sequenceashashmap.cxx (dde7d3fa) | sequenceashashmap.cxx (49b34792) |
---|---|
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 --- 112 unchanged lines hidden (view full) --- 121 sal_Int32 i = 0; 122 123 for (i=0; i<c; ++i) 124 { 125 css::beans::PropertyValue lP; 126 if (lSource[i] >>= lP) 127 { 128 if ( | 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 --- 112 unchanged lines hidden (view full) --- 121 sal_Int32 i = 0; 122 123 for (i=0; i<c; ++i) 124 { 125 css::beans::PropertyValue lP; 126 if (lSource[i] >>= lP) 127 { 128 if ( |
129 (!lP.Name.getLength()) || | 129 (lP.Name.isEmpty()) || |
130 (!lP.Value.hasValue()) 131 ) 132 throw css::beans::IllegalTypeException( 133 ::rtl::OUString::createFromAscii("PropertyValue struct contains no usefull informations."), 134 css::uno::Reference< css::uno::XInterface >()); 135 (*this)[lP.Name] = lP.Value; 136 continue; 137 } 138 139 css::beans::NamedValue lN; 140 if (lSource[i] >>= lN) 141 { 142 if ( | 130 (!lP.Value.hasValue()) 131 ) 132 throw css::beans::IllegalTypeException( 133 ::rtl::OUString::createFromAscii("PropertyValue struct contains no usefull informations."), 134 css::uno::Reference< css::uno::XInterface >()); 135 (*this)[lP.Name] = lP.Value; 136 continue; 137 } 138 139 css::beans::NamedValue lN; 140 if (lSource[i] >>= lN) 141 { 142 if ( |
143 (!lN.Name.getLength()) || | 143 (lN.Name.isEmpty()) || |
144 (!lN.Value.hasValue()) 145 ) 146 throw css::beans::IllegalTypeException( 147 ::rtl::OUString::createFromAscii("NamedValue struct contains no usefull informations."), 148 css::uno::Reference< css::uno::XInterface >()); 149 (*this)[lN.Name] = lN.Value; 150 continue; 151 } --- 245 unchanged lines hidden --- | 144 (!lN.Value.hasValue()) 145 ) 146 throw css::beans::IllegalTypeException( 147 ::rtl::OUString::createFromAscii("NamedValue struct contains no usefull informations."), 148 css::uno::Reference< css::uno::XInterface >()); 149 (*this)[lN.Name] = lN.Value; 150 continue; 151 } --- 245 unchanged lines hidden --- |