framework/source/jobs/jobdata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0665c3e52b0b0053c3d622d3fa975d4234801bdd
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Jun 5 16:03:17 2012 +0100

    extra trailing NUL char in string
    
    This began life as ::rtl::OUString::createFromAscii which stops at the first
    NULL terminator. So drop the \0 to get the same results
    
    Change-Id: I7d9abbff2a6e6131ef5e7208e05cfd13178418cb

diff --git a/framework/source/jobs/jobdata.cxx 
b/framework/source/jobs/jobdata.cxx
index c1cbcf8..a6cf7c4 100644
--- a/framework/source/jobs/jobdata.cxx
+++ b/framework/source/jobs/jobdata.cxx
@@ -583,7 +583,7 @@ sal_Bool isEnabled( const ::rtl::OUString& sAdminTime ,
         we have to encode all '?' signs. Otherwhise e.g. "??-" will be 
translated
         to "~" ...
      */
-    static ::rtl::OUString PATTERN_ISO8601("\?\?\?\?-\?\?-\?\?*\0");
+    static ::rtl::OUString PATTERN_ISO8601("\?\?\?\?-\?\?-\?\?*");
     WildCard aISOPattern(PATTERN_ISO8601);
 
     sal_Bool bValidAdmin = aISOPattern.Matches(sAdminTime);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to