diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-16 12:00:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-16 12:05:37 +0200 |
commit | e9f405a0daf1dc47a46cb902f05fe24e095b837d (patch) | |
tree | 7f0444270f67a35ed921ee4a899ebabfaa524a3d /dbaccess | |
parent | 6154e810836a7a4bc7f417cbe16d7c84584d49e9 (diff) |
Clean up SdrModel::MigrateItemSet
* No need to support null pNewModel argument (the one call site that did pass in
null explicitly in sd/source/ui/func/fupate.cxx can just as well pass in
mpDoc, and all existing call sites are guaranteed to pass in a non-null
value).
* With that changed, SdrModel::MigrateItemSet can be static. (At least in
JunitTest_forms_unoapi it could happen that the call from
svx/source/sdr/properties/attributeproperites.cxx called MigrateItemSet on a
null GetSdrObject.GetModel(), which was undefined behavior even though it was
harmless.)
Change-Id: Idface48da7e889c6e5768d0e49bc67c88b4c3ec4
Diffstat (limited to 'dbaccess')
0 files changed, 0 insertions, 0 deletions