From d32be3ace8c8fd430bbecdf69f88a116b0ee91d1 Mon Sep 17 00:00:00 2001 From: Brij Mohan Lal Srivastava Date: Wed, 12 Nov 2014 14:24:10 +0530 Subject: fdo#86023 - O[U]String needs a 'clear' method Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann --- unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unodevtools') diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index 81ab1d1b97cd..df64f1d32f36 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -88,7 +88,7 @@ short generateNamespace(std::ostream & o, o << "namespace comp_" << implname << " {\n\n"; count=1; } else { - nm = OString(); + nm.clear(); } } else { sal_Int32 nPos=0; -- cgit