Fix typos

Change-Id: Ie63c7b2d8bf9579b7b41d7bae515818c8d5706dc
Reviewed-on: https://gerrit.libreoffice.org/77217
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2019-08-09 18:02:08 +02:00
committed by Julien Nabet
parent b8c87fa294
commit e6c036915b
13 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ void SAL_CALL OfficeDocumentsManager::documentEventOccured(
// Document has been closed (unloaded)
// Official event "OnUnload" does not work here. Event
// gets fired to early. Other OnUnload listeners called after this
// gets fired too early. Other OnUnload listeners called after this
// listener may still need TDOC access to the document. Remove the
// document from TDOC docs list on XCloseListener::notifyClosing.
// See OfficeDocumentsManager::OfficeDocumentsListener::notifyClosing.
+1 -1
View File
@@ -43,7 +43,7 @@ void Uri::init() const
m_eState = INVALID;
// Check for proper length: must be at least length of <sheme>:/
// Check for proper length: must be at least length of <scheme>:/
if ( m_aUri.getLength() < TDOC_URL_SCHEME_LENGTH + 2 )
{
// Invalid length (to short).
@@ -110,7 +110,7 @@ public:
std::vector< OUString > & resources );
// return true, if all properties contained in rProps are contained in
// this ContentProperties instance. Otherwiese, false will be returned.
// this ContentProperties instance. Otherwise, false will be returned.
// rNamesNotContained contain the missing names.
bool containsAllNames(
const css::uno::Sequence< css::beans::Property >& rProps,
@@ -1115,7 +1115,7 @@ bool DAVResourceAccess::detectRedirectCycle(
// Check for maximum number of redirections
// according to <https://tools.ietf.org/html/rfc7231#section-6.4>.
// A pratical limit may be 5, due to earlier specifications:
// A practical limit may be 5, due to earlier specifications:
// <https://tools.ietf.org/html/rfc2068#section-10.3>
// it can be raised keeping in mind the added net activity.
if( static_cast< size_t >( g_nRedirectLimit ) <= m_aRedirectURIs.size() )
+2 -2
View File
@@ -241,7 +241,7 @@ Content::Content(
}
// ctr for content on an non-existing webdav resource
// ctr for content on a non-existing webdav resource
Content::Content(
const uno::Reference< uno::XComponentContext >& rxContext,
ContentProvider* pProvider,
@@ -1977,7 +1977,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
for ( const auto& rProppatchValue : aProppatchValues )
{
aEvent.PropertyName = rProppatchValue.name;
aEvent.OldValue = uno::Any(); // @@@ to expensive to obtain!
aEvent.OldValue = uno::Any(); // @@@ too expensive to obtain!
aEvent.NewValue = rProppatchValue.value;
aChanges.getArray()[ nChanged ] = aEvent;
+1 -1
View File
@@ -102,7 +102,7 @@ public:
bool bIncludeUnmatched = true );
// return true, if all properties contained in rProps are contained in
// this ContentProperties instance. Otherwiese, false will be returned.
// this ContentProperties instance. Otherwise, false will be returned.
// rNamesNotContained contain the missing names.
bool containsAllNames(
const css::uno::Sequence< css::beans::Property >& rProps,
+2 -2
View File
@@ -221,7 +221,7 @@ Content::Content(
}
// ctr for content on an non-existing webdav resource
// ctr for content on a non-existing webdav resource
Content::Content(
const uno::Reference< uno::XComponentContext >& rxContext,
ContentProvider* pProvider,
@@ -1843,7 +1843,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
for ( const auto& rProppatchValue : aProppatchValues )
{
aEvent.PropertyName = rProppatchValue.name;
aEvent.OldValue = uno::Any(); // @@@ to expensive to obtain!
aEvent.OldValue = uno::Any(); // @@@ too expensive to obtain!
aEvent.NewValue = rProppatchValue.value;
aChanges.getArray()[ nChanged ] = aEvent;
@@ -944,7 +944,7 @@ void generateSkeleton(ProgramOptions const & options,
}
if (options.componenttype == 3) {
// the Protocolhandler service is mandatory for an protocol handler add-on,
// the Protocolhandler service is mandatory for a protocol handler add-on,
// so it is defaulted. The XDispatchProvider provides Dispatch objects for
// certain functions and the generated impl object implements XDispatch
// directly for simplicity reasons.
@@ -1093,7 +1093,7 @@ void generateCalcAddin(ProgramOptions const & options,
// if backwardcompatible==true the AddIn service needs to be added to the
// supported service list, the necessary intefaces are mapped to the add-in
// configuration. Since OO.org 2.0.4 this is obsolete and the add-in is
// take form the configuration from Calc directly, this simplifies the
// taken from the configuration from Calc directly, this simplifies the
// add-in code
if (options.backwardcompatible) {
checkType(manager, "com.sun.star.sheet.AddIn",
+2 -2
View File
@@ -189,11 +189,11 @@ OUString FilterDialog::impl_buildUIFileName( const OUString& sName )
if (osl::FileBase::getSystemPathFromFileURL(sName, sShortName) == osl::FileBase::E_None)
{
// it's a system file ... build short name by using osl functionality
// it's a system file... build short name by using osl functionality
}
else
{
// otherwise its really a url ... build short name by using INetURLObject
// otherwise it's really a URL... build short name by using INetURLObject
css::uno::Reference< css::util::XStringWidth > xStringCalculator(new StringCalculator(m_xFtURL.get()));
if( xStringCalculator.is() )
{
+2 -2
View File
@@ -110,7 +110,7 @@ emf/wmf is translated to GDIMetafile in import filter
vcl/source/filter/wmf and so special handling ends here
emf+ is encapsulated into GDIMetafile inside comment records and
parsed/rendered later, when it reaches cppcanvas. it is parsed and
parsed/rendered later, when it reaches cppcanvas. It is parsed and
rendered in cppcanvas/source/mtfrenderer. also note that there are
emf+-only and emf+-dual files. dual files contains both types of
records (emf and emf+) for rendering the images. these can used also
@@ -196,7 +196,7 @@ compression is disabled (so the PDF file is directly readable) and
the MARK function puts comments into the PDF file about which method
generated the following PDF content.
The compression can be disabled even using a env. var:
The compression can be disabled even using an env. var:
export VCL_DEBUG_DISABLE_PDFCOMPRESSION=1
+1 -1
View File
@@ -30,7 +30,7 @@ between calls:
Update();
Unfortunately use of such protection is/was ad-hoc, and far
from uniform, despite the prevelance of such potential problems.
from uniform, despite the prevalence of such potential problems.
When a lifecycle problem was hit, typically it would take the
form of accessing memory that had been freed, and contained garbage due
+1 -1
View File
@@ -162,7 +162,7 @@ loop.
== General: invalidation of elapsed timer event messages ==
Since the system timer to run the scheduler is single-shot, there should never
be more then one elapsed timer event in system event queue. When stopping or
be more than one elapsed timer event in system event queue. When stopping or
restarting the timer, we eventually have to remove the now invalid event from
the queue.
+1 -1
View File
@@ -282,7 +282,7 @@ public:
virtual weld::Window* GetFrameWeld() const;
// Callbacks (indepent part in vcl/source/window/winproc.cxx)
// Callbacks (independent part in vcl/source/window/winproc.cxx)
// for default message handling return 0
void SetCallback( vcl::Window* pWindow, SALFRAMEPROC pProc );