idlmaker.cxx (ff7655f0) | idlmaker.cxx (9d8e7fba) |
---|---|
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 --- 122 unchanged lines hidden (view full) --- 131 { 132 // produce this type and his scope, but the scope is not recursively generated. 133 if (typeName.equals("*")) 134 { 135 tmpName = "/"; 136 } else 137 { 138 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); | 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 --- 122 unchanged lines hidden (view full) --- 131 { 132 // produce this type and his scope, but the scope is not recursively generated. 133 if (typeName.equals("*")) 134 { 135 tmpName = "/"; 136 } else 137 { 138 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); |
139 if (tmpName.getLength() == 0) | 139 if ( tmpName.isEmpty() ) |
140 tmpName = "/"; 141 else 142 tmpName.replace('.', '/'); 143 } 144 ret = produceAllTypes(tmpName, typeMgr, typeDependencies, &options, sal_False); 145 } else 146 { 147 // produce only this type --- 35 unchanged lines hidden --- | 140 tmpName = "/"; 141 else 142 tmpName.replace('.', '/'); 143 } 144 ret = produceAllTypes(tmpName, typeMgr, typeDependencies, &options, sal_False); 145 } else 146 { 147 // produce only this type --- 35 unchanged lines hidden --- |