Lines Matching refs:xStg
2250 …uno::Reference < embed::XStorage > xStg = comphelper::OStorageHelper::GetStorageFromURL( sShareAut… in LoadAutocorrWordList() local
2252 …uno::Reference < io::XStream > xStrm = xStg->openStreamElement( aXMLWordListName, embed::ElementMo… in LoadAutocorrWordList()
2264 …dler > xFilter = new SvXMLAutoCorrectImport( xServiceFactory, pAutocorr_List, rAutoCorrect, xStg ); in LoadAutocorrWordList()
2330 SotStorageRef xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE, sal_True ); in AddToCplSttExceptList() local
2332 SaveExceptList_Imp( *pCplStt_ExcptLst, pXMLImplCplStt_ExcptLstStr, xStg ); in AddToCplSttExceptList()
2334 xStg = 0; in AddToCplSttExceptList()
2354 SotStorageRef xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE, sal_True ); in AddToWrdSttExceptList() local
2356 SaveExceptList_Imp( *pWrdStt_ExcptLst, pXMLImplWrdStt_ExcptLstStr, xStg ); in AddToWrdSttExceptList()
2358 xStg = 0; in AddToWrdSttExceptList()
2374 …SotStorageRef xStg = new SotStorage( sShareAutoCorrFile, STREAM_READ | STREAM_SHARE_DENYNONE, sal_… in LoadCplSttExceptList() local
2376 if( xStg.Is() && xStg->IsContained( sTemp ) ) in LoadCplSttExceptList()
2377 LoadXMLExceptList_Imp( pCplStt_ExcptLst, pXMLImplCplStt_ExcptLstStr, xStg ); in LoadCplSttExceptList()
2388 SotStorageRef xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE, sal_True ); in SaveCplSttExceptList() local
2390 SaveExceptList_Imp( *pCplStt_ExcptLst, pXMLImplCplStt_ExcptLstStr, xStg ); in SaveCplSttExceptList()
2392 xStg = 0; in SaveCplSttExceptList()
2421 …SotStorageRef xStg = new SotStorage( sShareAutoCorrFile, STREAM_READ | STREAM_SHARE_DENYNONE, sal_… in LoadWrdSttExceptList() local
2423 if( xStg.Is() && xStg->IsContained( sTemp ) ) in LoadWrdSttExceptList()
2424 LoadXMLExceptList_Imp( pWrdStt_ExcptLst, pXMLImplWrdStt_ExcptLstStr, xStg ); in LoadWrdSttExceptList()
2433 SotStorageRef xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE, sal_True ); in SaveWrdSttExceptList() local
2435 SaveExceptList_Imp( *pWrdStt_ExcptLst, pXMLImplWrdStt_ExcptLstStr, xStg ); in SaveWrdSttExceptList()
2437 xStg = 0; in SaveWrdSttExceptList()
2474 SotStorageRef xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE, sal_True ); in RemoveStream_Imp() local
2475 if( xStg.Is() && SVSTREAM_OK == xStg->GetError() && in RemoveStream_Imp()
2476 xStg->IsStream( rName ) ) in RemoveStream_Imp()
2478 xStg->Remove( rName ); in RemoveStream_Imp()
2479 xStg->Commit(); in RemoveStream_Imp()
2481 xStg = 0; in RemoveStream_Imp()
2716 SotStorageRef xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE, sal_True ); in PutText() local
2718 sal_Bool bRet = xStg.Is() && SVSTREAM_OK == xStg->GetError(); in PutText()
2736 if (xStg->IsOLEStorage()) in PutText()
2741 if( xStg->IsContained( sStgNm ) ) in PutText()
2742 xStg->Remove( sStgNm ); in PutText()
2749 bRet = MakeBlocklist_Imp( *xStg ); in PutText()
2750 xStg = 0; in PutText()
2776 …uno::Reference < embed::XStorage > xStg = comphelper::OStorageHelper::GetStorageFromURL( sUserAuto… in PutText() local
2780 bRet = rAutoCorrect.PutText( xStg, sUserAutoCorrFile, rShort, rShell, sLong ); in PutText()
2781 xStg = 0; in PutText()
2814 SotStorageRef xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE, sal_True ); in DeleteText() local
2815 sal_Bool bRet = xStg.Is() && SVSTREAM_OK == xStg->GetError(); in DeleteText()
2826 if (xStg->IsOLEStorage()) in DeleteText()
2830 if( xStg->IsContained( aName ) ) in DeleteText()
2832 xStg->Remove( aName ); in DeleteText()
2833 bRet = xStg->Commit(); in DeleteText()
2839 MakeBlocklist_Imp( *xStg ); in DeleteText()
2840 xStg = 0; in DeleteText()