summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-16 16:35:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-19 07:36:12 +0100
commite9c74a075c3c0809b993c017c11d1505bd244dc8 (patch)
tree88cf68873c9b60941ced2ae0fda040496cbe0e2d /vcl
parent9d75bfcfaef97b247b3b6cd346eb27e02ae7b010 (diff)
drop ErrCode::GetRest
it was always a broken API because it includes the code, the class, and only part of the subsystemarea. Change-Id: I6f88b54aed2feab02a6aeaa783d7c642054b8075 Reviewed-on: https://gerrit.libreoffice.org/51430 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/helper/errcode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/helper/errcode.cxx b/vcl/source/helper/errcode.cxx
index bb8e4eaf09e9..d50bf522c7d8 100644
--- a/vcl/source/helper/errcode.cxx
+++ b/vcl/source/helper/errcode.cxx
@@ -138,7 +138,7 @@ VCL_DLLPUBLIC std::ostream& operator<<(std::ostream& os, const ErrCode& err)
os << "Compiler";
break;
}
- os << " Code:" << OUString::number(err.GetRest() & 0xff);
+ os << " Code:" << OUString::number(err.GetCode());
}
os << ")";
return os;