summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-02 15:41:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 08:26:20 +0200
commitbe98dffedd70f36e7c74c4ebd6509c5868a016d1 (patch)
tree7b51a6b30053d9373c713acd54a6388126b15437 /cui
parentloplugin:constfields in svtools (diff)
downloadcore-be98dffedd70f36e7c74c4ebd6509c5868a016d1.tar.gz
core-be98dffedd70f36e7c74c4ebd6509c5868a016d1.zip
loplugin:unusedfields
Change-Id: Idf6f7f2946eecada64d2a586194533840ec8cc63 Reviewed-on: https://gerrit.libreoffice.org/61248 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/cuitabline.hxx1
-rw-r--r--cui/source/tabpages/tpline.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index 9a88e89038f2..798d4e5c7501 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -92,7 +92,6 @@ private:
bool m_bNewSize;
/// a graphic to be displayed in the preview in case that an automatic symbol is chosen
Graphic m_aAutoSymbolGraphic;
- long m_nNumMenuGalleryItems;
long m_nSymbolType;
/// attributes for the shown symbols; only necessary if not equal to line properties
SfxItemSet* m_pSymbolAttr;
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index 015d4ac84883..fa45d9916897 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -74,7 +74,6 @@ SvxLineTabPage::SvxLineTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs
: SfxTabPage(pParent, "cui/ui/linetabpage.ui", "LineTabPage", &rInAttrs)
, m_pSymbolList(nullptr)
, m_bNewSize(false)
- , m_nNumMenuGalleryItems(0)
, m_nSymbolType(SVX_SYMBOLTYPE_UNKNOWN) // unknown respectively unchanged
, m_pSymbolAttr(nullptr)
, m_bLastWidthModified(false)
@@ -1380,7 +1379,6 @@ IMPL_LINK_NOARG(SvxLineTabPage, MenuCreateHdl_Impl, weld::ToggleButton&, void)
GalleryExplorer::FillObjList(GALLERY_THEME_BULLETS, m_aGrfNames);
sal_uInt32 i = 0;
- m_nNumMenuGalleryItems = m_aGrfNames.size();
for (auto const& grfName : m_aGrfNames)
{
const OUString *pUIName = &grfName;