loplugin:unusedfields
Change-Id: I3d2cdd80b542dbdbd29971ef837111191809f081 Reviewed-on: https://gerrit.libreoffice.org/61282 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -204,6 +204,8 @@ include/sfx2/msg.hxx:117
|
||||
SfxType0 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
|
||||
include/sfx2/msg.hxx:119
|
||||
SfxType0 nAttribs sal_uInt16
|
||||
include/svl/broadcast.hxx:85
|
||||
SvtBroadcaster mbDisposing _Bool
|
||||
include/svl/ondemand.hxx:58
|
||||
OnDemandLocaleDataWrapper aSysLocale class SvtSysLocale
|
||||
include/svx/ClassificationDialog.hxx:59
|
||||
@@ -584,7 +586,7 @@ vcl/inc/unx/i18n_ic.hxx:46
|
||||
SalI18N_InputContext maSwitchIMCallback XIMCallback
|
||||
vcl/inc/unx/i18n_ic.hxx:47
|
||||
SalI18N_InputContext maDestroyCallback XIMCallback
|
||||
vcl/source/app/salvtables.cxx:1504
|
||||
vcl/source/app/salvtables.cxx:1514
|
||||
SalInstanceEntry m_aTextFilter class SalInstanceEntry::WeldTextFilter
|
||||
vcl/source/gdi/jobset.cxx:35
|
||||
ImplOldJobSetupData cDeviceName char [32]
|
||||
|
@@ -332,6 +332,10 @@ include/svtools/ctrlbox.hxx:454
|
||||
FontSizeBox nPtRelStep short
|
||||
include/svtools/editsyntaxhighlighter.hxx:33
|
||||
MultiLineEditSyntaxHighlight m_aColorConfig svtools::ColorConfig
|
||||
include/svx/fontlb.hxx:33
|
||||
SvLBoxFontString maFont vcl::Font
|
||||
include/svx/fontlb.hxx:34
|
||||
SvLBoxFontString mbUseColor _Bool
|
||||
include/svx/sdr/overlay/overlayanimatedbitmapex.hxx:51
|
||||
sdr::overlay::OverlayAnimatedBitmapEx mbOverlayState _Bool
|
||||
include/svx/sdr/overlay/overlaymanager.hxx:73
|
||||
|
@@ -118,6 +118,8 @@ include/sfx2/msg.hxx:117
|
||||
SfxType0 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
|
||||
include/sfx2/msg.hxx:119
|
||||
SfxType0 nAttribs sal_uInt16
|
||||
include/svl/broadcast.hxx:85
|
||||
SvtBroadcaster mbDisposing _Bool
|
||||
include/svtools/ctrlbox.hxx:353
|
||||
SvtLineListBox m_xLineSetWin std::unique_ptr<weld::CustomWeld>
|
||||
include/svtools/genericunodialog.hxx:218
|
||||
|
@@ -146,8 +146,6 @@ cui/source/inc/cuihyperdlg.hxx:57
|
||||
SvxHlinkCtrl aRdOnlyForwarder class SfxStatusForwarder
|
||||
cui/source/inc/cuihyperdlg.hxx:77
|
||||
SvxHpLinkDlg maCtrl class SvxHlinkCtrl
|
||||
cui/source/inc/cuitabline.hxx:95
|
||||
SvxLineTabPage m_nNumMenuGalleryItems long
|
||||
dbaccess/source/core/dataaccess/documentdefinition.cxx:287
|
||||
dbaccess::LifetimeCoupler m_xClient Reference<class com::sun::star::uno::XInterface>
|
||||
desktop/qa/desktop_lib/test_desktop_lib.cxx:178
|
||||
@@ -364,8 +362,6 @@ sc/source/filter/xml/xmlexternaltabi.hxx:112
|
||||
ScXMLExternalRefCellContext mnCellType sal_Int16
|
||||
sc/source/ui/inc/AccessibleText.hxx:194
|
||||
ScAccessiblePreviewHeaderCellTextData mbRowHeader _Bool
|
||||
sc/source/ui/inc/AccessibleText.hxx:266
|
||||
ScAccessibleCsvTextData maBoundBox tools::Rectangle
|
||||
sc/source/ui/inc/datastream.hxx:108
|
||||
sc::DataStream mnSettings sal_uInt32
|
||||
sc/source/ui/inc/preview.hxx:47
|
||||
|
@@ -29,10 +29,6 @@
|
||||
/** A list box string item which stores its text and font. */
|
||||
class SAL_WARN_UNUSED SvLBoxFontString : public SvLBoxString
|
||||
{
|
||||
private:
|
||||
vcl::Font maFont; /// The font used by this item.
|
||||
bool mbUseColor; /// true = use font color, false = default listbox color.
|
||||
|
||||
public:
|
||||
SvLBoxFontString();
|
||||
|
||||
|
@@ -27,7 +27,6 @@
|
||||
|
||||
SvLBoxFontString::SvLBoxFontString()
|
||||
: SvLBoxString()
|
||||
, mbUseColor(false)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -44,13 +43,10 @@ void SvLBoxFontString::Paint(const Point& rPos, SvTreeListBox& rDev, vcl::Render
|
||||
const SvViewDataEntry* pView, const SvTreeListEntry& rEntry)
|
||||
{
|
||||
rRenderContext.Push(PushFlags::FONT);
|
||||
vcl::Font aNewFont(maFont);
|
||||
vcl::Font aNewFont;
|
||||
bool bSel = pView->IsSelected();
|
||||
if (!mbUseColor || bSel) // selection always gets highlight color
|
||||
{
|
||||
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
|
||||
aNewFont.SetColor(bSel ? rStyleSettings.GetHighlightTextColor() : rStyleSettings.GetFieldTextColor());
|
||||
}
|
||||
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
|
||||
aNewFont.SetColor(bSel ? rStyleSettings.GetHighlightTextColor() : rStyleSettings.GetFieldTextColor());
|
||||
|
||||
rRenderContext.SetFont(aNewFont);
|
||||
SvLBoxString::Paint(rPos, rDev, rRenderContext, pView, rEntry);
|
||||
@@ -60,7 +56,7 @@ void SvLBoxFontString::Paint(const Point& rPos, SvTreeListBox& rDev, vcl::Render
|
||||
void SvLBoxFontString::InitViewData( SvTreeListBox* pView, SvTreeListEntry* pEntry, SvViewDataItem* pViewData )
|
||||
{
|
||||
vcl::Font aOldFont( pView->GetFont() );
|
||||
pView->Control::SetFont( maFont );
|
||||
pView->Control::SetFont( vcl::Font() );
|
||||
SvLBoxString::InitViewData( pView, pEntry, pViewData);
|
||||
pView->Control::SetFont( aOldFont );
|
||||
}
|
||||
|
Reference in New Issue
Block a user