summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-25 09:05:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:50:33 +0000
commit74713b34a36577f19eb3194246de73fa4f2bb741 (patch)
tree334f601b030923ab621a92bae3f512ff67c99374 /svtools
parent132f7b2a8cc986ee79c4124ed2bc368d6dfaa418 (diff)
loplugin:unusedmethods
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/colorcfg.cxx5
-rw-r--r--svtools/source/misc/ehdl.cxx28
2 files changed, 0 insertions, 33 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 1d1d07e0911c..bde49a1e85bd 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -511,11 +511,6 @@ ColorConfigValue ColorConfig::GetColorValue(ColorConfigEntry eEntry, bool bSmart
return aRet;
}
-void ColorConfig::Reload()
-{
- m_pImpl->Load(OUString());
-}
-
EditableColorConfig::EditableColorConfig() :
m_pImpl(new ColorConfig_Impl),
m_bModified(false)
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx
index 4579966143cc..09fa9c48c72f 100644
--- a/svtools/source/misc/ehdl.cxx
+++ b/svtools/source/misc/ehdl.cxx
@@ -271,34 +271,6 @@ void SfxErrorHandler::GetClassString(sal_uLong lClassId, OUString &rStr) const
}
-bool SfxErrorHandler::GetMessageString(
- sal_uLong lErrId, OUString &rStr, sal_uInt16 &nFlags) const
-
-/* [Description]
-
- Creates the string to output a message box
-
- */
-
-{
- bool bRet = false;
- std::unique_ptr<ResId> pResId(new ResId(nId, *pMgr));
-
- ErrorResource_Impl aEr(*pResId, (sal_uInt16)lErrId);
- if(aEr)
- {
- ResString aErrorString(aEr);
- sal_uInt16 nResFlags = aErrorString.GetFlags();
- if( nResFlags )
- nFlags=aErrorString.GetFlags();
- rStr = aErrorString.GetString();
- bRet = true;
- }
-
- return bRet;
-}
-
-
bool SfxErrorHandler::GetErrorString(
sal_uLong lErrId, OUString &rStr, sal_uInt16 &nFlags) const