filenotation.cxx (40df464e) filenotation.cxx (fb0b81f5)
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

--- 97 unchanged lines hidden (view full) ---

106 break;
107
108 case INET_PROT_NOT_VALID:
109 // assume system notation
110 bSuccess = implInitWithSystemNotation( _rUrlOrPath );
111 break;
112
113 default:
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

--- 97 unchanged lines hidden (view full) ---

106 break;
107
108 case INET_PROT_NOT_VALID:
109 // assume system notation
110 bSuccess = implInitWithSystemNotation( _rUrlOrPath );
111 break;
112
113 default:
114 // it's a known scheme, but no file-URL -> assume that bothe the URL representation and the
114 // it's a known scheme, but no file-URL -> assume that both the URL representation and the
115 // system representation are the URL itself
116 m_sSystem = m_sFileURL = _rUrlOrPath;
117 bSuccess = true;
118 break;
119 }
120
121 OSL_ENSURE( bSuccess, "OFileNotation::OFileNotation: could not detect the format!" );
122 }

--- 18 unchanged lines hidden ---
115 // system representation are the URL itself
116 m_sSystem = m_sFileURL = _rUrlOrPath;
117 bSuccess = true;
118 break;
119 }
120
121 OSL_ENSURE( bSuccess, "OFileNotation::OFileNotation: could not detect the format!" );
122 }

--- 18 unchanged lines hidden ---