From c1805c48ae6057d370a35f2e059f3ee82396c407 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 4 Nov 2016 12:29:35 +0200 Subject: loplugin:oncevar in dbaccess Change-Id: I956063bb354fbbd002e922bb06d0b3863a2750fc Reviewed-on: https://gerrit.libreoffice.org/30565 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/ui/dlg/tablespage.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dbaccess/source/ui/dlg/tablespage.cxx') diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index 7886c4483a81..365716964d6c 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -440,7 +440,6 @@ namespace dbaui Sequence< OUString > OTableSubscriptionPage::collectDetailedSelection() const { Sequence< OUString > aTableFilter; - static const char sDot[] = "."; static const char sWildcard[] = "%"; OUString sComposedName; @@ -494,7 +493,7 @@ namespace dbaui } } bSchemaWildcard = OTableTreeListBox::isWildcardChecked(pSchema); - sComposedName += m_pTablesList->GetEntryText( pSchema ) + sDot; + sComposedName += m_pTablesList->GetEntryText( pSchema ) + "."; } if (bSchemaWildcard) -- cgit