summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/tablespage.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-10-19 07:18:39 +0200
committerJan Holesovsky <kendy@collabora.com>2015-10-19 07:20:33 +0200
commit2b5a48da5969b1ed37f4480d843714d434feb5d9 (patch)
tree59a449af7f69a133bc8e1e76b8f9deb65425da02 /dbaccess/source/ui/dlg/tablespage.cxx
parent664197d95becd516c3dac25a50439078ba61e051 (diff)
sfx items: Kill the SFX_ITEMSET_GET macro.
Change-Id: I110a4f25646eb3f0fa93673c84dc67cf64a3b7a0
Diffstat (limited to 'dbaccess/source/ui/dlg/tablespage.cxx')
-rw-r--r--dbaccess/source/ui/dlg/tablespage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx
index 75a51bea944f..1c2ab8c04af0 100644
--- a/dbaccess/source/ui/dlg/tablespage.cxx
+++ b/dbaccess/source/ui/dlg/tablespage.cxx
@@ -226,7 +226,7 @@ namespace dbaui
getFlags(_rSet, bValid, bReadonly);
// get the name of the data source we're working for
- SFX_ITEMSET_GET(_rSet, pNameItem, SfxStringItem, DSID_NAME, true);
+ const SfxStringItem* pNameItem = _rSet.GetItem<SfxStringItem>(DSID_NAME);
OSL_ENSURE(pNameItem, "OTableSubscriptionPage::implInitControls: missing the name attribute!");
OUString sDSName = pNameItem->GetValue();
@@ -350,7 +350,7 @@ namespace dbaui
}
// get the current table filter
- SFX_ITEMSET_GET(_rSet, pTableFilter, OStringListItem, DSID_TABLEFILTER, true);
+ const OStringListItem* pTableFilter = _rSet.GetItem<OStringListItem>(DSID_TABLEFILTER);
Sequence< OUString > aTableFilter;
if (pTableFilter)
aTableFilter = pTableFilter->getList();