PreviewCtrl.cxx (07a3d7f1) PreviewCtrl.cxx (437a6594)
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

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

221 catch( CPreviewException& )
222 {
223 OSL_ASSERT( !s_FilePreviewInst );
224 OSL_ENSURE( sal_False, "Creation of the preview window failed" );
225 }
226 catch( CAutoOleInit::COleInitException& )
227 {
228 OSL_ASSERT( !s_FilePreviewInst );
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

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

221 catch( CPreviewException& )
222 {
223 OSL_ASSERT( !s_FilePreviewInst );
224 OSL_ENSURE( sal_False, "Creation of the preview window failed" );
225 }
226 catch( CAutoOleInit::COleInitException& )
227 {
228 OSL_ASSERT( !s_FilePreviewInst );
229 OSL_ENSURE( sal_False, "OleInitalize failed" );
229 OSL_ENSURE( sal_False, "OleInitialize failed" );
230 }
231 }
232
233 return s_FilePreviewInst;
234}
235
236//---------------------------------------------------
237//

--- 374 unchanged lines hidden ---
230 }
231 }
232
233 return s_FilePreviewInst;
234}
235
236//---------------------------------------------------
237//

--- 374 unchanged lines hidden ---