summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-05 15:04:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-06 08:16:10 +0200
commit86cefcf4dfeefc9c08dc1b6d30f9920db52bcc99 (patch)
tree9858b72c1641ca42146f06b2859263f82d810bfe /vcl
parentde8caac6bee3237ba634e7dce2e4635dc8bba57b (diff)
replace PRINTER_OK with ERRORCODE_NONE
since the first is #define'd to the second, and offers no extra value Change-Id: Id3ce344e246d88b34d0e0fc2619da13f67587000 Reviewed-on: https://gerrit.libreoffice.org/38409 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/print.cxx2
-rw-r--r--vcl/source/gdi/print3.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 7941632b89fc..e88691a34b50 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1615,7 +1615,7 @@ sal_uLong Printer::ImplSalPrinterErrorCodeToVCL( sal_uLong nError )
switch ( nError )
{
case 0:
- nVCLError = PRINTER_OK;
+ nVCLError = ERRCODE_NONE;
break;
case SAL_PRINTER_ERROR_ABORT:
nVCLError = PRINTER_ABORT;
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 9005448dbe87..de8609f38b71 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -530,7 +530,7 @@ void Printer::ImplPrintJob(const std::shared_ptr<PrinterController>& xController
bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::PrinterController>& i_xController)
{
- mnError = PRINTER_OK;
+ mnError = ERRCODE_NONE;
if ( IsDisplayPrinter() )
return false;