summaryrefslogtreecommitdiff
path: root/sc/qa/unit/ucalc_formula.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/ucalc_formula.cxx')
-rw-r--r--sc/qa/unit/ucalc_formula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index becbd3437af6..b15342ffb1db 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -2270,7 +2270,7 @@ void Test::testFormulaRefUpdateName()
// Delete the inserted sheet, which will shift the 'Formula' sheet to the left.
m_pDoc->DeleteTab(0);
- aName = OUString();
+ aName.clear();
m_pDoc->GetName(0, aName);
CPPUNIT_ASSERT_EQUAL(OUString("Formula"), aName);