[Libreoffice-commits] core.git: sdext/source sd/source
Andrea Gelmini
andrea.gelmini at gelma.net
Sat Mar 25 11:13:26 UTC 2017
sd/source/core/EffectMigration.cxx | 2 +-
sd/source/core/drawdoc4.cxx | 2 +-
sd/source/filter/eppt/pptexanimations.cxx | 2 +-
sd/source/filter/html/pubdlg.cxx | 2 +-
sd/source/filter/ppt/pptin.cxx | 2 +-
sd/source/ui/func/futext.cxx | 2 +-
sd/source/ui/remotecontrol/AvahiNetworkService.cxx | 2 +-
sd/source/ui/sidebar/DocumentHelper.cxx | 2 +-
sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx | 2 +-
sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx | 2 +-
sd/source/ui/view/sdwindow.cxx | 2 +-
sdext/source/pdfimport/tree/writertreevisiting.cxx | 4 ++--
sdext/source/presenter/PresenterNotesView.hxx | 2 +-
13 files changed, 14 insertions(+), 14 deletions(-)
New commits:
commit b958eae8eb4387a469802aa0b9ff1ebf63151f7f
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Fri Mar 24 12:48:16 2017 +0100
Fix typos
Change-Id: I35d4a7648566105b176eb39f6a1db44ca91d4f4c
Reviewed-on: https://gerrit.libreoffice.org/35643
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sd/source/core/EffectMigration.cxx b/sd/source/core/EffectMigration.cxx
index 6efe7124df66..47f4a2c43574 100644
--- a/sd/source/core/EffectMigration.cxx
+++ b/sd/source/core/EffectMigration.cxx
@@ -1358,7 +1358,7 @@ void createVisibilityOnOffNode(Reference< XTimeContainer >& rxParentContainer, S
// work) animations will not work in slideshow
void EffectMigration::CreateAnimatedGroup(SdrObjGroup& rGroupObj, SdPage& rPage)
{
- // aw080 will give a vector immeditately
+ // aw080 will give a vector immediately
SdrObjListIter aIter(rGroupObj);
if(aIter.Count())
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index d3b07489413b..adfaba482e30 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -286,7 +286,7 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(makeSdrShadowXDistItem(200)); // 3 mm shadow distance
pISet->Put(makeSdrShadowYDistItem(200));
- // Object without fillung
+ // Object without filling
aName = SD_RESSTR(STR_POOLSHEET_OBJWITHOUTFILL);
pSheet = &(pSSPool->Make(aName, SD_STYLE_FAMILY_GRAPHICS, nMask));
pSheet->SetParent(aStdName);
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 30bb1a7276c4..c9e94b96a484 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -1298,7 +1298,7 @@ void AnimationExporter::exportAnimEvent( SvStream& rStrm, const Reference< XAnim
else
{
aAny = xNode->getBegin();
- if ( nFlags & 0x10 ) // replace ON_NEXT with IDEFINITE
+ if ( nFlags & 0x10 ) // replace ON_NEXT with INDEFINITE
{
if ( ( aAny >>= aEvent ) && ( aEvent.Trigger == EventTrigger::ON_NEXT ) )
{
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 8b11448790e3..1b33d23c632e 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -996,7 +996,7 @@ IMPL_LINK_NOARG(SdPublishingDlg, DesignDeleteHdl, Button*, void)
UpdatePage();
}
-// Clickhandler for the other servertypess
+// Clickhandler for the other servertypes
IMPL_LINK( SdPublishingDlg, WebServerHdl, Button *, pButton, void )
{
bool bASP = pButton == pPage2_ASP;
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 3b2589384909..be6fd0f9ed18 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -655,7 +655,7 @@ bool ImplSdPPTImport::Import()
nOutlinerInstance = TSS_Type::Subtitle;
}
- // titelstylesheet
+ // titlestylesheet
pSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_TITLE );
if ( pSheet )
{
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index 9b7bbb1558d2..3ff37ad8d469 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -318,7 +318,7 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
( eHit == SdrHitKind::UnmarkedObject && bFirstObjCreated &&
!bPermanent ) )
{
- // Handle, hit marked or umarked object
+ // Handle, hit marked or unmarked object
if (eHit == SdrHitKind::TextEditObj)
{
/* hit text of unmarked object:
diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx
index aea4513ab6d0..cc0036aa8251 100644
--- a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx
+++ b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx
@@ -170,7 +170,7 @@ void AvahiNetworkService::setup() {
#if ENABLE_DBUS
// Sure, without ENABLE_DBUS it probably makes no sense to try to use this Avahi stuff either,
// but this is just a stop-gap measure to get this to even compile for now with the probably
- // pointless combination of configury options --enable-avahi --enable-dbus --disable-gui.
+ // pointless combination of configurable options --enable-avahi --enable-dbus --disable-gui.
// Avahi internally uses D-Bus, which requires the following in order to be
// thread-safe (and we potentially access D-Bus from different threads in
diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx
index 67d4b12698ee..304516f7d98f 100644
--- a/sd/source/ui/sidebar/DocumentHelper.cxx
+++ b/sd/source/ui/sidebar/DocumentHelper.cxx
@@ -193,7 +193,7 @@ SdPage* DocumentHelper::GetSlideForMasterPage (SdPage* pMasterPage)
nPageIndex --;
}
- // If no page was found that refernced the given master page reset
+ // If no page was found, that referenced the given master page, reset
// the pointer that is returned.
if ( ! bFound)
pCandidate = nullptr;
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
index 7b399ad22f12..f4c2f971481d 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
@@ -47,7 +47,7 @@ class BitmapCache
public:
/** The key for looking up preview bitmaps is a pointer to an SdrPage
object. The prior use of PageObjectViewObjectContact objects (which
- ultimatly use them) turned out to be less suitable because their
+ ultimately use them) turned out to be less suitable because their
life time is shorter then that of the page objects. Frequent
destruction and re-creation of the preview bitmaps was the result.
*/
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
index 47caa1d814f7..78811286e585 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
@@ -45,7 +45,7 @@ class GenericPageCache;
<li>Rendering pages ahead of time. Additionally to rendering the
visible slides we try to render part or all of the slides that are not
(yet) visible. This, of course, makes sense only when the computer is
- ohterwise idle while doing that.</li>
+ otherwise idle while doing that.</li>
<li>When the size of the slides on the screen changes we mark the
bitmaps as needing an update but use them while the new bitmap in the
correct size is not available.</li>
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index e882b362e357..b6fc0dafa2ae 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -164,7 +164,7 @@ void Window::CalcMinZoom()
// Decide whether to take the larger or the smaller factor.
sal_uLong nFact = std::min(nX, nY);
- // The factor is tansfomed according to the current zoom factor.
+ // The factor is transformed according to the current zoom factor.
nFact = nFact * nZoom / ZOOM_MULTIPLICATOR;
mnMinZoom = std::max((sal_uInt16) MIN_ZOOM, (sal_uInt16) nFact);
}
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index e778ff2cf224..591920e18613 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -663,7 +663,7 @@ void WriterXmlOptimizer::checkHeaderAndFooter( PageElement& rElem )
{
/* indicators for a header:
* - single line paragrah at top of page ( inside 15% page height)
- * - at least linheight above the next paragraph
+ * - at least lineheight above the next paragraph
*
* indicators for a footer likewise:
* - single line paragraph at bottom of page (inside 15% page height)
@@ -1099,7 +1099,7 @@ void WriterXmlFinalizer::visit( PageElement& elem, const std::list< Element* >::
elem.BottomMargin = 0;
elem.LeftMargin = elem.w;
elem.RightMargin = 0;
- // first element should be a paragraphy
+ // first element should be a paragraph
ParagraphElement* pFirstPara = nullptr;
for( std::list< Element* >::const_iterator it = elem.Children.begin(); it != elem.Children.end(); ++it )
{
diff --git a/sdext/source/presenter/PresenterNotesView.hxx b/sdext/source/presenter/PresenterNotesView.hxx
index 57aa2d044241..d3f0e7ee3b24 100644
--- a/sdext/source/presenter/PresenterNotesView.hxx
+++ b/sdext/source/presenter/PresenterNotesView.hxx
@@ -73,7 +73,7 @@ public:
virtual void SAL_CALL disposing() override;
/** Typically called from setCurrentSlide() with the notes page that is
- associeted with the slide given to setCurrentSlide().
+ associated with the slide given to setCurrentSlide().
Iterates over all text shapes on the given notes page and displays
the concatenated text of these.
More information about the Libreoffice-commits
mailing list