summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/debug/debug.cxx2
-rw-r--r--tools/source/inet/inetmime.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 22c3b08698bd..4d4a817a7f40 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -110,7 +110,7 @@ static void exceptionToStringImpl(OStringBuffer& sMessage, const css::uno::Any &
}
if ( exception.Context.is() )
{
- const char* pContext = typeid( *exception.Context.get() ).name();
+ const char* pContext = typeid( *exception.Context ).name();
#if defined __GLIBCXX__
// demangle the type name, not necessary under windows, we already get demangled names there
int status;
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx
index 49038921b7a8..f1c9080996dd 100644
--- a/tools/source/inet/inetmime.cxx
+++ b/tools/source/inet/inetmime.cxx
@@ -296,7 +296,7 @@ bool translateUTF8Char(const sal_Char *& rBegin,
return false;
DBG_ASSERT(nSize == 1,
"translateUTF8Char(): Bad conversion");
- rCharacter = *pBuffer.get();
+ rCharacter = pBuffer[0];
}
rBegin = p;
return true;