summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-20 09:53:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-20 10:11:56 +0000
commitb29069d16386d5241b46280d2c67f3a1819f9c4b (patch)
tree159879d3893f666a72f591956914a6bdecf14ad2 /shell
parentb2ae03b08b2901f9030b4c80870173fe810c9348 (diff)
can use truncate instead of a new OUStringBuffer
Change-Id: I6efd48af1e00c21675ef0697b38185008a794d7a
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/desktopbe/desktopbackend.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx
index 52c941cb99aa..dfb9b6d32993 100644
--- a/shell/source/backends/desktopbe/desktopbackend.cxx
+++ b/shell/source/backends/desktopbe/desktopbackend.cxx
@@ -228,7 +228,7 @@ OUString xdg_user_dir_lookup (const char *type)
}
else
{
- aUserDirBuf = OUStringBuffer();
+ aUserDirBuf.truncate();
}
while (*p && *p != '"')
{