From ac6e8ac7e407887a18bca6c835f85e372a4d0932 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 6 Feb 2014 23:21:40 +0100 Subject: typo fixes in comments Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc --- basegfx/source/matrix/b2dhommatrix.cxx | 4 ++-- basegfx/source/matrix/b3dhommatrix.cxx | 4 ++-- basic/source/classes/sbxmod.cxx | 2 +- basic/source/uno/scriptcont.cxx | 2 +- .../chartapiwrapper/DataSeriesPointWrapper.hxx | 2 +- chart2/source/view/axes/VCartesianAxis.cxx | 2 +- chart2/source/view/charttypes/Splines.cxx | 2 +- chart2/source/view/diagram/VDiagram.cxx | 8 ++++---- comphelper/source/property/propertystatecontainer.cxx | 2 +- cppu/source/typelib/static_types.cxx | 8 ++++---- cppu/source/typelib/typelib.cxx | 10 +++++----- desktop/source/deployment/inc/dp_descriptioninfoset.hxx | 2 +- filter/source/graphicfilter/itiff/ccidecom.hxx | 2 +- filter/source/msfilter/escherex.cxx | 2 +- filter/source/msfilter/msdffimp.cxx | 2 +- forms/source/component/DatabaseForm.cxx | 4 ++-- forms/source/component/ImageControl.cxx | 2 +- forms/source/misc/limitedformats.cxx | 6 +++--- fpicker/source/win32/filepicker/filepickerstate.cxx | 2 +- include/basebmp/rgbmaskpixelformats.hxx | 2 +- include/basegfx/color/bcolormodifier.hxx | 2 +- include/svx/svdoedge.hxx | 2 +- .../lib/uno/bridges/java_remote/java_remote_bridge.java | 2 +- oox/source/drawingml/diagram/diagramlayoutatoms.cxx | 2 +- oox/source/ppt/pptfilterhelpers.cxx | 2 +- sal/qa/rtl/strings/test_ostring_concat.cxx | 2 +- sal/qa/rtl/strings/test_oustring_concat.cxx | 2 +- sc/source/core/tool/scmatrix.cxx | 2 +- sc/source/ui/docshell/externalrefmgr.cxx | 2 +- sc/source/ui/unoobj/shapeuno.cxx | 2 +- .../office/filesystem/OpenOfficeDocFileSystem.java | 2 +- sd/source/ui/func/fuconrec.cxx | 4 ++-- sd/source/ui/slidesorter/view/SlsLayouter.cxx | 2 +- sfx2/source/appl/workwin.cxx | 4 ++-- sfx2/source/doc/guisaveas.cxx | 2 +- svtools/source/dialogs/addresstemplate.cxx | 4 ++-- svx/source/fmcomp/gridctrl.cxx | 5 ++--- svx/source/svdraw/svdoedge.cxx | 2 +- sw/source/core/unocore/unodraw.cxx | 2 +- .../src/com/sun/star/wiki/WikiEditSettingDialog.java | 2 +- toolkit/source/controls/geometrycontrolmodel.cxx | 2 +- toolkit/source/controls/unocontrol.cxx | 2 +- vcl/inc/outfont.hxx | 2 +- vcl/source/gdi/pdfwriter_impl.hxx | 2 +- vcl/source/gdi/pdfwriter_impl2.cxx | 8 ++++---- vcl/source/window/winproc.cxx | 2 +- wizards/com/sun/star/wizards/agenda/AgendaDocument.py | 16 ++++++++-------- wizards/com/sun/star/wizards/form/FieldLinker.java | 6 +++--- xmloff/source/text/txtimp.cxx | 4 ++-- .../source/component/documentdigitalsignatures.cxx | 6 +++--- 50 files changed, 84 insertions(+), 85 deletions(-) diff --git a/basegfx/source/matrix/b2dhommatrix.cxx b/basegfx/source/matrix/b2dhommatrix.cxx index 2d89e41356a5..7b76d075399f 100644 --- a/basegfx/source/matrix/b2dhommatrix.cxx +++ b/basegfx/source/matrix/b2dhommatrix.cxx @@ -230,7 +230,7 @@ namespace basegfx void B2DHomMatrix::shearX(double fSx) { - // #i76239# do not test againt 1.0, but against 0.0. We are talking about a value not on the diagonal (!) + // #i76239# do not test against 1.0, but against 0.0. We are talking about a value not on the diagonal (!) if(!fTools::equalZero(fSx)) { Impl2DHomMatrix aShearXMat; @@ -243,7 +243,7 @@ namespace basegfx void B2DHomMatrix::shearY(double fSy) { - // #i76239# do not test againt 1.0, but against 0.0. We are talking about a value not on the diagonal (!) + // #i76239# do not test against 1.0, but against 0.0. We are talking about a value not on the diagonal (!) if(!fTools::equalZero(fSy)) { Impl2DHomMatrix aShearYMat; diff --git a/basegfx/source/matrix/b3dhommatrix.cxx b/basegfx/source/matrix/b3dhommatrix.cxx index c4b691f6ca02..6e496d1298aa 100644 --- a/basegfx/source/matrix/b3dhommatrix.cxx +++ b/basegfx/source/matrix/b3dhommatrix.cxx @@ -235,7 +235,7 @@ namespace basegfx void B3DHomMatrix::shearXY(double fSx, double fSy) { - // #i76239# do not test againt 1.0, but against 0.0. We are talking about a value not on the diagonal (!) + // #i76239# do not test against 1.0, but against 0.0. We are talking about a value not on the diagonal (!) if(!fTools::equalZero(fSx) || !fTools::equalZero(fSy)) { Impl3DHomMatrix aShearXYMat; @@ -249,7 +249,7 @@ namespace basegfx void B3DHomMatrix::shearXZ(double fSx, double fSz) { - // #i76239# do not test againt 1.0, but against 0.0. We are talking about a value not on the diagonal (!) + // #i76239# do not test against 1.0, but against 0.0. We are talking about a value not on the diagonal (!) if(!fTools::equalZero(fSx) || !fTools::equalZero(fSz)) { Impl3DHomMatrix aShearXZMat; diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 1627f8edf87b..a75922bdc262 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -2640,7 +2640,7 @@ void SbUserFormModule::Unload() aParams[0] >>= nCancel; // basic boolean ( and what the user might use ) can be ambiguous ( e.g. basic true = -1 ) - // test agains 0 ( false ) and assume anything else is true + // test against 0 ( false ) and assume anything else is true // ( Note: ) this used to work ( something changes somewhere ) if (nCancel != 0) { diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index 2e65cc1e0617..35df29c923df 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -428,7 +428,7 @@ sal_Bool SAL_CALL SfxScriptLibraryContainer::verifyLibraryPassword bSuccess = implLoadPasswordLibrary( pImplLib, Name, sal_True ); if( bSuccess ) { - // The library gets modified by verifiying the password, because other- + // The library gets modified by verifying the password, because other- // wise for saving the storage would be copied and that doesn't work // with mtg's storages when the password is verified pImplLib->implSetModified( sal_True ); diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx index 084d57109379..0559a18fefc6 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx @@ -138,7 +138,7 @@ private: //this should only be used, if the DataSeriesPointWrapper is initialized via the XInitialize interface //because a big change in the chartmodel may leed to an dataseriespointer thats not connected to the model anymore - //with the indices instead we are can aleays get the new dataseries + //with the indices instead we are can always get the new dataseries ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > m_xDataSeries; }; diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index 71a816d41ca1..70269b40ae0f 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -1173,7 +1173,7 @@ void VCartesianAxis::get2DAxisMainLine( B2DVector& rStart, B2DVector& rEnd, doub ScreenPosAndLogicPos aNotSoGoodPos( aPosList[1] ); //choose most bottom positions - if( !::rtl::math::approxEqual( fDeltaX, 0.0 ) ) // prefere left-right algnments + if( !::rtl::math::approxEqual( fDeltaX, 0.0 ) ) // prefere left-right alignments { if( aBestPos.aScreenPos.getX() > aNotSoGoodPos.aScreenPos.getX() ) m_aAxisProperties.m_aLabelAlignment = LABEL_ALIGN_RIGHT; diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index 848a6b866a3d..e770b4b15c60 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -94,7 +94,7 @@ private: */ void Calculate(); - /** @descr this function corresponds to the algoritm 4.76 in [2] and + /** @descr this function corresponds to the algorithm 4.76 in [2] and theorem 5.3.7 in [3] [2] Engeln-Müllges, Gisela: Numerik-Algorithmen: Verfahren, Beispiele, Anwendungen diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index a07d26297887..d292c304fabf 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -570,8 +570,8 @@ void VDiagram::createShapes_3d() //perspective { - //ignore distance and focal length from file format and model comcpletely - //use vrp only to indicate the distance of the camera and thus influence the perspecitve + //ignore distance and focal length from file format and model completely + //use vrp only to indicate the distance of the camera and thus influence the perspective xDestProp->setPropertyValue( UNO_NAME_3D_SCENE_DISTANCE, uno::makeAny( static_cast(ThreeDHelper::getCameraDistance( xSourceProp )))); xDestProp->setPropertyValue( UNO_NAME_3D_SCENE_PERSPECTIVE, @@ -591,9 +591,9 @@ void VDiagram::createShapes_3d() //rotation { - //set diagrams rotation is set exclusively vie the transformation matrix + //set diagrams rotation is set exclusively via the transformation matrix //don't set a camera at all! - //the cameras rotation is incorporated into this matrix + //the camera's rotation is incorporated into this matrix ::basegfx::B3DHomMatrix aEffectiveTranformation; aEffectiveTranformation.translate(-FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0, -FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0, -FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0); diff --git a/comphelper/source/property/propertystatecontainer.cxx b/comphelper/source/property/propertystatecontainer.cxx index 2155d555e180..63fbe56fde36 100644 --- a/comphelper/source/property/propertystatecontainer.cxx +++ b/comphelper/source/property/propertystatecontainer.cxx @@ -94,7 +94,7 @@ namespace comphelper return aStates; #ifdef _DEBUG - // precondition: property sequence is sorted (the algorythm below relies on this) + // precondition: property sequence is sorted (the algorithm below relies on this) { const OUString* pNames = _rPropertyNames.getConstArray(); const OUString* pNamesCompare = pNames + 1; diff --git a/cppu/source/typelib/static_types.cxx b/cppu/source/typelib/static_types.cxx index fb146038ea91..c53d21a90cf6 100644 --- a/cppu/source/typelib/static_types.cxx +++ b/cppu/source/typelib/static_types.cxx @@ -63,10 +63,10 @@ void SAL_CALL typelib_typedescriptionreference_getByName( #endif /** - * The double member determin the alignment. - * Under Os2 and MS-Windows the Alignment is min( 8, sizeof( type ) ). - * The aligment of a strukture is min( 8, sizeof( max basic type ) ), the greatest basic type - * determine the aligment. + * The double member determines the alignment. + * Under OS2 and MS-Windows the Alignment is min( 8, sizeof( type ) ). + * The alignment of a structure is min( 8, sizeof( max basic type ) ), the greatest basic type + * determines the alignment. */ struct AlignSize_Impl { diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 4afb43821e45..1520bfa63ae4 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -55,10 +55,10 @@ using ::rtl::OString; #endif /** - * The double member determin the alignment. - * Under Os2 and MS-Windows the Alignment is min( 8, sizeof( type ) ). - * The aligment of a strukture is min( 8, sizeof( max basic type ) ), the greatest basic type - * determine the aligment. + * The double member determines the alignment. + * Under OS2 and MS-Windows the Alignment is min( 8, sizeof( type ) ). + * The alignment of a structure is min( 8, sizeof( max basic type ) ), the greatest basic type + * determines the alignment. */ struct AlignSize_Impl { @@ -89,7 +89,7 @@ static inline sal_Int32 adjustAlignment( sal_Int32 nRequestedAlignment ) } /** - * Calculate the new size of the struktur. + * Calculate the new size of the structure. */ static inline sal_Int32 newAlignedSize( sal_Int32 OldSize, sal_Int32 ElementSize, sal_Int32 NeededAlignment ) diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx index 52ca69cf1626..7c5777dc3b22 100644 --- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx +++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx @@ -219,7 +219,7 @@ private: /** Retrieves a child element which as lang attribute which matches the office locale. Only top-level children are taken into account. It is also assumed that they are all - of the same element type and have a lang attribute. The matching algoritm is according + of the same element type and have a lang attribute. The matching algorithm is according to RFC 3066, with the exception that only one variant is allowed. @param parent the expression used to obtain the parent of the localized children. It can be null. diff --git a/filter/source/graphicfilter/itiff/ccidecom.hxx b/filter/source/graphicfilter/itiff/ccidecom.hxx index efd2d6d23e62..db5295ae97a6 100644 --- a/filter/source/graphicfilter/itiff/ccidecom.hxx +++ b/filter/source/graphicfilter/itiff/ccidecom.hxx @@ -26,7 +26,7 @@ #define CCI_OPTION_2D 1 // 2D compression (instead of 1D) #define CCI_OPTION_EOL 2 // There are EOL-Codes at the end of each line. #define CCI_OPTION_BYTEALIGNEOL 4 // Filling bits before each EOL-Code, so that - // the end of EOL is bytes aligend + // the end of EOL is bytes aligned #define CCI_OPTION_BYTEALIGNROW 8 // Rows always start byte aligned #define CCI_OPTION_INVERSEBITORDER 16 diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 6a8ea7fdd1f0..bda2c1fd4489 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -711,7 +711,7 @@ void EscherPropertyContainer::CreateTextProperties( sal_uInt32 nTextAttr = 0x40004; // rotate text with shape if ( eWM == text::WritingMode_TB_RL ) - { // verical writing + { // vertical writing switch ( eHA ) { case drawing::TextHorizontalAdjust_LEFT : diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 7e6c7f3c3c6e..eb9ab385ba6f 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -3504,7 +3504,7 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte } } else if ( ( nUpper & 4 ) && ( ( nColorCode & 0xfffff8 ) == 0 ) ) - { // case of nUpper == 4 powerpoint takes this as agrument for a colorschemecolor + { // case of nUpper == 4 powerpoint takes this as argument for a colorschemecolor GetColorFromPalette( nUpper, aColor ); } else // attributed hard, maybe with hint to SYSTEMRGB diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 290aba7d93f0..7b4ac6ad56a3 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -266,7 +266,7 @@ Any SAL_CALL ODatabaseForm::queryAggregation(const Type& _rType) throw(RuntimeEx // aggregate interfaces // (ask the aggregated object _after_ the OComponentHelper (base of OFormComponents), - // so calls to the XComponent interface reach us and not the aggreagtion) + // so calls to the XComponent interface reach us and not the aggregation) if (!aReturn.hasValue() && m_xAggregate.is()) aReturn = m_xAggregate->queryAggregation(_rType); } @@ -2740,7 +2740,7 @@ void ODatabaseForm::doShareConnection( const Reference< XPropertySet >& _rxParen OSL_ENSURE( xParentConnComp.is(), "ODatabaseForm::doShareConnection: invalid connection!" ); xParentConnComp->addEventListener( static_cast< XLoadListener* >( this ) ); - // forward the connection to our own aggreagte + // forward the connection to our own aggregate m_bForwardingConnection = sal_True; m_xAggregateSet->setPropertyValue( PROPERTY_ACTIVE_CONNECTION, makeAny( xParentConn ) ); m_bForwardingConnection = sal_False; diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index de07752d77c3..8ec645c141f1 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -212,7 +212,7 @@ StringSequence OImageControlModel::getSupportedServiceNames() throw() //------------------------------------------------------------------------------ Any SAL_CALL OImageControlModel::queryAggregation(const Type& _rType) throw (RuntimeException) { - // Order matters: we want to "override" the XImageProducer interface of the aggreate with out + // Order matters: we want to "override" the XImageProducer interface of the aggregate without // own XImageProducer interface, thus we need to query OImageControlModel_Base first Any aReturn = OImageControlModel_Base::queryInterface( _rType ); diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx index c0632a6a968f..5f0d71ea166c 100644 --- a/forms/source/misc/limitedformats.cxx +++ b/forms/source/misc/limitedformats.cxx @@ -329,7 +329,7 @@ namespace frm OSL_ENSURE(_rOldValue.hasValue(), "OLimitedFormats::convertFormatKeyPropertyValue: did not find the old enum value in the table!"); if (!bFoundIt) - { // somebody gave us an format which we can't translate + { // somebody gave us a format which we can't translate OUString sMessage ("This control supports only a very limited number of formats."); throw IllegalArgumentException(sMessage, NULL, 2); } @@ -347,8 +347,8 @@ namespace frm if (m_xAggregate.is()) { // this is to be called after convertFormatKeyPropertyValue, where - // we translated the format key into a enum value. - // So now we can simply forward this enum value to our aggreate + // we translated the format key into an enum value. + // So now we can simply forward this enum value to our aggregate m_xAggregate->setFastPropertyValue(m_nFormatEnumPropertyHandle, _rNewValue); } } diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx index f178de583973..65e11c542690 100644 --- a/fpicker/source/win32/filepicker/filepickerstate.cxx +++ b/fpicker/source/win32/filepicker/filepickerstate.cxx @@ -115,7 +115,7 @@ Any SAL_CALL CNonExecuteFilePickerState::getValue( sal_Int16 aControlId, sal_Int // with locked SOLAR_MUTEX but we also need SOLAR_MUTEX in // WinFileOpenDialog::onInitDone ... but we cannot dismiss the // assertion dialog because at this point the FileOpen Dialog - // has aleady the focus but is not yet visible :-( + // has already the focus but is not yet visible :-( // The real cure is to remove the VCL/SOLAR_MUTEX dependency // cause by the use of our resource manager and not being able to // generate native windows resources diff --git a/include/basebmp/rgbmaskpixelformats.hxx b/include/basebmp/rgbmaskpixelformats.hxx index 19cf65f97e0d..d82b79bdee7c 100644 --- a/include/basebmp/rgbmaskpixelformats.hxx +++ b/include/basebmp/rgbmaskpixelformats.hxx @@ -113,7 +113,7 @@ template< typename PixelType, const typename base_type::unsigned_pixel_type green(v & GreenMask); const typename base_type::unsigned_pixel_type blue (v & BlueMask); - // shift color nibbles to right-aligend position. ORing it + // shift color nibbles to right-aligned position. ORing it // channel value shifted twice the number of channel bits, to // spread the value into the component_type range ColorType res( (shiftRight(red, diff --git a/include/basegfx/color/bcolormodifier.hxx b/include/basegfx/color/bcolormodifier.hxx index b174f4853f5e..3c398708a717 100644 --- a/include/basegfx/color/bcolormodifier.hxx +++ b/include/basegfx/color/bcolormodifier.hxx @@ -36,7 +36,7 @@ namespace basegfx of these can be asked to get a modified version of a color. This can be as easy as to return a fixed color, but may also do any other computation based on the given source color and the local - algorythm to apply. + algorithm to apply. This base implementation defines the abstract base class. Every derivation offers another color blending effect, when needed with diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx index e0b4d28f74af..48c509adf2dc 100644 --- a/include/svx/svdoedge.hxx +++ b/include/svx/svdoedge.hxx @@ -177,7 +177,7 @@ protected: // #110649# // Flag value for avoiding death loops when calculating BoundRects - // from circularly connected connectors. A coloring algorythm is used + // from circularly connected connectors. A coloring algorithm is used // here. When the GetCurrentBoundRect() calculation of a SdrEdgeObj // is running, the flag is set, else it is always sal_False. bool mbBoundRectCalculationRunning : 1; diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java index 8fdf9bd3154a..841cd7cda412 100644 --- a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java +++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java @@ -162,7 +162,7 @@ public class java_remote_bridge protected IProtocol _iProtocol; protected IEnvironment _java_environment; protected MessageDispatcher _messageDispatcher; - protected int _life_count = 0; // determines if this bridge is alife, which is controlled by acquire and release calls + protected int _life_count = 0; // determines if this bridge is alive, which is controlled by acquire and release calls private final ArrayList _listeners = new ArrayList(); diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx index 2953660ea442..127019fb8028 100644 --- a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx +++ b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx @@ -670,7 +670,7 @@ void ShapeCreationVisitor::visit(LayoutNode& rAtom) void ShapeLayoutingVisitor::defaultVisit(LayoutAtom& rAtom) { - // visit all children, one of them need to be the layout algoritm + // visit all children, one of them needs to be the layout algorithm const std::vector& pChildren=rAtom.getChildren(); std::for_each( pChildren.begin(), pChildren.end(), boost::bind( &LayoutAtom::accept, diff --git a/oox/source/ppt/pptfilterhelpers.cxx b/oox/source/ppt/pptfilterhelpers.cxx index c04c58eab73c..3d3d36c59e38 100644 --- a/oox/source/ppt/pptfilterhelpers.cxx +++ b/oox/source/ppt/pptfilterhelpers.cxx @@ -160,7 +160,7 @@ namespace oox { namespace ppt { // this was ppt_ without an interesting thing after that // just copy it verbatim sRes.append("ppt_"); - // we are going to ajust for ppt_@ after the swtich + // we are going to adjust for ppt_@ after the swtich // so compensate for the fact we did not really process // an extra character after ppt_ nIndex -= 1; diff --git a/sal/qa/rtl/strings/test_ostring_concat.cxx b/sal/qa/rtl/strings/test_ostring_concat.cxx index b734cac01467..9c5cbd940bbc 100644 --- a/sal/qa/rtl/strings/test_ostring_concat.cxx +++ b/sal/qa/rtl/strings/test_ostring_concat.cxx @@ -59,7 +59,7 @@ CPPUNIT_TEST_SUITE_END(); #endif void test::ostring::StringConcat::checkConcat() { -// All the extra () are to protect commas againsts being treated as separators of macro arguments. +// All the extra () are to protect commas against being treated as separators of macro arguments. CPPUNIT_ASSERT_EQUAL( OString(), OString(OString() + OString())); CPPUNIT_ASSERT_EQUAL( OString( "foobar" ), OString( OString( "foo" ) + OString( "bar" ))); TYPES_ASSERT_EQUAL(( typeid( OStringConcat< OString, OString > )), typeid( OString( "foo" ) + OString( "bar" ))); diff --git a/sal/qa/rtl/strings/test_oustring_concat.cxx b/sal/qa/rtl/strings/test_oustring_concat.cxx index 9cde7b80bc66..251460e328ca 100644 --- a/sal/qa/rtl/strings/test_oustring_concat.cxx +++ b/sal/qa/rtl/strings/test_oustring_concat.cxx @@ -59,7 +59,7 @@ CPPUNIT_TEST_SUITE_END(); #endif void test::oustring::StringConcat::checkConcat() { -// All the extra () are to protect commas againsts being treated as separators of macro arguments. +// All the extra () are to protect commas against being treated as separators of macro arguments. CPPUNIT_ASSERT_EQUAL( OUString(), OUString(OUString() + OUString())); CPPUNIT_ASSERT_EQUAL( OUString( "foobar" ), OUString( OUString( "foo" ) + OUString( "bar" ))); TYPES_ASSERT_EQUAL(( typeid( OUStringConcat< OUString, OUString > )), typeid( OUString( "foo" ) + OUString( "bar" ))); diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index c6a49548642c..74f7fa3d9528 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -1100,7 +1100,7 @@ public: void operator() (const MatrixImplType::element_block_node_type& node) { - // early exit if match aleady found + // early exit if match already found if (mnResult != ResultNotSet) return; diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index 8c312ac97004..343194f556f1 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -2354,7 +2354,7 @@ bool ScExternalRefManager::isFileLoadable(const OUString& rFile) const void ScExternalRefManager::maybeLinkExternalFile(sal_uInt16 nFileId) { if (maLinkedDocs.count(nFileId)) - // file alerady linked, or the link has been broken. + // file already linked, or the link has been broken. return; // Source document not linked yet. Link it now. diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx index 7259aae509ad..cf1de02f53d0 100644 --- a/sc/source/ui/unoobj/shapeuno.cxx +++ b/sc/source/ui/unoobj/shapeuno.cxx @@ -1363,7 +1363,7 @@ uno::Sequence SAL_CALL ScShapeObj::getImplementationId() if( xAggShape.is() ) { const OUString aShapeType( xAggShape->getShapeType() ); - // did we already compute an implementation id for the agregated shape type? + // did we already compute an implementation id for the aggregated shape type? ScShapeImplementationIdMap::iterator aIter( aImplementationIdMap.find(aShapeType ) ); if( aIter == aImplementationIdMap.end() ) { diff --git a/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java b/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java index ffb4a5febaed..e41625d18245 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java @@ -1014,7 +1014,7 @@ System.out.println(" exception: " + ioe.getMessage()); public long getTime() { - // ajust last modified time to the java.io.File + // adjust last modified time to the java.io.File return (time >= 0)? time: 0; } diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx index 85574df226e6..7e611a3a6a5a 100644 --- a/sd/source/ui/func/fuconrec.cxx +++ b/sd/source/ui/func/fuconrec.cxx @@ -244,7 +244,7 @@ sal_Bool FuConstructRectangle::MouseButtonUp(const MouseEvent& rMEvt) pObj->SetLayer(rAdmin.GetLayerID(aStr, false)); } - // init text position when vertica caption object is created + // init text position when vertical caption object is created if(pObj->ISA(SdrCaptionObj) && SID_DRAW_CAPTION_VERTICAL == nSlotId) { // draw text object, needs to be initialized when vertical text is used @@ -255,7 +255,7 @@ sal_Bool FuConstructRectangle::MouseButtonUp(const MouseEvent& rMEvt) // Correct the value of SDRATTR_TEXTDIRECTION to avoid SetItemSet // calling SetVerticalWriting() again since this item may not yet - // be set at the object and thus may differ from verical state of + // be set at the object and thus may differ from vertical state of // the object. aSet.Put(SvxWritingModeItem(com::sun::star::text::WritingMode_TB_RL, SDRATTR_TEXTDIRECTION)); pObj->SetMergedItemSet(aSet); diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx index c4b6ae29a9b3..dd0bed3077b0 100644 --- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx @@ -107,7 +107,7 @@ public: GapMembership eGapMembership = GM_NONE) const; /** Calculate the column that the point with the given horizontal - coordinate is over. The verical component is ignored. + coordinate is over. The vertical component is ignored. @param nXPosition Horizontal position in model coordinates. @param bIncludeBordersAndGaps diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 0c588bf70a7a..e141d8456d48 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -2022,7 +2022,7 @@ void SfxWorkWindow::SetChildWindowVisible_Impl( sal_uInt32 lId, sal_Bool bEnable } //-------------------------------------------------------------------- -// The on/of-Status of a ChildWindows is switched +// The on/off status of a ChildWindow is switched void SfxWorkWindow::ToggleChildWindow_Impl(sal_uInt16 nId, sal_Bool bSetFocus) { @@ -2034,7 +2034,7 @@ void SfxWorkWindow::ToggleChildWindow_Impl(sal_uInt16 nId, sal_Bool bSetFocus) if ( npWin; diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index effac011e496..e24dffc71084 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -781,7 +781,7 @@ sal_Int8 ModelData_Impl::CheckFilter( const OUString& aFilterName ) && aDefFiltPropsHM.size() && ( nDefFiltFlags & SFX_FILTER_EXPORT ) && !( nDefFiltFlags & SFX_FILTER_INTERNAL )) { - // the default filter is acceptable and the old filter is alian one + // the default filter is acceptable and the old filter is alien one // so ask to make a saveAs operation OUString aUIName = aFiltPropsHM.getUnpackedValueOrDefault("UIName", OUString() ); diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 597c741e4995..7c1edfc554c3 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -169,7 +169,7 @@ public: ,m_sDSName( _rDataSourceName ) ,m_sTableName( _rTableName ) { - // fill our aliaes structure + // fill our aliases structure // first collect all known programmatic names StringBag aKnownNames; @@ -182,7 +182,7 @@ public: } while ( nIndex >= 0); - // loop throuzh the given names + // loop through the given names const AliasProgrammaticPair* pFields = _rFields.getConstArray(); const AliasProgrammaticPair* pFieldsEnd = pFields + _rFields.getLength(); for (;pFields != pFieldsEnd; ++pFields) diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 530362782596..ee5be0e6a3d4 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -325,9 +325,8 @@ void DbGridControl::NavigationBar::PositionDataSource(sal_Int32 nRecord) { if (m_bPositioning) return; - // the MoveToPosition may cause a LoseFocus which would lead to a second MoveToPosition, so protect agains this - // recursion - // 68167 - 13.08.99 - FS + // the MoveToPosition may cause a LoseFocus which would lead to a second MoveToPosition, + // so protect against this recursion m_bPositioning = sal_True; ((DbGridControl*)GetParent())->MoveToPosition(nRecord - 1); m_bPositioning = sal_False; diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index d5c325bcce4b..29801861f98d 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -581,7 +581,7 @@ void SdrEdgeObj::ImpRecalcEdgeTrack() mbSuppressed = false; } - // To not run in a depth loop, use a coloring algorythm on + // To not run in a depth loop, use a coloring algorithm on // SdrEdgeObj BoundRect calculations mbBoundRectCalculationRunning = true; diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index c0ef2c65b927..5fcb68465017 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -1044,7 +1044,7 @@ uno::Sequence< sal_Int8 > SwXShape::getImplementationId( ) throw(uno::RuntimeEx if( xAggShape.is() ) { const OUString aShapeType( xAggShape->getShapeType() ); - // did we already compute an implementation id for the agregated shape type? + // did we already compute an implementation id for the aggregated shape type? SwShapeImplementationIdMap::iterator aIter( aImplementationIdMap.find(aShapeType ) ); if( aIter == aImplementationIdMap.end() ) { diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java index 592b7489b341..6c884520563d 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java @@ -285,7 +285,7 @@ public class WikiEditSettingDialog extends WikiDialog { if ( sURL.length() > 0 && !sURL.endsWith( "index.php" ) && bAllowIndex ) { - // the used MainURL is not alwais directly accessible + // the used MainURL is not always directly accessible // add the suffix as workaround, but only once sRedirectURL = sURL + "/index.php"; bAllowIndex = false; diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx index b512ffe587d5..fca475abb0cb 100644 --- a/toolkit/source/controls/geometrycontrolmodel.cxx +++ b/toolkit/source/controls/geometrycontrolmodel.cxx @@ -87,7 +87,7 @@ { m_xAggregate = _pAggregateInstance; - { // check if the aggregat is cloneable + { // check if the aggregate is cloneable Reference< XCloneable > xCloneAccess(m_xAggregate, UNO_QUERY); m_bCloneable = xCloneAccess.is(); } diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index c6d268db790f..2a06319dcfc3 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -1407,7 +1407,7 @@ void UnoControl::setDesignMode( sal_Bool bOn ) throw(RuntimeException) // so the old one must be declared DEFUNC) DisposeAccessibleContext(xAccessibleComp); - // ajust the visibility of our window + // adjust the visibility of our window if ( xWindow.is() ) xWindow->setVisible( !bOn ); diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx index 8229169ddbbc..348dc51a12b5 100644 --- a/vcl/inc/outfont.hxx +++ b/vcl/inc/outfont.hxx @@ -102,7 +102,7 @@ public: // TODO: create matching interface class bool IsSubsettable() const { return mbSubsettable; } public: // TODO: hide members behind accessor methods - OUString maMapNames; // List of family name aliass separated with ';' + OUString maMapNames; // List of family name aliases separated with ';' int mnQuality; // Quality (used when similar fonts compete) bool mbOrientation; // true: physical font can be rotated bool mbDevice; // true: built in font diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 40f780c5a9fd..52373f082ccf 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -796,7 +796,7 @@ i12626 /* the encryption key, formed with the user password according to algorithm 3.2, maximum length is 16 bytes + 3 + 2 for 128 bit security */ sal_Int32 m_nKeyLength; // key length, 16 or 5 - sal_Int32 m_nRC4KeyLength; // key length, 16 or 10, to be input to the algorith 3.1 + sal_Int32 m_nRC4KeyLength; // key length, 16 or 10, to be input to the algorithm 3.1 /* set to true if the following stream must be encrypted, used inside writeBuffer() */ bool m_bEncryptThisStream; diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 135d5b0a43a2..bea5e7dc2c2c 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1165,13 +1165,13 @@ void PDFWriterImpl::checkAndEnableStreamEncryption( register sal_Int32 nObject ) m_aContext.Encryption.EncryptionKey[i++] = (sal_uInt8)nObject; m_aContext.Encryption.EncryptionKey[i++] = (sal_uInt8)( nObject >> 8 ); m_aContext.Encryption.EncryptionKey[i++] = (sal_uInt8)( nObject >> 16 ); - //the other location of m_nEncryptionKey are already set to 0, our fixed generation number + // the other location of m_nEncryptionKey is already set to 0, our fixed generation number // do the MD5 hash sal_uInt8 nMD5Sum[ RTL_DIGEST_LENGTH_MD5 ]; // the i+2 to take into account the generation number, always zero rtl_digest_MD5( &m_aContext.Encryption.EncryptionKey[0], i+2, nMD5Sum, sizeof(nMD5Sum) ); // initialize the RC4 with the key - // key legth: see algoritm 3.1, step 4: (N+5) max 16 + // key length: see algorithm 3.1, step 4: (N+5) max 16 rtl_cipher_initARCFOUR( m_aCipher, rtl_Cipher_DirectionEncode, nMD5Sum, m_nRC4KeyLength, NULL, 0 ); } } @@ -1184,13 +1184,13 @@ void PDFWriterImpl::enableStringEncryption( register sal_Int32 nObject ) m_aContext.Encryption.EncryptionKey[i++] = (sal_uInt8)nObject; m_aContext.Encryption.EncryptionKey[i++] = (sal_uInt8)( nObject >> 8 ); m_aContext.Encryption.EncryptionKey[i++] = (sal_uInt8)( nObject >> 16 ); - //the other location of m_nEncryptionKey are already set to 0, our fixed generation number + // the other location of m_nEncryptionKey is already set to 0, our fixed generation number // do the MD5 hash sal_uInt8 nMD5Sum[ RTL_DIGEST_LENGTH_MD5 ]; // the i+2 to take into account the generation number, always zero rtl_digest_MD5( &m_aContext.Encryption.EncryptionKey[0], i+2, nMD5Sum, sizeof(nMD5Sum) ); // initialize the RC4 with the key - // key legth: see algoritm 3.1, step 4: (N+5) max 16 + // key length: see algorithm 3.1, step 4: (N+5) max 16 rtl_cipher_initARCFOUR( m_aCipher, rtl_Cipher_DirectionEncode, nMD5Sum, m_nRC4KeyLength, NULL, 0 ); } } diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 7fb2cf8092ce..5ab7b975561c 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1454,7 +1454,7 @@ static bool ImplHandleWheelEvent( Window* pWindow, const SalWheelMouseEvent& rEv bRet = ImplCallWheelCommand( pMouseWindow, aRelMousePos, &aWheelData ); } - // if the commad was not handled try the focus window + // if the command was not handled try the focus window if ( bRet ) { Window* pFocusWindow = pWindow->ImplGetWindowImpl()->mpFrameData->mpFocusWin; diff --git a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py index 180b83f261cc..77a55ee5eab0 100644 --- a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py +++ b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py @@ -106,7 +106,7 @@ class AgendaDocument(TextDocument): def calcTemplateName(self, url): return FileAccess.connectURLs( FileAccess.getParentDir(url), FileAccess.getFilename(url)[3:]) - + '''synchronize the document to the model.
this method rewrites all titles, item tables , and the topics table- thus synchronizing the document to the data model (CGAgenda). @@ -142,7 +142,7 @@ class AgendaDocument(TextDocument): except Exception: traceback.print_exc() self.xTextDocument.unlockControllers() - + ''' checks the data model if the item corresponding to the given string should be shown @@ -199,7 +199,7 @@ class AgendaDocument(TextDocument): self.resources.resPlaceHolderHint, self.xTextDocument)) self.itemsCache[ self.templateConsts.FILLIN_READ] = \ - AgendaItem (self.templateConsts.FILLIN_READ, + AgendaItem (self.templateConsts.FILLIN_READ, self.resources.itemRead, PlaceholderElement ( self.resources.reschkRead_value, @@ -630,7 +630,7 @@ class ItemsTable(object): self.agenda.textSectionHandler.breakLinkOfTextSection( self.section) # we need to get a instance after linking - + ItemsTable.table = self.agenda.getTable(name) self.section = self.agenda.getSection(name) cursor = ItemsTable.table.createCursorByCellName("A1") @@ -640,8 +640,8 @@ class ItemsTable(object): cellName = "" ''' now go through all items that belong to this - table. Check each one agains the model. If it should - be display, call it's write method. + table. Check each one against the model. If it should + be displayed, call its write method. All items are of type AgendaItem which means they write two cells to the table: a title (text) and a placeholder. see AgendaItem class below. @@ -813,11 +813,11 @@ class Topics(object): # move the cursor to the needed cell... cursor.goRight(column, False) - + xc = Topics.table.getCellByName(cursor.RangeName) # and write it ! te = TextElement(xc, data[column].Value) - te.write() + te.write() '''removes obsolete rows, reducing the topics table to the given number of topics. diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java index ea49e77db444..82899b92b532 100644 --- a/wizards/com/sun/star/wizards/form/FieldLinker.java +++ b/wizards/com/sun/star/wizards/form/FieldLinker.java @@ -224,7 +224,7 @@ public class FieldLinker extends DBLimitedFieldSelection String[] MasterLinkNames = JavaTools.ArrayOutOfMultiDimArray(_LinkFieldNames, SOMASTERINDEX); int SOSLAVEINDEX = 0; String[] SlaveLinkNames = JavaTools.ArrayOutOfMultiDimArray(_LinkFieldNames, SOSLAVEINDEX); - String[] ViewMasterFieldNames = addNoneFieldItemToList(_AllMasterFieldNames); // add '-undefiened-' + String[] ViewMasterFieldNames = addNoneFieldItemToList(_AllMasterFieldNames); // add '-undefined-' String[] ViewSlaveFieldNames = addNoneFieldItemToList(_AllSlaveFieldNames); for (int i = 0; i < super.rowcount; i++) { @@ -249,7 +249,7 @@ public class FieldLinker extends DBLimitedFieldSelection /** * @return the LinkFieldnames of the joins. When no LinkFieldNames were selected the returned Array is empty. * When Joins were assigned duplicate a null value is returned - * + * */ public String[][] getLinkFieldNames() { @@ -274,7 +274,7 @@ public class FieldLinker extends DBLimitedFieldSelection return null; } return LinkFieldNames; - + } public void enable(boolean _bdoenable) diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index 0f47e718d7ea..833e5ebfa781 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -1405,7 +1405,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs( sal_Bool bPara, sal_Bool bOutlineLevelAttrFound, sal_Int8 nOutlineLevel, - // Numberings/Bullets in table not visible aftzer save/reload (#i80724#) + // Numberings/Bullets in table not visible after save/reload (#i80724#) sal_Bool bSetListAttrs ) { static OUString s_ParaStyleName( "ParaStyleName"); @@ -1462,7 +1462,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs( is not inside a list and if it by default applies the outline style. (#i70748#) */ bool bApplyOutlineLevelAsListLevel( false ); - // Numberings/Bullets in table not visible aftzer save/reload (#i80724#) + // Numberings/Bullets in table not visible after save/reload (#i80724#) if (bSetListAttrs && bPara && xPropSetInfo->hasPropertyByName( s_NumberingRules)) { diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index 0fa1b1c40cdb..bf64632a6d9f 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -313,8 +313,8 @@ DocumentDigitalSignatures::ImplVerifySignatures( // Verify certificate //We have patched our version of libxmlsec, so that it does not verify the certificates. This has two //reasons. First we want two separate status for signature and certificate. Second libxmlsec calls - //CERT_VerifyCertificate (solaris, linux) falsly, so that it always regards the certificate as valid. - //On Window the checking of the certificate path is buggy. It does name matching (issuer, subject name) + //CERT_VerifyCertificate (Solaris, Linux) falsely, so that it always regards the certificate as valid. + //On Windows the checking of the certificate path is buggy. It does name matching (issuer, subject name) //to find the parent certificate. It does not take into account that there can be several certificates //with the same subject name. if (rSigInfo.Signer.is()) @@ -329,7 +329,7 @@ DocumentDigitalSignatures::ImplVerifySignatures( } else { - //We should always be aible to get the certificates because it is contained in the document, + //We should always be able to get the certificates because it is contained in the document, //unless the document is damaged so that signature xml file could not be parsed. rSigInfo.CertificateStatus = css::security::CertificateValidity::INVALID; } -- cgit