diff options
author | Mathias Bauer <mba@openoffice.org> | 2011-02-08 11:49:29 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2011-02-08 11:49:29 +0100 |
commit | 40953e8bab7710063353f70ffd4d66a4782b5425 (patch) | |
tree | 7575a84f0d2e6a7110e64b45d999dff045b23d3f /uui/source/cookiedg.cxx | |
parent | b31ae53bd29953d09dbda1e37e3ec8aeec81807b (diff) | |
parent | 642c1ee8fac66996d2c500c5e247d17c198c6405 (diff) |
CWS gnumake3: pull in cws removetooltypes01
Diffstat (limited to 'uui/source/cookiedg.cxx')
-rw-r--r-- | uui/source/cookiedg.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/uui/source/cookiedg.cxx b/uui/source/cookiedg.cxx index a806ff4e59e8..c75d32699a73 100644 --- a/uui/source/cookiedg.cxx +++ b/uui/source/cookiedg.cxx @@ -80,7 +80,7 @@ CookiesDialog::CookiesDialog( Window* pParent, maCookieFB.SetPosSizePixel( LogicToPixel( aPoint ), aSize ); maCookieFB.Show(); - USHORT nOffset = CNTHTTP_COOKIE_REQUEST_RECV == mpCookieRequest->m_eType + sal_uInt16 nOffset = CNTHTTP_COOKIE_REQUEST_RECV == mpCookieRequest->m_eType ? 0 : STR_COOKIES_SEND_START - STR_COOKIES_RECV_START; INetURLObject aObj( mpCookieRequest->m_rURL ); SetText( String( ResId( STR_COOKIES_RECV_TITLE + nOffset, *pResMgr ) ) ); @@ -91,7 +91,7 @@ CookiesDialog::CookiesDialog( Window* pParent, List& rList =mpCookieRequest->m_rCookieList; String aPair, aCookie; - for ( USHORT i = (USHORT)rList.Count(); i--; ) + for ( sal_uInt16 i = (sal_uInt16)rList.Count(); i--; ) { CntHTTPCookie* pCookie = (CntHTTPCookie*)rList.GetObject(i); @@ -107,7 +107,7 @@ CookiesDialog::CookiesDialog( Window* pParent, aMsg += aCookie; } } - maInFutureInteractiveBtn.Check( TRUE ); + maInFutureInteractiveBtn.Check( sal_True ); maCookieFT.SetText( aMsg ); } @@ -117,7 +117,7 @@ short CookiesDialog::Execute() { maSendBtn.GrabFocus(); short nRet = ModalDialog::Execute(); - USHORT nStatus = CNTHTTP_COOKIE_POLICY_INTERACTIVE; + sal_uInt16 nStatus = CNTHTTP_COOKIE_POLICY_INTERACTIVE; if ( maInFutureSendBtn.IsChecked() ) nStatus = CNTHTTP_COOKIE_POLICY_ACCEPTED; @@ -126,9 +126,9 @@ short CookiesDialog::Execute() nStatus = CNTHTTP_COOKIE_POLICY_BANNED; List& rList = mpCookieRequest->m_rCookieList; - for ( USHORT i = (USHORT)rList.Count(); i--; ) + for ( sal_uInt16 i = (sal_uInt16)rList.Count(); i--; ) { - USHORT& rStatus = ( (CntHTTPCookie*)rList.GetObject(i) )->m_nPolicy; + sal_uInt16& rStatus = ( (CntHTTPCookie*)rList.GetObject(i) )->m_nPolicy; if ( rStatus == CNTHTTP_COOKIE_POLICY_INTERACTIVE ) rStatus = nStatus; |