[Libreoffice-commits] dev-tools.git: helpauthoring/HelpAuthoring

Yousuf Philips philipz85 at hotmail.com
Thu Oct 1 02:27:14 PDT 2015


 helpauthoring/HelpAuthoring/Helpers.xba |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 36e325c6a334907e24eab8a6605da78a842544b0
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Wed Sep 30 23:39:54 2015 +0400

    tdf#94490 Improve the creation of unique paragraph IDs
    
    Change-Id: I3a4eaddc51868c24e419de89cca913c2dc1a557e
    Reviewed-on: https://gerrit.libreoffice.org/19045
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/helpauthoring/HelpAuthoring/Helpers.xba b/helpauthoring/HelpAuthoring/Helpers.xba
index fcd7faf..a01d4d6 100644
--- a/helpauthoring/HelpAuthoring/Helpers.xba
+++ b/helpauthoring/HelpAuthoring/Helpers.xba
@@ -125,7 +125,7 @@ Function CreateID
     sDate = ReplaceAll(Date,"/:. \","")
     sTime = ReplaceAll(Time,"/:. \AMP","")
     Randomize
-    CreateID = sDate + sTime + Int(Rnd * 100)
+    CreateID = sDate + sTime + Int(Rnd * 10000)
 End Function
 
 '=======================================================


More information about the Libreoffice-commits mailing list