[Libreoffice-commits] core.git: vcl/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 21 10:37:43 UTC 2020


 vcl/source/gdi/TypeSerializer.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8ffb4cabd9ceac529f1c2d02bd1fdeb50bd2988b
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Aug 20 13:04:38 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Aug 21 12:37:02 2020 +0200

    Fix typo in code
    
    Change-Id: I977c6c5eaee5d1b6f9c3d0587e0a34ef46ee211e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101104
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vcl/source/gdi/TypeSerializer.cxx b/vcl/source/gdi/TypeSerializer.cxx
index e2f399f2d76a..ad5f3e3a6dc2 100644
--- a/vcl/source/gdi/TypeSerializer.cxx
+++ b/vcl/source/gdi/TypeSerializer.cxx
@@ -220,11 +220,11 @@ void TypeSerializer::readGraphic(Graphic& rGraphic)
         {
             sal_uInt32 nMagic1 = 0;
             sal_uInt32 nMagic2 = 0;
-            sal_uInt64 nBeginPoisition = mrStream.Tell();
+            sal_uInt64 nBeginPosition = mrStream.Tell();
 
             mrStream.ReadUInt32(nMagic1);
             mrStream.ReadUInt32(nMagic2);
-            mrStream.Seek(nBeginPoisition);
+            mrStream.Seek(nBeginPosition);
 
             if (!mrStream.GetError())
             {


More information about the Libreoffice-commits mailing list