summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 13:47:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 20:48:57 +0200
commit205c47443ea43341cacec52acbe53a470f41acc6 (patch)
tree5a9cf627ccb86c6d52250f041542d4fcddc83d73 /svx
parent3f820a5638b84bd66c9a58172f1c812b54e6f9da (diff)
loplugin:unusedmethods
Change-Id: I9d1abe62e7e0ae3434e0b2d440d6ccf0435e97cc Reviewed-on: https://gerrit.libreoffice.org/78131 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/fntctrl.cxx38
-rw-r--r--svx/source/dialog/langbox.cxx12
2 files changed, 0 insertions, 50 deletions
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx
index 7e991af52d91..5a32430ab271 100644
--- a/svx/source/dialog/fntctrl.cxx
+++ b/svx/source/dialog/fntctrl.cxx
@@ -539,16 +539,6 @@ void SvxFontPrevWindow::dispose()
vcl::Window::dispose();
}
-SvxFont& SvxFontPrevWindow::GetCTLFont()
-{
- return pImpl->maCTLFont;
-}
-
-SvxFont& SvxFontPrevWindow::GetCJKFont()
-{
- return pImpl->maCJKFont;
-}
-
void SvxFontPrevWindow::StateChanged( StateChangedType nType )
{
if (nType == StateChangedType::ControlForeground)
@@ -568,17 +558,6 @@ void SvxFontPrevWindow::DataChanged( const DataChangedEvent& rDCEvt )
Window::DataChanged( rDCEvt );
}
-SvxFont& SvxFontPrevWindow::GetFont()
-{
- pImpl->Invalidate100PercentFontWidth(); // because the user might change the size
- return pImpl->maFont;
-}
-
-const SvxFont& SvxFontPrevWindow::GetFont() const
-{
- return pImpl->maFont;
-}
-
void SvxFontPrevWindow::SetFont( const SvxFont& rNormalOutFont, const SvxFont& rCJKOutFont, const SvxFont& rCTLFont )
{
setFont(rNormalOutFont, pImpl->maFont);
@@ -589,29 +568,12 @@ void SvxFontPrevWindow::SetFont( const SvxFont& rNormalOutFont, const SvxFont& r
Invalidate();
}
-void SvxFontPrevWindow::SetColor(const Color &rColor)
-{
- pImpl->mpColor.reset(new Color(rColor));
- Invalidate();
-}
-
-void SvxFontPrevWindow::ResetColor()
-{
- pImpl->mpColor.reset();
- Invalidate();
-}
-
void SvxFontPrevWindow::SetBackColor(const Color &rColor)
{
pImpl->mpBackColor.reset(new Color(rColor));
Invalidate();
}
-void SvxFontPrevWindow::UseResourceText()
-{
- pImpl->mbUseResText = true;
-}
-
void SvxFontPrevWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&)
{
ApplySettings(rRenderContext);
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx
index 2ccfe16d6de4..8bcea7b1d17f 100644
--- a/svx/source/dialog/langbox.cxx
+++ b/svx/source/dialog/langbox.cxx
@@ -346,18 +346,6 @@ sal_Int32 SvxLanguageBoxBase::ImplInsertLanguage( const LanguageType nLangType,
}
-void SvxLanguageBoxBase::InsertDefaultLanguage( sal_Int16 nType )
-{
- ImplInsertLanguage( LANGUAGE_SYSTEM, LISTBOX_APPEND, nType );
-}
-
-
-void SvxLanguageBoxBase::InsertSystemLanguage()
-{
- ImplInsertLanguage( LANGUAGE_USER_SYSTEM_CONFIG, LISTBOX_APPEND, css::i18n::ScriptType::WEAK );
-}
-
-
LanguageType SvxLanguageBoxBase::GetSelectedLanguage() const
{
sal_Int32 nPos = ImplGetSelectedEntryPos();