From f891d8cf6bb6f2db1b72cba64036b5f1fb858309 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 17:49:51 +0200 Subject: Fix typos Change-Id: I9dbe1e05cf73af20c25392e639a807854e87fc6e Reviewed-on: https://gerrit.libreoffice.org/18946 Reviewed-by: Oliver Specht Tested-by: Oliver Specht --- drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 2 +- drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 12 ++++++------ drawinglayer/source/processor2d/vclprocessor2d.cxx | 2 +- drawinglayer/source/texture/texture.cxx | 2 +- drawinglayer/source/tools/converters.cxx | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'drawinglayer') diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx index 93919c0019a2..9b28e0c6cd2c 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx @@ -211,7 +211,7 @@ namespace drawinglayer // static global VDev buffer for the VclProcessor2D's (VclMetafileProcessor2D and VclPixelProcessor2D) VDevBuffer& getVDevBuffer() { - // secure global instance with Vcl's safe desroyer of external (seen by + // secure global instance with Vcl's safe destroyer of external (seen by // library base) stuff, the remembered VDevs need to be deleted before // Vcl's deinit static vcl::DeleteOnDeinit< VDevBuffer > aVDevBuffer(new VDevBuffer()); diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 24c92622b120..43819d433953 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -703,13 +703,13 @@ namespace drawinglayer Support for vcl::PDFExtOutDevData: PL knows that SJ did that stuff, it's used to hold a pointer to PDFExtOutDevData at the OutDev. When set, some extra data is written there. Trying simple PDF export and - watching if i get those infos. + watching if I get those infos. Well, a PDF export does not use e.g. ImpEditEngine::Paint since the PdfFilter uses the SdXImpressDocument::render and thus uses the VclMetafileProcessor2D. I will check - if i get a PDFExtOutDevData at the target output device. - Indeed, i get one. Checking what all may be done when that extra-device-info is there. + if I get a PDFExtOutDevData at the target output device. + Indeed, I get one. Checking what all may be done when that extra-device-info is there. - All in all i have to talk to SJ. I will need to emulate some of those actions, but + All in all I have to talk to SJ. I will need to emulate some of those actions, but i need to discuss which ones. In the future, all those infos would be taken from the primitive sequence anyways, thus these extensions would potentially be temporary, too. @@ -730,7 +730,7 @@ namespace drawinglayer vcl::PDFWriter::AnyWidget is filled out, which is already part of vcl. Wrote an eMail to FS, he is on vacation currently. I see no reason why not to move that stuff to somewhere else, maybe tools or svtools ?!? We will see... - Moved to toolkit, so i have to link against it. I tried VCL first, but it did + Moved to toolkit, so I have to link against it. I tried VCL first, but it did not work since VCLUnoHelper::CreateFont is unresolved in VCL (!). Other then the name may imply, it is defined in toolkit (!). Since toolkit is linked against VCL itself, the lowest movement plane is toolkit. @@ -1957,7 +1957,7 @@ namespace drawinglayer // - uses DrawTransparent with metafile for content and a gradient // i can detect this here with checking the gradient part for a single // FillGradientPrimitive2D and reconstruct the gradient. - // If that detection goes wrong, i have to create an transparence-blended bitmap. Eventually + // If that detection goes wrong, I have to create an transparence-blended bitmap. Eventually // do that in stripes, else RenderTransparencePrimitive2D may just be used const primitive2d::TransparencePrimitive2D& rTransparenceCandidate = static_cast< const primitive2d::TransparencePrimitive2D& >(rCandidate); const primitive2d::Primitive2DSequence rContent = rTransparenceCandidate.getChildren(); diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index 5dbe75d005f3..5116730ffd68 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -448,7 +448,7 @@ namespace drawinglayer // renderer on pixel base to ensure tight fitting. Do not do this when // the fill is rotated or sheared. - // ovveride static bool (for debug) and tiling is active + // override static bool (for debug) and tiling is active if(bTryTilingDirect && rFillGraphicAttribute.getTiling()) { // content is bitmap(ex) diff --git a/drawinglayer/source/texture/texture.cxx b/drawinglayer/source/texture/texture.cxx index 89953e624395..4ede3c19c1f4 100644 --- a/drawinglayer/source/texture/texture.cxx +++ b/drawinglayer/source/texture/texture.cxx @@ -254,7 +254,7 @@ namespace drawinglayer aNew.scale(mfUnitWidth, 1.0); aNew.translate(mfUnitMinX, 0.0); - // already centerd in Y on X-Axis, just scale in Y + // already centered in Y on X-Axis, just scale in Y aNew.scale(1.0, 1.0 - fPos); // set at target diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index 7f0af9ed3bc3..c903a5f5f31e 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -126,7 +126,7 @@ namespace drawinglayer pContentProcessor->process(xSeq); delete pContentProcessor; - // get alpha cahannel from vdev + // get alpha channel from vdev maContent->EnableMapMode(false); const Bitmap aAlpha(maContent->GetBitmap(aEmptyPoint, aSizePixel)); #ifdef DBG_UTIL -- cgit