eventqueue.cxx (70f497fb) | eventqueue.cxx (56b8eddc) |
---|---|
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 --- 243 unchanged lines hidden (view full) --- 252 catch( uno::Exception& ) 253 { 254 // catch anything here, we don't want 255 // to leave this scope under _any_ 256 // circumstance. Although, do _not_ 257 // reinsert an activity that threw 258 // once. 259 | 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 --- 243 unchanged lines hidden (view full) --- 252 catch( uno::Exception& ) 253 { 254 // catch anything here, we don't want 255 // to leave this scope under _any_ 256 // circumstance. Although, do _not_ 257 // reinsert an activity that threw 258 // once. 259 |
260 // NOTE: we explicitely don't catch(...) here, | 260 // NOTE: we explicitly don't catch(...) here, |
261 // since this will also capture segmentation 262 // violations and the like. In such a case, we 263 // still better let our clients now... 264 OSL_ENSURE( false, 265 rtl::OUStringToOString( 266 comphelper::anyToString( cppu::getCaughtException() ), 267 RTL_TEXTENCODING_UTF8 ).getStr() ); 268 } 269 catch( SlideShowException& ) 270 { 271 // catch anything here, we don't want 272 // to leave this scope under _any_ 273 // circumstance. Although, do _not_ 274 // reinsert an activity that threw 275 // once. 276 | 261 // since this will also capture segmentation 262 // violations and the like. In such a case, we 263 // still better let our clients now... 264 OSL_ENSURE( false, 265 rtl::OUStringToOString( 266 comphelper::anyToString( cppu::getCaughtException() ), 267 RTL_TEXTENCODING_UTF8 ).getStr() ); 268 } 269 catch( SlideShowException& ) 270 { 271 // catch anything here, we don't want 272 // to leave this scope under _any_ 273 // circumstance. Although, do _not_ 274 // reinsert an activity that threw 275 // once. 276 |
277 // NOTE: we explicitely don't catch(...) here, | 277 // NOTE: we explicitly don't catch(...) here, |
278 // since this will also capture segmentation 279 // violations and the like. In such a case, we 280 // still better let our clients now... 281 OSL_TRACE( "::presentation::internal::EventQueue: Event threw a SlideShowException, action might not have been fully performed" ); 282 } 283 } 284 else 285 { --- 46 unchanged lines hidden --- | 278 // since this will also capture segmentation 279 // violations and the like. In such a case, we 280 // still better let our clients now... 281 OSL_TRACE( "::presentation::internal::EventQueue: Event threw a SlideShowException, action might not have been fully performed" ); 282 } 283 } 284 else 285 { --- 46 unchanged lines hidden --- |