diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:46:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:46:41 +0200 |
commit | aa371639ee0d3255af474e605eea665125ecd3e2 (patch) | |
tree | c0f36c7f909634dfc83e0dca027c37ff6c630fd9 /editeng | |
parent | 6b8c36c6faa23acae024be4b8a4a1cf661ac531c (diff) |
loplugin:oncevar: empty strings: editeng
Change-Id: I3b60b918277b408038a99f2c4801a454e6aa7b4a
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/qa/unit/core-test.cxx | 4 | ||||
-rw-r--r-- | editeng/source/xml/xmltxtexp.cxx | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 69e91953b584..ceea79b810d4 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -347,9 +347,7 @@ private: //before the two letters void Test::testAutocorrect() { - OUString sShareAutocorrFile; - OUString sUserAutocorrFile; - SvxAutoCorrect aAutoCorrect(sShareAutocorrFile, sUserAutocorrFile); + SvxAutoCorrect aAutoCorrect((OUString()), (OUString())); { OUString sInput("TEst-TEst"); diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index 569e8927eba7..5606863f31db 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -185,8 +185,7 @@ sal_Bool SAL_CALL SvxSimpleUnoModel::attachResource( const OUString&, const css: OUString SAL_CALL SvxSimpleUnoModel::getURL( ) { - OUString aStr; - return aStr; + return OUString(); } css::uno::Sequence< css::beans::PropertyValue > SAL_CALL SvxSimpleUnoModel::getArgs( ) |