Kaydet (Commit) 0665c3e5 authored tarafından Caolán McNamara's avatar Caolán McNamara

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
üst 8ae07737
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment