Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi all

in order to progress in creating patches (thanks kohei, markus for git
magic teahing), here is a small patch that corrects a minor typo in the
msgbox.py file

yes, very very very minor ;)

Laurent

From 26002a5db540b8ce5e152d1c923906e89d51e1c0 Mon Sep 17 00:00:00 2001
From: Laurent Godard <oooconv@free.fr>
Date: Fri, 4 Nov 2011 15:02:34 +0100
Subject: [PATCH] a very minor typo in a comment

---
 scripting/source/pyprov/msgbox.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py
index c9ee80b..b276d76 100644
--- a/scripting/source/pyprov/msgbox.py
+++ b/scripting/source/pyprov/msgbox.py
@@ -96,7 +96,7 @@ class MsgBox(unohelper.Base):
             self.ButtonSize = size
             self.ButtonSpace = self.ButtonSize/2
         else:
-            # boxsize i calculated form buttonsize
+            # boxsize is calculated from buttonsize
             self.boxSize = numberOfButtons * (self.ButtonSize +
                                             self.ButtonSpace) + self.ButtonSpace
 
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.