From 994cc6c8689f7186193ce504c92fc2bc2fdcb560 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 18 Dec 2014 13:38:27 +0100 Subject: unotools: Use appropriate OUString functions on string constants Change-Id: I9762f913080b4bad0d9cd3d1c1b42b333b08f27e --- unotools/source/misc/datetime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotools/source/misc') diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx index 6caa86b81934..60a7fa2ffc7d 100644 --- a/unotools/source/misc/datetime.cxx +++ b/unotools/source/misc/datetime.cxx @@ -162,7 +162,7 @@ namespace else if (i_str[io_index] == '+' || i_str[io_index] == '-') // other timezones indicator { ++io_index; - o_strInt = ""; + o_strInt.clear(); for (; io_index < i_str.getLength(); ++io_index) { const sal_Unicode c = i_str[io_index]; -- cgit