diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-05 16:03:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-05 16:04:24 +0100 |
commit | 0665c3e52b0b0053c3d622d3fa975d4234801bdd (patch) | |
tree | a98f7dda9ef1251fd21c781d66149b971a8139af /framework | |
parent | 8ae077379edcdbf7bf106121593361d2486aacb7 (diff) |
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
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/jobs/jobdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx index c1cbcf8d6112..a6cf7c45c746 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); |