toxmgr.cxx (f66c5aaf) toxmgr.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

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

288/* -----------------01.07.99 16:23-------------------
289
290 --------------------------------------------------*/
291
292sal_Bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
293 SwTOXBase** ppBase,
294 const SfxItemSet* pSet)
295{
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

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

288/* -----------------01.07.99 16:23-------------------
289
290 --------------------------------------------------*/
291
292sal_Bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
293 SwTOXBase** ppBase,
294 const SfxItemSet* pSet)
295{
296 SwWait aWait( *pSh->GetView().GetDocShell(), sal_True );
296 SwWait aWait( *pSh->GetView().GetDocShell(), true );
297 sal_Bool bRet = sal_True;
298 const SwTOXBase* pCurTOX = ppBase && *ppBase ? *ppBase : GetCurTOX();
299 SwTOXBase* pTOX = (SwTOXBase*)pCurTOX;
300
301 SwTOXBase * pNewTOX = NULL;
302
303 if (pTOX)
304 pNewTOX = new SwTOXBase(*pTOX);

--- 223 unchanged lines hidden ---
297 sal_Bool bRet = sal_True;
298 const SwTOXBase* pCurTOX = ppBase && *ppBase ? *ppBase : GetCurTOX();
299 SwTOXBase* pTOX = (SwTOXBase*)pCurTOX;
300
301 SwTOXBase * pNewTOX = NULL;
302
303 if (pTOX)
304 pNewTOX = new SwTOXBase(*pTOX);

--- 223 unchanged lines hidden ---