summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/inet/inetmsg.cxx4
-rw-r--r--tools/source/xml/XmlWalker.cxx5
2 files changed, 3 insertions, 6 deletions
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx
index e393baaaf91e..918746eeaea5 100644
--- a/tools/source/inet/inetmsg.cxx
+++ b/tools/source/inet/inetmsg.cxx
@@ -247,9 +247,9 @@ OUString INetMIMEMessage::GetDefaultContentType()
aParentCT = pParent->GetDefaultContentType();
if (aParentCT.equalsIgnoreAsciiCase("multipart/digest"))
- return OUString("message/rfc822");
+ return "message/rfc822";
}
- return OUString("text/plain; charset=us-ascii");
+ return "text/plain; charset=us-ascii";
}
void INetMIMEMessage::EnableAttachMultipartFormDataChild()
diff --git a/tools/source/xml/XmlWalker.cxx b/tools/source/xml/XmlWalker.cxx
index 736cd07edeba..b21c22335018 100644
--- a/tools/source/xml/XmlWalker.cxx
+++ b/tools/source/xml/XmlWalker.cxx
@@ -59,10 +59,7 @@ bool XmlWalker::open(SvStream* pStream)
return true;
}
-OString XmlWalker::name()
-{
- return OString(reinterpret_cast<const char*>(mpImpl->mpCurrent->name));
-}
+OString XmlWalker::name() { return reinterpret_cast<const char*>(mpImpl->mpCurrent->name); }
OString XmlWalker::content()
{