diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:47:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:47:00 +0200 |
commit | 9388a9da167880ca3002634422b3b1da33bceb82 (patch) | |
tree | cf1b55c59421aea7c205d16f2007ae9cf15f50ac /cui | |
parent | 6c2d9f51ff4356e2c4096c0da091eaac6ecac052 (diff) |
loplugin:oncevar: empty strings: cui
Change-Id: Id00cf5f78ef59520065587691c85f2e1a7e96a9c
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/dbregister.cxx | 3 | ||||
-rw-r--r-- | cui/source/options/optbasic.cxx | 3 | ||||
-rw-r--r-- | cui/source/options/optjava.cxx | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx index 4324762b3433..ce2a4a94dd4b 100644 --- a/cui/source/options/dbregister.cxx +++ b/cui/source/options/dbregister.cxx @@ -283,8 +283,7 @@ IMPL_LINK_NOARG(DbRegistrationOptionsPage, DeleteHdl, Button*, void) IMPL_LINK_NOARG(DbRegistrationOptionsPage, NewHdl, Button*, void) { - OUString sNewName,sNewLocation; - openLinkDialog(sNewName,sNewLocation); + openLinkDialog(OUString(),OUString()); } IMPL_LINK_NOARG(DbRegistrationOptionsPage, PathBoxDoubleClickHdl, SvTreeListBox*, bool) diff --git a/cui/source/options/optbasic.cxx b/cui/source/options/optbasic.cxx index 30b50463e8cc..632ccb923404 100644 --- a/cui/source/options/optbasic.cxx +++ b/cui/source/options/optbasic.cxx @@ -145,8 +145,7 @@ VclPtr<SfxTabPage> SvxBasicIDEOptionsPage::Create( vcl::Window* pParent, const S void SvxBasicIDEOptionsPage::FillUserData() { - OUString aUserData; - SetUserData( aUserData ); + SetUserData( OUString() ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index d117b8668502..894a96280137 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -693,8 +693,7 @@ void SvxJavaOptionsPage::Reset( const SfxItemSet* /*rSet*/ ) void SvxJavaOptionsPage::FillUserData() { - OUString aUserData; - SetUserData( aUserData ); + SetUserData( OUString() ); } // class SvxJavaParameterDlg --------------------------------------------- |