Kaydet (Commit) 441a8c57 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

Fix qt5 build after 9078b0b8

Change-Id: I4d8a2212006cb82a106c30b491b58e23a6e1aa7b
Reviewed-on: https://gerrit.libreoffice.org/62680Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst a5123f05
......@@ -93,7 +93,7 @@ void Qt5Instance::GetPrinterQueueInfo(ImplPrnQueueList* pList)
{
const PrinterInfo& rInfo(rManager.getPrinterInfo(rPrinter));
// create new entry
SalPrinterQueueInfo* pInfo = new SalPrinterQueueInfo;
std::unique_ptr<SalPrinterQueueInfo> pInfo(new SalPrinterQueueInfo);
pInfo->maPrinterName = rPrinter;
pInfo->maDriver = rInfo.m_aDriverName;
pInfo->maLocation = rInfo.m_aLocation;
......@@ -110,7 +110,7 @@ void Qt5Instance::GetPrinterQueueInfo(ImplPrnQueueList* pList)
}
}
pList->Add(pInfo);
pList->Add(std::move(pInfo));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment