diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-06-14 22:42:57 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-06-20 09:09:15 +0200 |
commit | 9771ab4b37ca73457f2884105452018fe3fc600b (patch) | |
tree | cc55a5b438079d243c84f0679822941d9d38faa3 /framework/source/loadenv/loadenv.cxx | |
parent | a43a57c106b01383b7dfb095c613ed948d219dd1 (diff) |
Fix typo
Change-Id: I8cce34c7817834f0c4fb0bfc68b95464b5563ddb
Reviewed-on: https://gerrit.libreoffice.org/74398
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'framework/source/loadenv/loadenv.cxx')
-rw-r--r-- | framework/source/loadenv/loadenv.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index 0fb25aa126b8..ea048f75afab 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -367,10 +367,10 @@ void LoadEnv::startLoading() if (m_eContentType != E_CAN_BE_SET)/* Attention: special feature to set existing component on a frame must ignore type detection! */ impl_detectTypeAndFilter(); - // start loading the content ... + // start loading the content... // Attention: Don't check m_eContentType deeper then UNSUPPORTED/SUPPORTED! - // Because it was made in the easiest way ... may a flat detection was made only. - // And such simple detection can fail some times .-) + // Because it was made in the easiest way... may a flat detection was made only. + // And such simple detection can fail sometimes .-) // Use another strategy here. Try it and let it run into the case "loading not possible". bool bStarted = false; if ( @@ -1081,7 +1081,7 @@ bool LoadEnv::impl_loadContent() css::uno::Reference< css::document::XActionLockable > xTargetLock(xTargetFrame, css::uno::UNO_QUERY); m_aTargetLock.setResource(xTargetLock); - // Add status indicator to descriptor. Loader can show an progresses then. + // Add status indicator to descriptor. Loader can show a progress then. // But don't do it, if loading should be hidden or preview is used ...! // So we prevent our code against wrong using. Why? // It could be, that using of this progress could make trouble. e.g. He make window visible ... @@ -1293,11 +1293,11 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchAlreadyLoaded() // Note: To detect if a document was already loaded before // we check URLs here only. But might the existing and the required - // document has different versions! Then its URLs are the same ... + // document has different versions! Then its URLs are the same... sal_Int16 nNewVersion = m_lMediaDescriptor.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_VERSION(), sal_Int16(-1)); // will be used to save the first hidden frame referring the searched model - // Normally we are interested on visible frames ... but if there is no such visible + // Normally we are interested on visible frames... but if there is no such visible // frame we refer to any hidden frame also (but as fallback only). css::uno::Reference< css::frame::XFrame > xHiddenTask; css::uno::Reference< css::frame::XFrame > xTask; @@ -1412,8 +1412,8 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchRecycleTarget() // The special backing mode frame will be recycled by definition! // It doesn't matter if somewhere wants to create a new view - // or open a new untitled document ... - // The only exception form that - hidden frames! + // or open a new untitled document... + // The only exception from that - hidden frames! if (m_lMediaDescriptor.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_HIDDEN(), false)) return css::uno::Reference< css::frame::XFrame >(); @@ -1423,7 +1423,7 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchRecycleTarget() { if (!impl_isFrameAlreadyUsedForLoading(aTasksAnalyzer.m_xBackingComponent)) { - // bring it to front ... + // bring it to front... impl_makeFrameWindowVisible(aTasksAnalyzer.m_xBackingComponent->getContainerWindow(), true); m_bReactivateControllerOnError = true; return aTasksAnalyzer.m_xBackingComponent; |