_XComponentLoader.java (ef39d40d) _XComponentLoader.java (bb6af6bc)
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

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

130 oDoc = oObj.loadComponentFromURL(
131 "private:factory/smath", frameName, 0, szEmptyArgs );
132
133 log.println("disposing math doc");
134 oDoc.dispose();
135
136 }
137 catch (com.sun.star.lang.IllegalArgumentException e) {
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

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

130 oDoc = oObj.loadComponentFromURL(
131 "private:factory/smath", frameName, 0, szEmptyArgs );
132
133 log.println("disposing math doc");
134 oDoc.dispose();
135
136 }
137 catch (com.sun.star.lang.IllegalArgumentException e) {
138 log.println("Exception occured while loading");
138 log.println("Exception occurred while loading");
139 e.printStackTrace(log);
140 result=false;
141 }
142 catch (com.sun.star.io.IOException e) {
139 e.printStackTrace(log);
140 result=false;
141 }
142 catch (com.sun.star.io.IOException e) {
143 log.println("Exception occured while loading");
143 log.println("Exception occurred while loading");
144 e.printStackTrace(log);
145 result=false;
146 }
147
148 tRes.tested("loadComponentFromURL()", result);
149 return;
150 }
151
152}
153
144 e.printStackTrace(log);
145 result=false;
146 }
147
148 tRes.tested("loadComponentFromURL()", result);
149 return;
150 }
151
152}
153