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 --- sw/source/core/doc/doctxm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/core/doc/doctxm.cxx') diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx index 67e263c81a2e..929e986979b1 100644 --- a/sw/source/core/doc/doctxm.cxx +++ b/sw/source/core/doc/doctxm.cxx @@ -769,7 +769,7 @@ void SwTOXBaseSection::Update(const SfxItemSet* pAttr, if ( !mbKeepExpression ) { - maMSTOCExpression = OUString(); + maMSTOCExpression.clear(); } SwDoc* pDoc = (SwDoc*)pSectNd->GetDoc(); -- cgit v1.2.3