except.cxx (61dff127) | except.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 --- 63 unchanged lines hidden (view full) --- 72 const sal_Char* pRTTI = rRTTIname.getStr(); 73 const sal_Char* pOrg = pRTTI; 74 const sal_Char* pLast = pRTTI; 75 76 while( 1 ) 77 { 78 if( *pRTTI == ':' || ! *pRTTI ) 79 { | 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 --- 63 unchanged lines hidden (view full) --- 72 const sal_Char* pRTTI = rRTTIname.getStr(); 73 const sal_Char* pOrg = pRTTI; 74 const sal_Char* pLast = pRTTI; 75 76 while( 1 ) 77 { 78 if( *pRTTI == ':' || ! *pRTTI ) 79 { |
80 if( aRet.getLength() ) | 80 if( !aRet.isEmpty() ) |
81 aRet += "."; 82 aRet += rRTTIname.copy( pLast - pOrg, pRTTI - pLast ); 83 while( *pRTTI == ':' ) 84 pRTTI++; 85 pLast = pRTTI; 86 if( ! *pRTTI ) 87 break; 88 } --- 17 unchanged lines hidden (view full) --- 106 } while( nIndex != -1 ); 107 108 return aRet.makeStringAndClear(); 109} 110//================================================================================================== 111 112static OString toRTTImangledname( const OString & rRTTIname ) 113{ | 81 aRet += "."; 82 aRet += rRTTIname.copy( pLast - pOrg, pRTTI - pLast ); 83 while( *pRTTI == ':' ) 84 pRTTI++; 85 pLast = pRTTI; 86 if( ! *pRTTI ) 87 break; 88 } --- 17 unchanged lines hidden (view full) --- 106 } while( nIndex != -1 ); 107 108 return aRet.makeStringAndClear(); 109} 110//================================================================================================== 111 112static OString toRTTImangledname( const OString & rRTTIname ) 113{ |
114 if( ! rRTTIname.getLength() ) | 114 if( rRTTIname.isEmpty() ) |
115 return OString(); 116 117 OStringBuffer aRet( rRTTIname.getLength()*2 ); 118 119 aRet.append( "__1n" ); 120 sal_Int32 nIndex = 0; 121 do 122 { --- 319 unchanged lines hidden --- | 115 return OString(); 116 117 OStringBuffer aRet( rRTTIname.getLength()*2 ); 118 119 aRet.append( "__1n" ); 120 sal_Int32 nIndex = 0; 121 do 122 { --- 319 unchanged lines hidden --- |