corbamaker.cxx (d0626817) | corbamaker.cxx (9d8e7fba) |
---|---|
1/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ 2/************************************************************** 3 * 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 153 unchanged lines hidden (view full) --- 162 { 163 // produce this type and his scope, but the scope is not recursively generated. 164 if (typeName.equals("*")) 165 { 166 tmpName = "/"; 167 } else 168 { 169 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); | 1/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ 2/************************************************************** 3 * 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 153 unchanged lines hidden (view full) --- 162 { 163 // produce this type and his scope, but the scope is not recursively generated. 164 if (typeName.equals("*")) 165 { 166 tmpName = "/"; 167 } else 168 { 169 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); |
170 if (tmpName.getLength() == 0) | 170 if ( tmpName.isEmpty() ) |
171 tmpName = "/"; 172 else 173 tmpName.replace('.', '/'); 174 } 175 ret = produceAllTypes(tmpName, typeMgr, typeDependencies, &options, sal_False, cppFile, NULL, &generatedConversion); 176 } else 177 { 178 // produce only this type --- 56 unchanged lines hidden --- | 171 tmpName = "/"; 172 else 173 tmpName.replace('.', '/'); 174 } 175 ret = produceAllTypes(tmpName, typeMgr, typeDependencies, &options, sal_False, cppFile, NULL, &generatedConversion); 176 } else 177 { 178 // produce only this type --- 56 unchanged lines hidden --- |