| /trunk/main/rsc/source/res/ |
| H A D | rsccont.cxx | 266 ERRTYPE aError; in GetElement() local 269 aError = WRN_CONT_NOID; in GetElement() 294 aError = WRN_CONT_DOUBLEID; in GetElement() 330 return aError; in GetElement() 380 ERRTYPE aError; in MovePosEle() local 403 aError = ERR_RSCCONT; in MovePosEle() 404 return aError; in MovePosEle() 420 ERRTYPE aError; in SetPosRscId() local 431 aError = ERR_RSCCONT; in SetPosRscId() 434 aError = ERR_RSCCONT; in SetPosRscId() [all …]
|
| H A D | rscmgr.cxx | 256 ERRTYPE aError; in WriteRcHeader() local 266 aError = ERR_REFTODEEP; in WriteRcHeader() 275 aError = WRN_MGR_REFNOTFOUND; in WriteRcHeader() 276 pTC->pEH->Error( aError, rInst.pClass, rId, aMsg.GetBuffer() ); in WriteRcHeader() 280 if( aError.IsOk() ) in WriteRcHeader() 290 aError = aRefI.pClass->WriteRcHeader( aRefI, rMem, pTC, in WriteRcHeader() 296 aError = aRefI.pClass->WriteRcHeader( aRefInst, rMem, pTC, in WriteRcHeader() 308 aError = rInst.pClass->WriteRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRcHeader() 309 if( aError.IsOk() ) in WriteRcHeader() 310 aError = WriteInstRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRcHeader() [all …]
|
| H A D | rscstr.cxx | 83 ERRTYPE aError; in SetString() local 85 if( aError.IsOk() ){ in SetString() 103 return( aError ); in SetString() 320 ERRTYPE aError; in WriteRc() local 330 while( aError.IsOk() && aId.IsId() ){ in WriteRc() 334 aError = ERR_REFTODEEP; in WriteRc() 341 aError = pRefClass->GetRef( aTmpI, &aId ); in WriteRc() 350 aError = WRN_STR_REFNOTFOUND; in WriteRc() 351 pTC->pEH->Error( aError, rInst.pClass, in WriteRc() 360 if( aError.IsOk() ) in WriteRc() [all …]
|
| H A D | rscclass.cxx | 894 ERRTYPE aError; in WriteInstRc() local 909 for( i = 0; i < nEntries && aError.IsOk(); i++ ) in WriteInstRc() 942 aError = aTmpI.pClass-> in WriteInstRc() 964 aError = aTmpI.pClass-> in WriteInstRc() 974 return( aError ); in WriteInstRc() 993 ERRTYPE aError; in WriteRc() local 995 aError = RscTop::WriteRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRc() 996 if( aError.IsOk() ) in WriteRc() 997 aError = WriteInstRc( rInst, rMem, pTC, nDeep, bExtra ); in WriteRc() 999 return( aError ); in WriteRc() [all …]
|
| /trunk/main/rsc/source/parser/ |
| H A D | yyrscyacc.y | 302 ERRTYPE aError; variable 306 aError = S.Top().pClass->SetRef( S.Top(), aRscId ); 308 aError = ERR_COPYNOTALLOWED; 309 if( aError.IsError() || aError.IsWarning() ) 310 pTC->pEH->Error( aError, S.Top().pClass, aRscId ); 445 ERRTYPE aError; variable 449 aError = S.Top().pClass->SetRef( S.Top(), aRscId ); 451 aError = ERR_COPYNOTALLOWED; 453 aError = WRN_SUBINMEMBER; 454 if( aError.IsError() || aError.IsWarning() ) [all …]
|
| H A D | rscyacc.cxx | 69 ERRTYPE aError; in SetNumber() local 70 aError = aInst.pClass->SetNumber( aInst, lValue ); in SetNumber() 72 if( aError.IsError() ) in SetNumber() 73 pTC->pEH->Error( aError, aInst.pClass, RscId() ); in SetNumber() 85 ERRTYPE aError; in SetConst() local 86 aError = aInst.pClass->SetConst( aInst, nValueId, nVal ); in SetConst() 88 if( aError.IsError() ) in SetConst() 89 pTC->pEH->Error( aError, aInst.pClass, RscId() ); in SetConst() 99 ERRTYPE aError; in SetString() local 100 aError = aInst.pClass->SetString( aInst, pStr ); in SetString() [all …]
|
| H A D | rscdb.cxx | 499 ERRTYPE aError; // Enthaelt den ersten Fehler member in RscEnumerateObj 515 return aError; in WriteRc() 521 return aError; in WriteSrc() 527 return aError; in WriteCxx() 533 return aError; in WriteHxx() 552 aError = pClass->WriteRcHeader( RSCINST( pClass, pObjNode->GetRscObj() ), in IMPL_LINK() 555 if( aError.IsError() || aError.IsWarning() ) in IMPL_LINK() 556 pTypCont->pEH->Error( aError, pClass, pObjNode->GetRscId() ); in IMPL_LINK() 595 aError = pClass->WriteCxxHeader( in IMPL_LINK_INLINE_END() 614 aError = pClass->WriteHxxHeader( in IMPL_LINK_INLINE_END() [all …]
|
| H A D | rsclex.cxx | 393 ERRTYPE aError; in parser() local 397 aError = yyparse(); in parser() 402 if( 0 == aError ) in parser() 403 aError.Clear(); in parser() 405 aError = ERR_ERROR; in parser() 406 pFileInst->SetError( aError ); in parser() 407 return( aError ); in parser() 412 ERRTYPE aError; in MacroParser() local 420 aError = yyparse(); in MacroParser() 430 if( 0 == aError ) in MacroParser() [all …]
|
| /trunk/main/sal/qa/rtl/digest/ |
| H A D | rtl_digest.cxx | 494 rtlDigestError aError = rtl_digest_init(handle, NULL, 0); in TEST_F() local 496 ASSERT_TRUE(aError == rtl_Digest_E_Argument) << "init(NULL, 0, 0)"; in TEST_F() 503 rtlDigestError aError = rtl_digest_init(handle, NULL, 0); in TEST_F() local 505 ASSERT_TRUE(aError == rtl_Digest_E_None) << "init(handle, 0, 0)"; in TEST_F() 519 rtlDigestError aError = rtl_digest_init(handle, pData, nSize); in TEST_F() local 521 ASSERT_TRUE(aError == rtl_Digest_E_None) << "init(handle, pData, nSize)"; in TEST_F() 547 rtlDigestError aError = rtl_digest_init(handle, pData, nSize); in TEST_F() local 549 ASSERT_TRUE(aError == rtl_Digest_E_None) << "init(handle, pData, nSize)"; in TEST_F() 575 rtlDigestError aError = rtl_digest_init(handle, pData, nSize); in TEST_F() local 577 ASSERT_TRUE(aError == rtl_Digest_E_None) << "init(handle, pData, nSize)"; in TEST_F() [all …]
|
| /trunk/main/tools/inc/tools/ |
| H A D | debug.hxx | 469 #define DBG_ASSERT( sCon, aError ) \ argument 476 DbgError( aError); \ 482 #define DBG_BF_ASSERT( sCon, aError ) \ argument 487 DbgError( aError); \ 491 #define DBG_BF_ASSERT( sCon, aError ) ((void)0) argument 610 #define DBG_ERROR( aError ) \ argument 614 DbgError( aError ); \ 616 #define DBG_ERROR1( aError, x1 ) \ argument 621 DbgOutTypef( DBG_OUT_ERROR, aError, \ 625 #define DBG_ERROR2( aError, x1, x2 ) \ argument [all …]
|
| /trunk/main/sal/qa/rtl/cipher/ |
| H A D | rtl_cipher.cxx | 180 …rtlCipherError aError = rtl_cipher_init(aCipher, rtl_Cipher_DirectionEncode, pKeyBuffer, nKeyLen, … in test_encode() local 181 ASSERT_TRUE(aError == rtl_Cipher_E_None) << "wrong init"; in test_encode() 192 …/* rtlCipherError */ aError = rtl_cipher_encode(aCipher, pPlainTextBuffer, nPlainTextLen, pCipherB… in test_encode() 193 ASSERT_TRUE(aError == rtl_Cipher_E_None) << "wrong encode"; in test_encode() 204 …/* rtlCipherError */ aError = rtl_cipher_decode(aCipher, pCipherBuffer, nCipherLen, pPlainText2Buf… in test_encode() 205 ASSERT_TRUE(aError != rtl_Cipher_E_None) << "decode should not work"; in test_encode() 246 …rtlCipherError aError = rtl_cipher_init(aCipher, rtl_Cipher_DirectionBoth, pKeyBuffer, nKeyLen, pA… in test_encode_and_decode() local 247 ASSERT_TRUE(aError == rtl_Cipher_E_None) << "wrong init"; in test_encode_and_decode() 258 …/* rtlCipherError */ aError = rtl_cipher_encode(aCipher, pPlainTextBuffer, nPlainTextLen, pCipherB… in test_encode_and_decode() 259 ASSERT_TRUE(aError == rtl_Cipher_E_None) << "wrong encode"; in test_encode_and_decode() [all …]
|
| /trunk/main/rsc/source/rsc/ |
| H A D | rsc.cxx | 469 ERRTYPE aError; in Start() local 499 while( pFName && aError.IsOk() ) in Start() 503 aError = IncludeParser( in Start() 529 if( aError.IsOk() ) in Start() 530 aError = Link(); in Start() 532 if( aError.IsOk() ) in Start() 535 if( aError.IsError() ) in Start() 538 return( aError ); in Start() 659 ERRTYPE aError; in IncludeParser() local 663 aError = ERR_ERROR; in IncludeParser() [all …]
|
| /trunk/main/sal/qa/rtl/random/ |
| H A D | rtl_random.cxx | 111 rtlRandomError aError = rtl_random_addBytes(NULL, NULL, 0); in TEST_F() local 112 ASSERT_TRUE(aError == rtl_Random_E_Argument) << "wrong parameter"; in TEST_F() 114 /* rtlRandomError */ aError = rtl_random_addBytes(aPool, NULL, 0); in TEST_F() 115 ASSERT_TRUE(aError == rtl_Random_E_Argument) << "wrong parameter"; in TEST_F() 117 /* rtlRandomError */ aError = rtl_random_addBytes(aPool, pBuffer, nBufLen); in TEST_F() 118 ASSERT_TRUE(aError == rtl_Random_E_None) << "wrong parameter"; in TEST_F() 230 rtlRandomError aError = rtl_random_getBytes(NULL, NULL, 0); in TEST_F() local 231 ASSERT_TRUE(aError == rtl_Random_E_Argument) << "wrong parameter"; in TEST_F() 233 /* rtlRandomError */ aError = rtl_random_getBytes(aPool, NULL, 0); in TEST_F() 234 ASSERT_TRUE(aError == rtl_Random_E_Argument) << "wrong parameter"; in TEST_F() [all …]
|
| /trunk/main/sd/source/filter/xml/ |
| H A D | sdxmlwrp.cxx | 283 ByteString aError( "SAX parse exception caught while importing:\n" ); in ReadThroughComponent() local 284 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ReadThroughComponent() 285 DBG_ERROR( aError.GetBuffer() ); in ReadThroughComponent() 317 ByteString aError( "SAX exception caught while importing:\n" ); in ReadThroughComponent() local 318 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ReadThroughComponent() 319 DBG_ERROR( aError.GetBuffer() ); in ReadThroughComponent() 327 ByteString aError( "Zip exception caught while importing:\n" ); in ReadThroughComponent() local 328 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ReadThroughComponent() 329 DBG_ERROR( aError.GetBuffer() ); in ReadThroughComponent() 337 ByteString aError( "IO exception caught while importing:\n" ); in ReadThroughComponent() local [all …]
|
| /trunk/main/idl/source/prj/ |
| H A D | database.cxx | 246 aError.SetText( "hgchcg" ); in SetError() 248 if( aError.nLine < pTok->GetLine() in SetError() 249 || (aError.nLine == pTok->GetLine() && aError.nColumn < pTok->GetColumn()) ) in SetError() 251 aError = SvIdlError( pTok->GetLine(), pTok->GetColumn() ); in SetError() 252 aError.SetText( rError ); in SetError() 740 if( aError.IsError() ) in WriteError() 744 if( aError.GetText().Len() ) in WriteError() 747 aErrorText += aError.GetText(); in WriteError() 753 if( pTok->GetLine() == aError.nLine in WriteError() 754 && pTok->GetColumn() == aError.nColumn ) in WriteError() [all …]
|
| /trunk/main/sw/source/filter/xml/ |
| H A D | swxml.cxx | 218 ByteString aError( "SAX parse exception caught while importing:\n" ); in ReadThroughComponent() local 219 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ReadThroughComponent() 220 DBG_ERROR( aError.GetBuffer() ); in ReadThroughComponent() 252 ByteString aError( "SAX exception caught while importing:\n" ); in ReadThroughComponent() local 253 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ReadThroughComponent() 254 DBG_ERROR( aError.GetBuffer() ); in ReadThroughComponent() 263 ByteString aError( "Zip exception caught while importing:\n" ); in ReadThroughComponent() local 264 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ReadThroughComponent() 265 DBG_ERROR( aError.GetBuffer() ); in ReadThroughComponent() 273 ByteString aError( "IO exception caught while importing:\n" ); in ReadThroughComponent() local [all …]
|
| /trunk/main/dbaccess/source/core/dataaccess/ |
| H A D | databasedocument.cxx | 642 Any aError = ::cppu::getCaughtException(); in storeToRecoveryFile() local 643 if ( aError.isExtractableTo( ::cppu::UnoType< IOException >::get() ) in storeToRecoveryFile() 644 || aError.isExtractableTo( ::cppu::UnoType< RuntimeException >::get() ) in storeToRecoveryFile() 645 || aError.isExtractableTo( ::cppu::UnoType< WrappedTargetException >::get() ) in storeToRecoveryFile() 652 throw WrappedTargetException( ::rtl::OUString(), *this, aError ); in storeToRecoveryFile() 691 Any aError = ::cppu::getCaughtException(); in recoverFromFile() local 692 if ( aError.isExtractableTo( ::cppu::UnoType< IOException >::get() ) in recoverFromFile() 693 || aError.isExtractableTo( ::cppu::UnoType< RuntimeException >::get() ) in recoverFromFile() 694 || aError.isExtractableTo( ::cppu::UnoType< WrappedTargetException >::get() ) in recoverFromFile() 701 throw WrappedTargetException( ::rtl::OUString(), *this, aError ); in recoverFromFile() [all …]
|
| /trunk/main/sc/source/filter/xml/ |
| H A D | xmlwrap.cxx | 293 ByteString aError( "SAX parse exception caught while importing:\n" ); in ImportFromComponent() local 294 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ImportFromComponent() 295 DBG_ERROR( aError.GetBuffer() ); in ImportFromComponent() 329 ByteString aError( "SAX exception caught while importing:\n" ); in ImportFromComponent() local 330 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ImportFromComponent() 331 DBG_ERROR( aError.GetBuffer() ); in ImportFromComponent() 341 ByteString aError( "Zip exception caught while importing:\n" ); in ImportFromComponent() local 342 aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US ); in ImportFromComponent() 343 DBG_ERROR( aError.GetBuffer() ); in ImportFromComponent() 352 ByteString aError( "IO exception caught while importing:\n" ); in ImportFromComponent() local [all …]
|
| /trunk/main/dbaccess/source/ui/querydesign/ |
| H A D | querycontroller.cxx | 599 SQLExceptionInfo aError; in Execute() local 610 impl_setViewMode( &aError ); in Execute() 623 aError = m_pSqlIterator->getErrors(); in Execute() 630 aError = SQLException( in Execute() 647 impl_setViewMode( &aError ); in Execute() 653 aError = SQLException( in Execute() 665 aError = ::cppu::getCaughtException(); in Execute() 672 if ( aError.isValid() ) in Execute() 673 showError( aError ); in Execute() 822 SQLExceptionInfo aError; in impl_setViewMode() local [all …]
|
| /trunk/main/connectivity/source/drivers/file/ |
| H A D | FConnection.cxx | 440 SQLException aError; in throwUrlNotValid() local 441 aError.Message = getResources().getResourceStringWithSubstitution( in throwUrlNotValid() 446 aError.SQLState = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("S1000")); in throwUrlNotValid() 447 aError.ErrorCode = 0; in throwUrlNotValid() 448 aError.Context = static_cast< XConnection* >(this); in throwUrlNotValid() 450 … aError.NextException <<= SQLException(_rsMessage, aError.Context, ::rtl::OUString(), 0, Any()); in throwUrlNotValid() 452 throw aError; in throwUrlNotValid()
|
| /trunk/main/cui/source/options/ |
| H A D | doclinkdialog.cxx | 131 ErrorBox aError(this, WB_OK , sMsg); in IMPL_LINK() local 132 aError.Execute(); in IMPL_LINK() 140 ErrorBox aError(this, WB_OK , sMsg); in IMPL_LINK() local 141 aError.Execute(); in IMPL_LINK() 152 InfoBox aError(this, sMsg); in IMPL_LINK() local 153 aError.Execute(); in IMPL_LINK()
|
| /trunk/main/rsc/doku/feinkonz.43/ |
| H A D | rscerror.doc | 1582 ERRTYPE aError; 1584 aError = ERR_OPENFILE; 1585 aError = ERR_ERROR; 1586 if( ERR_OPENFILE == aError ) 1636 aError.Clear(); //Fehler aufheben 1665 AliERRTYPE aError( ERR_RSCRANGE ); 1666 printf( ERR_RSCRANGE == aError ? "TRUE" : "FALSE" ); 1669 aError = ERRTYPE( ERR_ERROR ); 1670 printf( ERR_ERROR == aError ? "TRUE" : "FALSE" ); 1672 aError.Clear(); [all …]
|
| /trunk/main/connectivity/source/commontools/ |
| H A D | ConnectionWrapper.cxx | 218 …rtlDigestError aError = rtl_digest_update(aDigest,_rURL.getStr(),_rURL.getLength()*sizeof(sal_Unic… in createUniqueId() local 220 …aError = rtl_digest_update(aDigest,_rUserName.getStr(),_rUserName.getLength()*sizeof(sal_Unicode)); in createUniqueId() 222 …aError = rtl_digest_update(aDigest,_rPassword.getStr(),_rPassword.getLength()*sizeof(sal_Unicode)); in createUniqueId() 249 … aError = rtl_digest_update(aDigest,pSBegin->getStr(),pSBegin->getLength()*sizeof(sal_Unicode)); in createUniqueId() 256 … aError = rtl_digest_update(aDigest,sValue.getStr(),sValue.getLength()*sizeof(sal_Unicode)); in createUniqueId() 260 aError = rtl_digest_get(aDigest,_pBuffer,RTL_DIGEST_LENGTH_SHA1); in createUniqueId()
|
| /trunk/main/oox/source/core/ |
| H A D | encryption.cxx | 150 rtlDigestError aError = rtl_digest_update( aDigest, pnBuffer, sizeof( pnBuffer ) ); in deriveKey() local 152 aError = rtl_digest_get( aDigest, pnX1, RTL_DIGEST_LENGTH_SHA1 ); in deriveKey() 160 aError = rtl_digest_update( aDigest, pnBuffer, sizeof( pnBuffer ) ); in deriveKey() 162 aError = rtl_digest_get( aDigest, pnX2, RTL_DIGEST_LENGTH_SHA1 ); in deriveKey() 185 rtlDigestError aError = rtl_digest_update( aDigest, pnBuffer, nBufferSize ); in verifyPassword() local 190 aError = rtl_digest_get( aDigest, pnHash + 4, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() 197 aError = rtl_digest_update( aDigest, pnHash, nHashSize ); in verifyPassword() 198 aError = rtl_digest_get( aDigest, pnHash + 4, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() 205 aError = rtl_digest_update( aDigest, pnHash, nHashSize ); in verifyPassword() 206 aError = rtl_digest_get( aDigest, pnHash, RTL_DIGEST_LENGTH_SHA1 ); in verifyPassword() [all …]
|
| /trunk/main/extensions/source/abpilot/ |
| H A D | datasourcehandling.cxx | 537 Any aError; in connect() local 546 catch( const SQLContext& e ) { aError <<= e; } in connect() 547 catch( const SQLWarning& e ) { aError <<= e; } in connect() 548 catch( const SQLException& e ) { aError <<= e; } in connect() 556 if ( aError.hasValue() && _pMessageParent ) in connect() 561 aError >>= aException; in connect() 568 aDetailedError.NextException = aError; in connect()
|