diff options
author | Noel Grandin <noel@peralex.com> | 2013-06-03 10:37:33 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-06-03 11:07:21 +0000 |
commit | d47fb9474421e950b828a921565656babab9d9ba (patch) | |
tree | b570a5ee0de4d3423c6d5c2550827d0b394359d5 /xmloff | |
parent | re-base on ALv2 code. Includes: (diff) | |
download | core-d47fb9474421e950b828a921565656babab9d9ba.tar.gz core-d47fb9474421e950b828a921565656babab9d9ba.zip |
fix for unused return value.
This code was introduced by:
commit d09dd8986436f17717443823ef18bd8552fdf408
Author: Frank Schoenheit [fs] <frank.schoenheit@sun.com>
Date: Wed Sep 15 13:55:34 2010 +0200
dba34a: export/import min-/max-/default-/value for date/time as
XML-Schema conformant strings
It looks like it intended to use determineDefaultServiceName(), but
neglected to store the return value.
Change-Id: I1607f39cf771b594389492785c7e72478d44843a
Reviewed-on: https://gerrit.libreoffice.org/4140
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/elementimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 9d180b04e65a..443209f25891 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -184,7 +184,7 @@ namespace xmloff } if ( m_sServiceName.isEmpty() ) - determineDefaultServiceName(); + m_sServiceName = determineDefaultServiceName(); // create the object *now*. This allows setting properties in the various handleAttribute methods. // (Though currently not all code is migrated to this pattern, most attributes are still handled |