function dataType = fixdtLegacyTwoPart2Type(containerType,scaling)
%FIXPTLEGACYTWOPART2TYPE converts legacy two part type specification to object

% Copyright 2012 The MathWorks, Inc.

dataTypeDeterminesScaling = getdatatypespecs(containerType,[],0,0,3);

if dataTypeDeterminesScaling

    dataType = containerType;
else
    dataType = getdatatypespecs(containerType,scaling,0,0,1);
end
