summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-09-12 12:15:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-14 08:34:38 +0200
commitfd3888c69abd813462360f49f853fa988764596c (patch)
tree12ac0b3d2de79dbc53de874b209ef83bf5c31a21 /unotools
parent5cc45f148dac2080d5cdc2d69db539d55b1ff816 (diff)
move ErrCode to comphelper and improve debug output string
need to move it, because modules "below" vcl want to use the debug output method Change-Id: Ibcaf4089a1e0b3fcc0b5189c7ebf1aae90f50b48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139791 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/pch/precompiled_utl.hxx2
-rw-r--r--unotools/source/streaming/streamwrap.cxx2
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/unotools/inc/pch/precompiled_utl.hxx b/unotools/inc/pch/precompiled_utl.hxx
index 7af5466cb9a3..1a46cbc1a93d 100644
--- a/unotools/inc/pch/precompiled_utl.hxx
+++ b/unotools/inc/pch/precompiled_utl.hxx
@@ -66,7 +66,7 @@
#include <sal/saldllapi.h>
#include <sal/types.h>
#include <sal/typesizes.h>
-#include <vcl/errcode.hxx>
+#include <comphelper/errcode.hxx>
#endif // PCH_LEVEL >= 2
#if PCH_LEVEL >= 3
#include <com/sun/star/beans/NamedValue.hpp>
diff --git a/unotools/source/streaming/streamwrap.cxx b/unotools/source/streaming/streamwrap.cxx
index 2361d80cd886..bc6e65779a10 100644
--- a/unotools/source/streaming/streamwrap.cxx
+++ b/unotools/source/streaming/streamwrap.cxx
@@ -154,7 +154,7 @@ void OInputStreamWrapper::checkError() const
auto const e = m_pSvStream->SvStream::GetError();
if (e != ERRCODE_NONE)
// TODO: really evaluate the error
- throw css::io::NotConnectedException("utl::OInputStreamWrapper error " + e.toHexString(), const_cast<css::uno::XWeak*>(static_cast<const css::uno::XWeak*>(this)));
+ throw css::io::NotConnectedException("utl::OInputStreamWrapper error " + e.toString(), const_cast<css::uno::XWeak*>(static_cast<const css::uno::XWeak*>(this)));
}
sal_Int64 SAL_CALL OInputStreamWrapper::getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier )
diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx
index ca4eac2ab863..67a2d6216316 100644
--- a/unotools/source/ucbhelper/ucblockbytes.hxx
+++ b/unotools/source/ucbhelper/ucblockbytes.hxx
@@ -23,7 +23,7 @@
#include <osl/conditn.hxx>
#include <osl/mutex.hxx>
#include <tools/stream.hxx>
-#include <vcl/errcode.hxx>
+#include <comphelper/errcode.hxx>
namespace com
{