зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1185236 - Add AdjustPrintJobNameForIPP() wide version. r=karlt
MozReview-Commit-ID: AE3mvnrVAqn --HG-- extra : rebase_source : de725c3dd624c86bca48ee4663ffc58369711f65
This commit is contained in:
Родитель
bea6d05b62
Коммит
54a06f9d2a
|
@ -183,6 +183,17 @@ PrintTarget::AdjustPrintJobNameForIPP(const nsAString& aJobName,
|
|||
}
|
||||
}
|
||||
|
||||
/* static */
|
||||
void
|
||||
PrintTarget::AdjustPrintJobNameForIPP(const nsAString& aJobName,
|
||||
nsString& aAdjustedJobName)
|
||||
{
|
||||
nsAutoCString jobName;
|
||||
AdjustPrintJobNameForIPP(aJobName, jobName);
|
||||
|
||||
CopyUTF8toUTF16(jobName, aAdjustedJobName);
|
||||
}
|
||||
|
||||
/* static */ already_AddRefed<DrawTarget>
|
||||
PrintTarget::CreateWrapAndRecordDrawTarget(DrawEventRecorder* aRecorder,
|
||||
DrawTarget* aDrawTarget)
|
||||
|
|
|
@ -138,6 +138,8 @@ public:
|
|||
|
||||
static void AdjustPrintJobNameForIPP(const nsAString& aJobName,
|
||||
nsCString& aAdjustedJobName);
|
||||
static void AdjustPrintJobNameForIPP(const nsAString& aJobName,
|
||||
nsString& aAdjustedJobName);
|
||||
|
||||
protected:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче