iahndl.cxx (79aad27f) | iahndl.cxx (4e7d57d8) |
---|---|
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 --- 1273 unchanged lines hidden (view full) --- 1282 } 1283 else 1284 { 1285 uno::Reference< task::XInteractionAbort > xAbort; 1286 uno::Reference< task::XInteractionApprove > xApprove; 1287 getContinuations(rContinuations, &xApprove, &xAbort); 1288 1289 // Note: It's important to convert the transported long to the | 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 --- 1273 unchanged lines hidden (view full) --- 1282 } 1283 else 1284 { 1285 uno::Reference< task::XInteractionAbort > xAbort; 1286 uno::Reference< task::XInteractionApprove > xApprove; 1287 getContinuations(rContinuations, &xApprove, &xAbort); 1288 1289 // Note: It's important to convert the transported long to the |
1290 // required unsigned long value. Otherwhise using as flag field | 1290 // required unsigned long value. Otherwise using as flag field |
1291 // can fail ... 1292 ErrCode nError = static_cast< ErrCode >(nErrorCode); 1293 sal_Bool bWarning = !ERRCODE_TOERROR(nError); 1294 1295 if ( nError == ERRCODE_SFX_BROKENSIGNATURE 1296 || nError == ERRCODE_SFX_INCOMPLETE_ENCRYPTION ) 1297 { 1298 // the security warning box needs a special title --- 286 unchanged lines hidden --- | 1291 // can fail ... 1292 ErrCode nError = static_cast< ErrCode >(nErrorCode); 1293 sal_Bool bWarning = !ERRCODE_TOERROR(nError); 1294 1295 if ( nError == ERRCODE_SFX_BROKENSIGNATURE 1296 || nError == ERRCODE_SFX_INCOMPLETE_ENCRYPTION ) 1297 { 1298 // the security warning box needs a special title --- 286 unchanged lines hidden --- |