linkmgr2.cxx (611fcdab) linkmgr2.cxx (a621bfbf)
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

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

345 if( USHRT_MAX == nFndPos )
346 continue; // war noch nicht vorhanden!
347
348 // do not update graphic links yet
349 if( !pLink->IsVisible() ||
350 ( !bUpdateGrfLinks && OBJECT_CLIENT_GRF == pLink->GetObjType() ))
351 continue;
352
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

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

345 if( USHRT_MAX == nFndPos )
346 continue; // war noch nicht vorhanden!
347
348 // do not update graphic links yet
349 if( !pLink->IsVisible() ||
350 ( !bUpdateGrfLinks && OBJECT_CLIENT_GRF == pLink->GetObjType() ))
351 continue;
352
353 sal_Bool allows = sal_False;
353 sal_Bool allows = sal_True;
354
355 if (bAskUpdate)
356 {
357 allows = GetUserAllowsLinkUpdate(pParentWin);
358 }
359
360 SetUserAllowsLinkUpdate(pLink, allows);
361 bAskUpdate = sal_False; // one time is OK

--- 310 unchanged lines hidden ---
354
355 if (bAskUpdate)
356 {
357 allows = GetUserAllowsLinkUpdate(pParentWin);
358 }
359
360 SetUserAllowsLinkUpdate(pLink, allows);
361 bAskUpdate = sal_False; // one time is OK

--- 310 unchanged lines hidden ---