mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 1479071 - Revert kPMDataFormatXMLCompressed to kPMDataFormatXMLNormal. r=mstange
Bug 1411879 introduced kPMDataFormatXMLCompress. However, this parameter caused the saving print settings problem. Before investigating this reason, this patch will revert this parameter. Differential Revision: https://phabricator.services.mozilla.com/D3943 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9257e6c166
commit
b65f665554
@ -161,7 +161,7 @@ NS_IMETHODIMP nsPrintSettingsX::WritePageFormatToPrefs()
|
|||||||
return NS_ERROR_NOT_INITIALIZED;
|
return NS_ERROR_NOT_INITIALIZED;
|
||||||
|
|
||||||
NSData* data = nil;
|
NSData* data = nil;
|
||||||
OSStatus err = ::PMPageFormatCreateDataRepresentation(pageFormat, (CFDataRef*)&data, kPMDataFormatXMLCompressed);
|
OSStatus err = ::PMPageFormatCreateDataRepresentation(pageFormat, (CFDataRef*)&data, kPMDataFormatXMLDefault);
|
||||||
if (err != noErr)
|
if (err != noErr)
|
||||||
return NS_ERROR_FAILURE;
|
return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user