loplugin:unusedmethods
Change-Id: I07b1acf3d01bc0ceb6e5b2a6db260e6e7874379e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183571 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -607,8 +607,6 @@ public:
|
||||
// date acceptance patterns change.
|
||||
void InvalidateDateAcceptancePatterns();
|
||||
|
||||
const css::uno::Reference<css::uno::XComponentContext>& GetComponentContext() const;
|
||||
|
||||
//! The following methods are not to be used from outside but must be
|
||||
//! public for the InputScanner and FormatScanner.
|
||||
|
||||
|
||||
@@ -80,8 +80,6 @@ public:
|
||||
|
||||
bool IsThemePaletteSelected() const;
|
||||
|
||||
PaletteManager* Clone() const;
|
||||
|
||||
static bool GetThemeAndEffectIndex(sal_uInt16 nItemId, sal_uInt16& rThemeIndex, sal_uInt16& rEffectIndex);
|
||||
bool GetLumModOff(sal_uInt16 nThemeIndex, sal_uInt16 nEffect, sal_Int16& rLumMod, sal_Int16& rLumOff);
|
||||
|
||||
|
||||
@@ -1080,12 +1080,6 @@ public:
|
||||
tools::Long nCharExtra = 0,
|
||||
vcl::text::TextLayoutCache const* = nullptr,
|
||||
const SalLayoutGlyphs* pGlyphs = nullptr) const;
|
||||
sal_Int32 GetTextBreak( const OUString& rStr, tools::Long nTextWidth,
|
||||
sal_Unicode nExtraChar, sal_Int32& rExtraCharPos,
|
||||
sal_Int32 nIndex, sal_Int32 nLen,
|
||||
tools::Long nCharExtra,
|
||||
vcl::text::TextLayoutCache const* = nullptr,
|
||||
const SalLayoutGlyphs* pGlyphs = nullptr) const;
|
||||
sal_Int32 GetTextBreakArray(const OUString& rStr, tools::Long nTextWidth,
|
||||
std::optional<sal_Unicode> nExtraChar,
|
||||
std::optional<sal_Int32*> pExtraCharPos, sal_Int32 nIndex,
|
||||
|
||||
@@ -958,13 +958,6 @@ bool ConvertDoubleRef( const ScDocument& rDocument, const OUString& rRefString,
|
||||
/// append alpha representation of column to buffer
|
||||
SC_DLLPUBLIC void ScColToAlpha( OUStringBuffer& rBuffer, SCCOL nCol);
|
||||
|
||||
inline void ScColToAlpha( OUString& rStr, SCCOL nCol)
|
||||
{
|
||||
OUStringBuffer aBuf(4);
|
||||
ScColToAlpha( aBuf, nCol);
|
||||
rStr += aBuf;
|
||||
}
|
||||
|
||||
inline OUString ScColToAlpha( SCCOL nCol )
|
||||
{
|
||||
OUStringBuffer aBuf(4);
|
||||
|
||||
@@ -620,11 +620,6 @@ void SvNumberFormatter::ReplaceSystemCL( LanguageType eOldLanguage )
|
||||
ImpGenerateAdditionalFormats( nCLOffset, xNFC );
|
||||
}
|
||||
|
||||
const css::uno::Reference<css::uno::XComponentContext>& SvNumberFormatter::GetComponentContext() const
|
||||
{
|
||||
return m_xContext;
|
||||
}
|
||||
|
||||
const NativeNumberWrapper& SvNumberFormatter::GetNatNum() const { return m_xNatNum.get(); }
|
||||
|
||||
bool SvNFFormatData::IsTextFormat(sal_uInt32 F_Index) const
|
||||
|
||||
@@ -86,11 +86,6 @@ PaletteManager::PaletteManager(const PaletteManager* pClone)
|
||||
m_Palettes.emplace_back(a->Clone());
|
||||
}
|
||||
|
||||
PaletteManager* PaletteManager::Clone() const
|
||||
{
|
||||
return new PaletteManager(this);
|
||||
}
|
||||
|
||||
PaletteManager::~PaletteManager()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1387,17 +1387,6 @@ sal_Int32 OutputDevice::GetTextBreak( const OUString& rStr, tools::Long nTextWid
|
||||
return nRetVal;
|
||||
}
|
||||
|
||||
sal_Int32 OutputDevice::GetTextBreak( const OUString& rStr, tools::Long nTextWidth,
|
||||
sal_Unicode nHyphenChar, sal_Int32& rHyphenPos,
|
||||
sal_Int32 nIndex, sal_Int32 nLen,
|
||||
tools::Long nCharExtra,
|
||||
vcl::text::TextLayoutCache const*const pLayoutCache,
|
||||
const SalLayoutGlyphs* pGlyphs) const
|
||||
{
|
||||
return GetTextBreakArray(rStr, nTextWidth, nHyphenChar, &rHyphenPos, nIndex, nLen, nCharExtra,
|
||||
{}, pLayoutCache, pGlyphs);
|
||||
}
|
||||
|
||||
sal_Int32 OutputDevice::GetTextBreakArray(const OUString& rStr, tools::Long nTextWidth,
|
||||
std::optional<sal_Unicode> nHyphenChar,
|
||||
std::optional<sal_Int32*> pHyphenPos, sal_Int32 nIndex,
|
||||
|
||||
Reference in New Issue
Block a user