summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-09-12 23:55:06 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-09-12 23:55:06 -0400
commita60b10593d206569acc315a32f1e6d66039bf863 (patch)
tree6655f33af8dd3659fe01986bf6f69b76b5a9e7bc /sc
parentLet's do hard re-calc only when necessary. (diff)
downloadcore-a60b10593d206569acc315a32f1e6d66039bf863.tar.gz
core-a60b10593d206569acc315a32f1e6d66039bf863.zip
No need to use += to initialize m_aFileRoot.
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/filters-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 569ec7d415db..96845b570e24 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -520,8 +520,8 @@ FiltersTest::FiltersTest()
if (pSrcRoot[1] == ':')
m_aSrcRoot += rtl::OUString::createFromAscii( "/" );
#endif
- m_aSrcRoot += rtl::OUString::createFromAscii( pSrcRoot );
- m_aFileRoot += rtl::OUString::createFromAscii( pSrcRoot );
+ m_aFileRoot = rtl::OUString::createFromAscii( pSrcRoot );
+ m_aSrcRoot += m_aFileRoot;
}
void FiltersTest::setUp()