You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2019/12/22 18:36:13 UTC
[openoffice] branch trunk updated: Fixed typos
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 596824e Fixed typos
596824e is described below
commit 596824ea3516a4c956413253fe2d451036b4e4e9
Author: mseidel <ms...@apache.org>
AuthorDate: Sun Dec 22 19:35:34 2019 +0100
Fixed typos
---
main/filter/source/pdf/pdfexport.cxx | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/main/filter/source/pdf/pdfexport.cxx b/main/filter/source/pdf/pdfexport.cxx
index 9c0153a..206c542 100644
--- a/main/filter/source/pdf/pdfexport.cxx
+++ b/main/filter/source/pdf/pdfexport.cxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -210,7 +210,7 @@ sal_Bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter, Reference< com:
// #119348# The PageNumber at PDFExtOutDevDatahas to be the target page number,
// e.g. when exporting only page#2 from two pages, the old mechanism would
- // have set it to '1', but a �page '1' does not yet exist in the export. This
+ // have set it to '1', but a page '1' does not yet exist in the export. This
// will make PDFWriterImpl::createLink and PDFWriterImpl::setLinkURL fail (see there).
pPDFExtOutDevData->SetCurrentPageNumber(nIncreasingPageNumber++ /* nSel - 1 */);
@@ -299,7 +299,7 @@ void PDFExportStreamDoc::write( const Reference< XOutputStream >& xStream )
aArgs.getArray()[2].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "EncryptionData" ) );
aArgs.getArray()[2].Value <<= m_aPreparedPassword;
}
-
+
try
{
xStore->storeToURL( OUString( RTL_CONSTASCII_USTRINGPARAM( "private:stream" ) ),
@@ -728,7 +728,7 @@ sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue
}
// after this point we don't need the legacy clear passwords anymore
// however they are still inside the passed filter data sequence
- // which is sadly out out our control
+ // which is sadly out of our control
aPermissionPassword = rtl::OUString();
aOpenPassword = rtl::OUString();
@@ -763,7 +763,7 @@ sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue
aContext.BaseURL = xModel->getURL();
//relative link option is private to PDF Export filter and limited to local filesystem only
aContext.RelFsys = mbExportRelativeFsysLinks;
-//determine the default acton for PDF links
+//determine the default action for PDF links
switch( mnDefaultLinkAction )
{
default:
@@ -1041,7 +1041,7 @@ sal_Bool PDFExport::ImplExportPage( PDFWriter& rWriter, PDFExtOutDevData& rPDFEx
basegfx::B2DRectangle aB2DRect( aPageRect.Left(), aPageRect.Top(), aPageRect.Right(), aPageRect.Bottom() );
rWriter.SetClipRegion( basegfx::B2DPolyPolygon( basegfx::tools::createPolygonFromRect( aB2DRect ) ) );
-
+
rWriter.PlayMetafile( aMtf, aCtx, &rPDFExtOutDevData );
rPDFExtOutDevData.ResetSyncData();
@@ -1125,4 +1125,3 @@ void PDFExport::ImplWriteWatermark( PDFWriter& rWriter, const Size& rPageSize )
rWriter.Pop();
}
-