/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: certificateviewer.cxx,v $ * * $Revision: 1.21 $ * * last change: $Author: obo $ $Date: 2006-09-16 14:35:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. * * * GNU Lesser General Public License Version 2.1 * ============================================= * Copyright 2005 by Sun Microsystems, Inc. * 901 San Antonio Road, Palo Alto, CA 94303, USA * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * ************************************************************************/ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_xmlsecurity.hxx" #include #ifndef _COM_SUN_STAR_SECURITY_XCERTIFICATE_HPP_ #include #endif #include #include #include #include #include #include "dialogs.hrc" #include "resourcemanager.hxx" /* HACK: disable some warnings for MS-C */ #ifdef _MSC_VER #pragma warning (disable : 4355) // 4355: this used in initializer-list #endif using namespace ::com::sun::star; using namespace ::com::sun::star::uno; namespace css = ::com::sun::star; namespace { void ShrinkToFit( FixedImage& _rImage ); void AdjustPosAndSize( Control& _rCtrl, Point& _rStartIn_EndOut, long _nXOffset = 0 ); void ShrinkToFit( FixedImage& _rImg ) { _rImg.SetSizePixel( _rImg.GetImage().GetSizePixel() ); } void AdjustPosAndSize( Control& _rCtrl, Point& _rStartIn_EndOut, long _nOffs ) { _rCtrl.SetPosPixel( _rStartIn_EndOut ); _rStartIn_EndOut.X() += XmlSec::ShrinkToFitWidth( _rCtrl, _nOffs ); } }; CertificateViewer::CertificateViewer( Window* _pParent, const cssu::Reference< dcss::xml::crypto::XSecurityEnvironment >& _rxSecurityEnvironment, const cssu::Reference< dcss::security::XCertificate >& _rXCert, BOOL bCheckForPrivateKey ) :TabDialog ( _pParent, XMLSEC_RES( RID_XMLSECDLG_CERTVIEWER ) ) ,maTabCtrl ( this, ResId( 1 ) ) ,maOkBtn ( this, ResId( BTN_OK ) ) ,maHelpBtn ( this, ResId( BTN_HELP ) ) { FreeResource(); mbCheckForPrivateKey = bCheckForPrivateKey; mxSecurityEnvironment = _rxSecurityEnvironment; mxCert = _rXCert; maTabCtrl.SetTabPage( RID_XMLSECTP_GENERAL, new CertificateViewerGeneralTP( &maTabCtrl, this ) ); maTabCtrl.SetTabPage( RID_XMLSECTP_DETAILS, new CertificateViewerDetailsTP( &maTabCtrl, this ) ); maTabCtrl.SetTabPage( RID_XMLSECTP_CERTPATH, new CertificateViewerCertPathTP( &maTabCtrl, this ) ); maTabCtrl.SetCurPageId( RID_XMLSECTP_GENERAL ); } CertificateViewer::~CertificateViewer() { delete maTabCtrl.GetTabPage( RID_XMLSECTP_CERTPATH ); delete maTabCtrl.GetTabPage( RID_XMLSECTP_DETAILS ); delete maTabCtrl.GetTabPage( RID_XMLSECTP_GENERAL ); } CertificateViewerTP::CertificateViewerTP( Window* _pParent, const ResId& _rResId, CertificateViewer* _pDlg ) :TabPage ( _pParent, _rResId ) ,mpDlg ( _pDlg ) { } CertificateViewerGeneralTP::CertificateViewerGeneralTP( Window* _pParent, CertificateViewer* _pDlg ) :CertificateViewerTP ( _pParent, XMLSEC_RES( RID_XMLSECTP_GENERAL ), _pDlg ) ,maFrameWin ( this, ResId( WIN_FRAME ) ) ,maCertImg ( this, ResId( IMG_CERT ) ) ,maCertInfoFI ( this, ResId( FI_CERTINFO ) ) ,maSep1FL ( this, ResId( FL_SEP1 ) ) ,maHintNotTrustedFI ( this, ResId( FI_HINTNOTTRUST ) ) ,maSep2FL ( this, ResId( FL_SEP2 ) ) ,maIssuedToLabelFI ( this, ResId( FI_ISSTOLABEL ) ) ,maIssuedToFI ( this, ResId( FI_ISSTO ) ) ,maIssuedByLabelFI ( this, ResId( FI_ISSBYLABEL ) ) ,maIssuedByFI ( this, ResId( FI_ISSBY ) ) ,maValidDateFI ( this, ResId( FI_VALIDDATE ) ) ,maKeyImg ( this, ResId( IMG_KEY ) ) ,maHintCorrespPrivKeyFI ( this, ResId( FI_CORRPRIVKEY ) ) { //Verify the certificate sal_Int32 certStatus = mpDlg->mxSecurityEnvironment->verifyCertificate(mpDlg->mxCert); //We currently have two status //These errors are alloweds sal_Int32 validCertErrors = css::security::CertificateValidity::VALID | css::security::CertificateValidity::UNKNOWN_REVOKATION; //Build a mask to filter out the allowed errors sal_Int32 mask = ~validCertErrors; // "subtract" the allowed error flags from the result sal_Int32 certErrors = certStatus & mask; bool bCertValid = certErrors > 0 ? false : true; if ( !bCertValid ) { maCertImg.SetImage( Image( ResId( IMG_STATE_NOT_VALIDATED ) ) ); maHintNotTrustedFI.SetText( String( ResId( STR_CERTIFICATE_NOT_VALIDATED ) ) ); } FreeResource(); Wallpaper aBack( GetSettings().GetStyleSettings().GetWindowColor() ); maFrameWin.SetBackground( aBack ); maCertImg.SetBackground( aBack ); maCertInfoFI.SetBackground( aBack ); maSep1FL.SetBackground( aBack ); maHintNotTrustedFI.SetBackground( aBack ); maSep2FL.SetBackground( aBack ); maIssuedToLabelFI.SetBackground( aBack ); maIssuedToFI.SetBackground( aBack ); maIssuedByLabelFI.SetBackground( aBack ); maIssuedByFI.SetBackground( aBack ); maValidDateFI.SetBackground( aBack ); maKeyImg.SetBackground( aBack ); maHintCorrespPrivKeyFI.SetBackground( aBack ); // make some bold Font aFnt( maCertInfoFI.GetFont() ); aFnt.SetWeight( WEIGHT_BOLD ); maCertInfoFI.SetFont( aFnt ); maHintNotTrustedFI.SetFont( aFnt ); maIssuedToLabelFI.SetFont( aFnt ); maIssuedByLabelFI.SetFont( aFnt ); maValidDateFI.SetFont( aFnt ); // insert data cssu::Reference< dcss::security::XCertificate > xCert = mpDlg->mxCert; maIssuedToFI.SetText( XmlSec::GetContentPart( xCert->getSubjectName() ) ); maIssuedByFI.SetText( XmlSec::GetContentPart( xCert->getIssuerName() ) ); // dynamic length because of the different languages long nWidth1 = maIssuedToLabelFI.GetTextWidth( maIssuedToLabelFI.GetText() ); long nWidth2 = maIssuedByLabelFI.GetTextWidth( maIssuedByLabelFI.GetText() ); long nNewWidth = Max( nWidth1, nWidth2 ) + 5; Size aNewSize = maIssuedToLabelFI.GetSizePixel(); aNewSize.Width() = nNewWidth; maIssuedToLabelFI.SetSizePixel( aNewSize ); maIssuedByLabelFI.SetSizePixel( aNewSize ); long nNewX = maIssuedToLabelFI.GetPosPixel().X() + nNewWidth + 1; Point aNewPos = maIssuedToFI.GetPosPixel(); aNewPos.X() = nNewX; maIssuedToFI.SetPosPixel( aNewPos ); aNewPos = maIssuedByFI.GetPosPixel(); aNewPos.X() = nNewX; maIssuedByFI.SetPosPixel( aNewPos ); nNewWidth = maValidDateFI.GetSizePixel().Width() - nNewX; aNewSize = maIssuedToFI.GetSizePixel(); aNewSize.Width() = nNewWidth; maIssuedToFI.SetSizePixel( aNewSize ); maIssuedByFI.SetSizePixel( aNewSize ); DateTime aDateTimeStart; DateTime aDateTimeEnd; utl::typeConvert( xCert->getNotValidBefore(), aDateTimeStart ); utl::typeConvert( xCert->getNotValidAfter(), aDateTimeEnd ); String sText = maValidDateFI.GetText(); sText.SearchAndReplace( String::CreateFromAscii( "%SDATE%" ), GetSettings().GetUILocaleDataWrapper().getDate( aDateTimeStart.GetDate() ) ); sText.SearchAndReplace( String::CreateFromAscii( "%EDATE%" ), GetSettings().GetUILocaleDataWrapper().getDate( aDateTimeEnd.GetDate() ) ); maValidDateFI.SetText( sText ); // adjust position of fixed text depending on image sizes ShrinkToFit( maCertImg ); ShrinkToFit( maKeyImg ); XmlSec::AlignAfterImage( maCertImg, maCertInfoFI, 12 ); XmlSec::AlignAfterImage( maKeyImg, maHintCorrespPrivKeyFI, 12 ); // Check if we have the private key... BOOL bHasPrivateKey = FALSE; // #i41270# Check only if we have that certificate in our security environment if ( _pDlg->mbCheckForPrivateKey ) { long nCertificateCharacters = _pDlg->mxSecurityEnvironment->getCertificateCharacters( xCert ); bHasPrivateKey = ( nCertificateCharacters & security::CertificateCharacters::HAS_PRIVATE_KEY ) ? TRUE : FALSE; } if ( !bHasPrivateKey ) { maKeyImg.Hide(); maHintCorrespPrivKeyFI.Hide(); } } void CertificateViewerGeneralTP::ActivatePage() { } struct Details_UserDatat { String maTxt; bool mbFixedWidthFont; inline Details_UserDatat( const String& _rTxt, bool _bFixedWidthFont ); }; inline Details_UserDatat::Details_UserDatat( const String& _rTxt, bool _bFixedWidthFont ) :maTxt ( _rTxt ) ,mbFixedWidthFont ( _bFixedWidthFont ) { } void CertificateViewerDetailsTP::Clear( void ) { maElementML.SetText( String() ); ULONG i = 0; SvLBoxEntry* pEntry = maElementsLB.GetEntry( i ); while( pEntry ) { delete ( Details_UserDatat* ) pEntry->GetUserData(); ++i; pEntry = maElementsLB.GetEntry( i ); } maElementsLB.Clear(); } void CertificateViewerDetailsTP::InsertElement( const String& _rField, const String& _rValue, const String& _rDetails, bool _bFixedWidthFont ) { SvLBoxEntry* pEntry = maElementsLB.InsertEntry( _rField ); maElementsLB.SetEntryText( _rValue, pEntry, 1 ); pEntry->SetUserData( ( void* ) new Details_UserDatat( _rDetails, _bFixedWidthFont ) ); } CertificateViewerDetailsTP::CertificateViewerDetailsTP( Window* _pParent, CertificateViewer* _pDlg ) :CertificateViewerTP ( _pParent, XMLSEC_RES( RID_XMLSECTP_DETAILS ), _pDlg ) ,maElementsLB ( this, ResId( LB_ELEMENTS ) ) ,maElementML ( this, ResId( ML_ELEMENT ) ) ,maStdFont ( maElementML.GetControlFont() ) ,maFixedWidthFont ( OutputDevice::GetDefaultFont( DEFAULTFONT_UI_FIXED, LANGUAGE_DONTKNOW, DEFAULTFONT_FLAGS_ONLYONE, this ) ) { WinBits nStyle = maElementsLB.GetStyle(); nStyle &= ~WB_HSCROLL; maElementsLB.SetStyle( nStyle ); maFixedWidthFont.SetHeight( maStdFont.GetHeight() ); static long nTabs[] = { 2, 0, 30*CS_LB_WIDTH/100 }; maElementsLB.SetTabs( &nTabs[ 0 ] ); maElementsLB.InsertHeaderEntry( String( ResId( STR_HEADERBAR ) ) ); // fill list box Reference< security::XCertificate > xCert = mpDlg->mxCert; UINT16 nLineBreak = 16; const char* pHexSep = " "; String aLBEntry; String aDetails; // --> PB 2004-10-11 #i35107# - 0 == "V1", 1 == "V2", ..., n = "V(n+1)" aLBEntry = String::CreateFromAscii( "V" ); aLBEntry += String::CreateFromInt32( xCert->getVersion() + 1 ); // <-- InsertElement( String( ResId( STR_VERSION ) ), aLBEntry, aLBEntry ); Sequence< sal_Int8 > aSeq = xCert->getSerialNumber(); aLBEntry = XmlSec::GetHexString( aSeq, pHexSep ); aDetails = XmlSec::GetHexString( aSeq, pHexSep, nLineBreak ); InsertElement( String( ResId( STR_SERIALNUM ) ), aLBEntry, aDetails, true ); aLBEntry = XmlSec::GetPureContent( xCert->getIssuerName(), ", " ); aDetails = XmlSec::GetPureContent( xCert->getIssuerName(), "\n", true ); InsertElement( String( ResId( STR_ISSUER ) ), aLBEntry, aDetails ); /* aSeq = xCert->getIssuerUniqueID(); aLBEntry = XmlSec::GetHexString( aSeq, pHexSep ); aDetails = XmlSec::GetHexString( aSeq, pHexSep, nLineBreak ); InsertElement( String( ResId( STR_ISSUER_ID ) ), aLBEntry, aDetails, true ); */ DateTime aDateTime; utl::typeConvert( xCert->getNotValidBefore(), aDateTime ); aLBEntry = GetSettings().GetUILocaleDataWrapper().getDate( aDateTime.GetDate() ); aLBEntry += String::CreateFromAscii( " " ); aLBEntry += GetSettings().GetUILocaleDataWrapper().getTime( aDateTime.GetTime() ); InsertElement( String( ResId( STR_VALIDFROM ) ), aLBEntry, aLBEntry ); utl::typeConvert( xCert->getNotValidAfter(), aDateTime ); aLBEntry = GetSettings().GetUILocaleDataWrapper().getDate( aDateTime.GetDate() ); aLBEntry += String::CreateFromAscii( " " ); aLBEntry += GetSettings().GetUILocaleDataWrapper().getTime( aDateTime.GetTime() ); InsertElement( String( ResId( STR_VALIDTO ) ), aLBEntry, aLBEntry ); aLBEntry = XmlSec::GetPureContent( xCert->getSubjectName(), ", " ); aDetails = XmlSec::GetPureContent( xCert->getSubjectName(), "\n", true ); InsertElement( String( ResId( STR_SUBJECT ) ), aLBEntry, aDetails ); /* aSeq = xCert->getSubjectUniqueID(); aLBEntry = XmlSec::GetHexString( aSeq, pHexSep ); aDetails = XmlSec::GetHexString( aSeq, pHexSep, nLineBreak ); InsertElement( String( ResId( STR_SUBJECT_ID ) ), aLBEntry, aDetails, true ); */ aLBEntry = aDetails = xCert->getSubjectPublicKeyAlgorithm(); InsertElement( String( ResId( STR_SUBJECT_PUBKEY_ALGO ) ), aLBEntry, aDetails ); aSeq = xCert->getSubjectPublicKeyValue(); aLBEntry = XmlSec::GetHexString( aSeq, pHexSep ); aDetails = XmlSec::GetHexString( aSeq, pHexSep, nLineBreak ); InsertElement( String( ResId( STR_SUBJECT_PUBKEY_VAL ) ), aLBEntry, aDetails, true ); aLBEntry = aDetails = xCert->getSignatureAlgorithm(); InsertElement( String( ResId( STR_SIGNATURE_ALGO ) ), aLBEntry, aDetails ); aSeq = xCert->getSHA1Thumbprint(); aLBEntry = XmlSec::GetHexString( aSeq, pHexSep ); aDetails = XmlSec::GetHexString( aSeq, pHexSep, nLineBreak ); InsertElement( String( ResId( STR_THUMBPRINT_SHA1 ) ), aLBEntry, aDetails, true ); aSeq = xCert->getMD5Thumbprint(); aLBEntry = XmlSec::GetHexString( aSeq, pHexSep ); aDetails = XmlSec::GetHexString( aSeq, pHexSep, nLineBreak ); InsertElement( String( ResId( STR_THUMBPRINT_MD5 ) ), aLBEntry, aDetails, true ); FreeResource(); maElementsLB.SetSelectHdl( LINK( this, CertificateViewerDetailsTP, ElementSelectHdl ) ); } CertificateViewerDetailsTP::~CertificateViewerDetailsTP() { Clear(); } void CertificateViewerDetailsTP::ActivatePage() { } IMPL_LINK( CertificateViewerDetailsTP, ElementSelectHdl, void*, EMPTYARG ) { SvLBoxEntry* pEntry = maElementsLB.FirstSelected(); String aElementText; bool bFixedWidthFont; if( pEntry ) { const Details_UserDatat* p = ( Details_UserDatat* ) pEntry->GetUserData(); aElementText = p->maTxt; bFixedWidthFont = p->mbFixedWidthFont; } else bFixedWidthFont = false; maElementML.SetFont( bFixedWidthFont? maFixedWidthFont : maStdFont ); maElementML.SetControlFont( bFixedWidthFont? maFixedWidthFont : maStdFont ); maElementML.SetText( aElementText ); return 0; } struct CertPath_UserData { cssu::Reference< dcss::security::XCertificate > mxCert; String maStatus; bool mbValid; CertPath_UserData( cssu::Reference< dcss::security::XCertificate > xCert, bool bValid): mxCert(xCert), mbValid(bValid) { } }; CertificateViewerCertPathTP::CertificateViewerCertPathTP( Window* _pParent, CertificateViewer* _pDlg ) :CertificateViewerTP ( _pParent, XMLSEC_RES( RID_XMLSECTP_CERTPATH ), _pDlg ) ,maCertPathFT ( this, ResId( FT_CERTPATH ) ) ,maCertPathLB ( this, ResId( LB_SIGNATURES ) ) ,maViewCertPB ( this, ResId( BTN_VIEWCERT ) ) ,maCertStatusFT ( this, ResId( FT_CERTSTATUS ) ) ,maCertStatusML ( this, ResId( ML_CERTSTATUS ) ) ,mpParent ( _pDlg ) ,mbFirstActivateDone ( false ) ,maCertImage ( ResId( IMG_CERT_SMALL ) ) ,maCertNotValidatedImage( ResId( IMG_CERT_NOTVALIDATED_SMALL ) ) ,msCertOK ( ResId( STR_PATH_CERT_OK ) ) ,msCertNotValidated ( ResId( STR_PATH_CERT_NOT_VALIDATED ) ) { FreeResource(); maCertPathLB.SetNodeDefaultImages(); maCertPathLB.SetSublistOpenWithLeftRight(); maCertPathLB.SetSelectHdl( LINK( this, CertificateViewerCertPathTP, CertSelectHdl ) ); maViewCertPB.SetClickHdl( LINK( this, CertificateViewerCertPathTP, ViewCertHdl ) ); // check if buttontext is to wide const long nOffset = 10; String sText = maViewCertPB.GetText(); long nTxtW = maViewCertPB.GetTextWidth( sText ); if ( sText.Search( '~' ) == STRING_NOTFOUND ) nTxtW += nOffset; long nBtnW = maViewCertPB.GetSizePixel().Width(); if ( nTxtW > nBtnW ) { // broaden the button long nDelta = nTxtW - nBtnW; Size aNewSize = maViewCertPB.GetSizePixel(); aNewSize.Width() += nDelta; maViewCertPB.SetSizePixel( aNewSize ); // and give it a new position Point aNewPos = maViewCertPB.GetPosPixel(); aNewPos.X() -= nDelta; maViewCertPB.SetPosPixel( aNewPos ); } } CertificateViewerCertPathTP::~CertificateViewerCertPathTP() { Clear(); } void CertificateViewerCertPathTP::ActivatePage() { if ( !mbFirstActivateDone ) { mbFirstActivateDone = true; Sequence< Reference< security::XCertificate > > aCertPath = mpParent->mxSecurityEnvironment->buildCertificatePath( mpParent->mxCert ); const Reference< security::XCertificate >* pCertPath = aCertPath.getConstArray(); String aState; sal_Int32 i, nCnt = aCertPath.getLength(); SvLBoxEntry* pParent = NULL; for( i = nCnt; i; ) { const Reference< security::XCertificate > rCert = pCertPath[ --i ]; String sName = XmlSec::GetContentPart( rCert->getSubjectName() ); //Verify the certificate sal_Int32 certStatus = mpDlg->mxSecurityEnvironment->verifyCertificate(rCert); //We currently have two status //These errors are alloweds sal_Int32 validCertErrors = css::security::CertificateValidity::VALID | css::security::CertificateValidity::UNKNOWN_REVOKATION; //Build a mask to filter out the allowed errors sal_Int32 mask = ~validCertErrors; // "subtract" the allowed error flags from the result sal_Int32 certErrors = certStatus & mask; bool bCertValid = certErrors > 0 ? false : true; pParent = InsertCert( pParent, sName, rCert, bCertValid); } maCertPathLB.Select( pParent ); maViewCertPB.Disable(); // Own certificate selected while( pParent ) { maCertPathLB.Expand( pParent ); pParent = maCertPathLB.GetParent( pParent ); } CertSelectHdl( NULL ); } } IMPL_LINK( CertificateViewerCertPathTP, ViewCertHdl, void*, EMPTYARG ) { SvLBoxEntry* pEntry = maCertPathLB.FirstSelected(); if( pEntry ) { CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, ((CertPath_UserData*)pEntry->GetUserData())->mxCert, FALSE ); aViewer.Execute(); } return 0; } IMPL_LINK( CertificateViewerCertPathTP, CertSelectHdl, void*, EMPTYARG ) { String sStatus; SvLBoxEntry* pEntry = maCertPathLB.FirstSelected(); if( pEntry ) { CertPath_UserData* pData = (CertPath_UserData*) pEntry->GetUserData(); if ( pData ) sStatus = pData->mbValid ? msCertOK : msCertNotValidated; } maCertStatusML.SetText( sStatus ); maViewCertPB.Enable( pEntry && ( pEntry != maCertPathLB.Last() ) ); return 0; } void CertificateViewerCertPathTP::Clear( void ) { maCertStatusML.SetText( String() ); ULONG i = 0; SvLBoxEntry* pEntry = maCertPathLB.GetEntry( i ); while( pEntry ) { delete ( CertPath_UserData* ) pEntry->GetUserData(); ++i; pEntry = maCertPathLB.GetEntry( i ); } maCertPathLB.Clear(); } SvLBoxEntry* CertificateViewerCertPathTP::InsertCert( SvLBoxEntry* _pParent, const String& _rName, cssu::Reference< dcss::security::XCertificate > rxCert, bool bValid) { Image aImage = bValid ? maCertImage : maCertNotValidatedImage; SvLBoxEntry* pEntry = maCertPathLB.InsertEntry( _rName, aImage, aImage, _pParent ); pEntry->SetUserData( ( void* ) new CertPath_UserData( rxCert, bValid ) ); return pEntry; } ion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-03-25tdf#58745 - Detect end of month when extending a date listAndreas Heinisch
2021-03-23tdf#124176 Use pragma once in s*Vincent LE GARREC
2021-03-08tdf#140796: Wrong English string for U+2060 characterJulien Nabet
2021-02-04have one set of twips<->mm conversionsNoel
2021-02-02Don't bother shrinking row height when changing just one row interactivelyTor Lillqvist
2021-02-01Don't bother shrinking row height when changing just one row interactivelyTor Lillqvist
2021-01-29loplugin:stringviewparam extend to new..Noel
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-11-27tdf#42949 Fix new IWYU warnings in directory sc/Gabor Kelemen
2020-11-17loplugin:stringviewparam check methods tooNoel
2020-10-31Reintroduce ScGlobal::FindUnquoted() nStart parameterEike Rathke
2020-10-20use tools::Long in scNoel
2020-09-09improve loplugin:unusedvarsglobalNoel Grandin
2020-08-12use unique_ptr for ScGlobal::pFieldEditEngineNoel Grandin
2020-08-12use unique_ptr for ScGlobal::pEnglishFormatterNoel Grandin
2020-08-12remove unused pScIntlWrapper field from ScGlobalNoel Grandin
2020-08-12remove unused pRscString fieldNoel Grandin
2020-08-12use unique_ptr for ScAutoFormat in ScGlobalNoel Grandin
2020-08-12use unique_ptr for SvxSearchItem in ScGlobalNoel Grandin
2020-08-12use unique_ptr for ScUserList in ScGlobalNoel Grandin
2020-08-12use unique_ptr for ScFunctionListNoel Grandin
2020-08-12use unique_ptr for ScFunctionMgrNoel Grandin
2020-08-11use unique_ptr for CalendarWrapper in ScGlobalNoel Grandin
2020-08-05remove unused pStrScDoc fieldNoel Grandin
2020-08-04fix more leaks in CppunitTest_sc_cache_testNoel Grandin
2020-08-03fix leak in ScCacheTestNoel Grandin
2020-05-09compact namespace in scNoel Grandin
2020-02-22ScGlobal - change direct access to a static ptr for a getterTomaž Vajngerl
2019-07-17tdf#121039 "Open hyperlink" from context menu does not workSamuel Mehrbrodt
2019-07-17tdf#126393 Select cell even when clicking on a hyperlinkSamuel Mehrbrodt
2019-04-08tdf#124327 sc opengl: fix lack of AA text in chartsMiklos Vajna
2019-03-27no need to allocate aEmptyOUString separatelyNoel Grandin
2019-03-01do not call GetFormatTable() from GetNonThreadedContext() (tdf#121949)Luboš Luňák
2019-02-18Resolves tdf#121596 - Include a key combination to insert thin spacesheiko tietze
2018-12-05loplugin:singlevalfields in scNoel Grandin
2018-11-14tdf#42949 Fix IWYU warnings in include/svl/*Gabor Kelemen
2018-11-13thread-safe ScGlobal::GetUnitConverter()Luboš Luňák
2018-11-08tdf#42949 Fix IWYU warnings in sc/source/core/data/*cxxGabor Kelemen
2018-06-26loplugin:useuniqueptr in ScConsolidateParamNoel Grandin
2018-06-18use std::atomic rather than OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIERLuboš Luňák
2018-05-31move mbThreadedGroupCalcInProgress from ScDocument to ScGlobalLuboš Luňák
2018-05-25tdf#42949 Fix IWYU warnings in sc/inc/[gh]*Gabor Kelemen
2018-05-14Drop module-specific defines of DELETEZGabor Kelemen
2018-05-13Drop newly unused ScGlobal::GetRscStringGabor Kelemen
2018-04-19drop IS_SET macroNoel Grandin
2018-04-18convert DelCellCmd to scoped enumNoel Grandin
2018-03-26tdf#116241 Customizing value highlighting colorsSzymon Kłos