[Libreoffice-commits] core.git: drawinglayer/source solenv/gbuild svx/inc vcl/source winaccessibility/inc

Andras Timar andras.timar at collabora.com
Tue Nov 8 12:21:59 UTC 2016


 drawinglayer/source/primitive2d/patternfillprimitive2d.cxx |    2 +-
 solenv/gbuild/extensions/post_PackageInfo.mk               |    6 +++---
 svx/inc/galtheme.hrc                                       |    2 +-
 vcl/source/outdev/bitmap.cxx                               |    2 +-
 winaccessibility/inc/AccResource.hxx                       |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 29ddf52adf13e8806e1d251747549a33f9cdce54
Author: Andras Timar <andras.timar at collabora.com>
Date:   Tue Nov 8 10:13:36 2016 +0100

    typo fix: ressource -> resource
    
    Change-Id: Id8d1c01b17e711a057a9f3f20e1d0f955b2ea6c8
    Reviewed-on: https://gerrit.libreoffice.org/30690
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx b/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
index 7faa924..f4ea853 100644
--- a/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
@@ -277,7 +277,7 @@ namespace drawinglayer
                     else if(double(nW * nH) / double(mnDiscreteWidth * mnDiscreteHeight) <= 0.5)
                     {
                         // Size has shrunk for 50% or more - it's worth to refresh the buffering
-                        // to spare some ressources
+                        // to spare some resources
                         bResetBuffering = true;
                     }
                 }
diff --git a/solenv/gbuild/extensions/post_PackageInfo.mk b/solenv/gbuild/extensions/post_PackageInfo.mk
index 648024c..b3d3cfc 100644
--- a/solenv/gbuild/extensions/post_PackageInfo.mk
+++ b/solenv/gbuild/extensions/post_PackageInfo.mk
@@ -54,7 +54,7 @@ define gb_PackageInfo_emit_l10n_for_one_alllangpackage
 
 endef
 
-define gb_PackageInfo_emit_l10n_for_one_ressource
+define gb_PackageInfo_emit_l10n_for_one_resource
 @echo "$(patsubst $(INSTDIR)/%,%,$(call gb_ResTarget_get_install_target,$(1)$(2)))" >> $(gb_PackageInfo_get_target)/l10n-$(2).files
 
 endef
@@ -67,12 +67,12 @@ endef
 define gb_PackageInfo_emit_l10n_for_one_configfile
 echo "$(LIBO_SHARE_FOLDER)/registry/$(2)$(1).xcd" >> $(gb_PackageInfo_get_target)/l10n-$(1).files
 
-endef 
+endef
 
 define gb_PackageInfo_emit_l10n_for_one_lang
 @touch $(foreach suf,executables libraries files,$(gb_PackageInfo_get_target)/l10n-$(1).$(suf))
 $(if $(filter-out qtz en-US,$(1)),$(foreach packagedir,$(patsubst %/,%,$(gb_AllLangPackage_ALLDIRS)),$(call gb_PackageInfo_emit_l10n_for_one_alllangpackage,$(packagedir),$(1))))
-$(if $(filter $(gb_AllLangResTarget_LANGS),$(1)),$(foreach target,$(gb_AllLangResTarget_ALLTARGETS),$(call gb_PackageInfo_emit_l10n_for_one_ressource,$(target),$(1))))
+$(if $(filter $(gb_AllLangResTarget_LANGS),$(1)),$(foreach target,$(gb_AllLangResTarget_ALLTARGETS),$(call gb_PackageInfo_emit_l10n_for_one_resource,$(target),$(1))))
 $(foreach uizip,\
     $(sort $(foreach uifile,$(gb_UIConfig_ALLFILES),$(firstword $(subst :,$(WHITESPACE),$(uifile))))),\
     $(call gb_PackageInfo_emit_l10n_for_one_uizip,$(1),$(uizip)))
diff --git a/svx/inc/galtheme.hrc b/svx/inc/galtheme.hrc
index 8fce39a..2ee93f7 100644
--- a/svx/inc/galtheme.hrc
+++ b/svx/inc/galtheme.hrc
@@ -25,7 +25,7 @@
 //  * include/svx/gallery.hxx
 //  * share/gallery (theme files are identified by id)
 //
-// These defines are used to map gallery names to translated string ressources. Since
+// These defines are used to map gallery names to translated string resources. Since
 // galleries may be copied from older offices to newer, do *never* change this
 // IDs except adding new ones (and adapting RID_GALLERYSTR_THEME_LAST). The ID
 // *is* written into the binary file *.thm (which is a gallery theme combined of
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index 8a5e1d5..ca736ed 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -1252,7 +1252,7 @@ void OutputDevice::DrawTransformedBitmapEx(
         // limit maximum area to something looking good for non-pixel-based targets (metafile, printer)
         // by using a fixed minimum (allow at least, but no need to utilize) for good smoothing and an area
         // dependent of original size for good quality when e.g. rotated/sheared. Still, limit to a maximum
-        // to avoid crashes/ressource problems (ca. 1500x3000 here)
+        // to avoid crashes/resource problems (ca. 1500x3000 here)
         const Size& rOriginalSizePixel(rBitmapEx.GetSizePixel());
         const double fOrigArea(rOriginalSizePixel.Width() * rOriginalSizePixel.Height() * 0.5);
         const double fOrigAreaScaled(bSheared || bRotated ? fOrigArea * 1.44 : fOrigArea);
diff --git a/winaccessibility/inc/AccResource.hxx b/winaccessibility/inc/AccResource.hxx
index 68a3846..1eade13 100644
--- a/winaccessibility/inc/AccResource.hxx
+++ b/winaccessibility/inc/AccResource.hxx
@@ -28,7 +28,7 @@ class SimpleResMgr;
 
 
 //= ResourceManager
-//= handling ressources within the FormLayer library
+//= handling resources within the FormLayer library
 
 class ResourceManager
 {


More information about the Libreoffice-commits mailing list