diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:34:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:34 +0100 |
commit | e5bd0f8b0a83f5c7f0f204adc081b102c765ca8e (patch) | |
tree | 751a73bbec4ee754df3ec7d3f9c9512829ab2ee9 /svx/source/dialog/srchdlg.cxx | |
parent | 7c6aa647e83b4989fcaecd4a4d81361c06a3f3d4 (diff) |
svx: Use appropriate OUString functions on string constants
Change-Id: I54931168bfc18c9ce41babdcf535ebc1bcc72c5e
Diffstat (limited to 'svx/source/dialog/srchdlg.cxx')
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index c811632a29bf..1118a09f856d 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -2007,8 +2007,7 @@ IMPL_LINK( SvxSearchDialog, TimeoutHdl_Impl, Timer *, pTimer ) OUString& SvxSearchDialog::BuildAttrText_Impl( OUString& rStr, bool bSrchFlag ) const { - if ( !rStr.isEmpty() ) - rStr = ""; + rStr.clear(); SfxObjectShell* pSh = SfxObjectShell::Current(); DBG_ASSERT( pSh, "no DocShell" ); |