viewling.cxx (79aad27f) | viewling.cxx (8ef2f12b) |
---|---|
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 --- 612 unchanged lines hidden (view full) --- 621 AbstractThesaurusDialog *pDlg = NULL; 622 623 if ( !xThes.is() || !xThes->hasLocale( SvxCreateLocale( eLang ) ) ) 624 SpellError( &eLang ); 625 else 626 { 627 // create dialog 628 { //Scope for SwWait-Object | 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 --- 612 unchanged lines hidden (view full) --- 621 AbstractThesaurusDialog *pDlg = NULL; 622 623 if ( !xThes.is() || !xThes->hasLocale( SvxCreateLocale( eLang ) ) ) 624 SpellError( &eLang ); 625 else 626 { 627 // create dialog 628 { //Scope for SwWait-Object |
629 SwWait aWait( *GetDocShell(), sal_True ); | 629 SwWait aWait( *GetDocShell(), true ); |
630 // load library with dialog only on demand ... 631 SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); 632 pDlg = pFact->CreateThesaurusDialog( &GetEditWin(), xThes, aTmp, eLang ); 633 } 634 635 if ( pDlg->Execute()== RET_OK ) 636 InsertThesaurusSynonym( pDlg->GetWord(), aTmp, bSelection ); 637 } --- 364 unchanged lines hidden --- | 630 // load library with dialog only on demand ... 631 SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); 632 pDlg = pFact->CreateThesaurusDialog( &GetEditWin(), xThes, aTmp, eLang ); 633 } 634 635 if ( pDlg->Execute()== RET_OK ) 636 InsertThesaurusSynonym( pDlg->GetWord(), aTmp, bSelection ); 637 } --- 364 unchanged lines hidden --- |