diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-05 12:11:42 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-07-15 15:25:51 +0000 |
commit | 51745327e55ad5ffb5df620142c27c0ad956ef1d (patch) | |
tree | 7ac670fa219d836b4b26c761e3e5e81a7f453827 /oox | |
parent | dd780228cca25dc818ca7fdb628ff607c109618e (diff) |
API change: oslDateTime signed year
to match the rest of our date-related data structures,
which were recently switched to signed year.
Change-Id: Ic4f1e424b130fd2ccca379adbe0a66836b6cac41
Reviewed-on: https://gerrit.libreoffice.org/4735
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/docprop/docprophandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/docprop/docprophandler.cxx b/oox/source/docprop/docprophandler.cxx index 6f152458e0f8..e7ecd973e780 100644 --- a/oox/source/docprop/docprophandler.cxx +++ b/oox/source/docprop/docprophandler.cxx @@ -97,7 +97,7 @@ util::DateTime OOXMLDocPropHandler::GetDateTimeFromW3CDTF( const OUString& aChar sal_Int32 nLen = aChars.getLength(); if ( nLen >= 4 ) { - aOslDTime.Year = (sal_uInt16)aChars.copy( 0, 4 ).toInt32(); + aOslDTime.Year = (sal_Int16)aChars.copy( 0, 4 ).toInt32(); if ( nLen >= 7 && aChars.getStr()[4] == (sal_Unicode)'-' ) { |