summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-08 17:27:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-08 17:27:02 +0100
commit0eed6c98cac8b6d982ab595e6e8a2ee079d88389 (patch)
tree98fdbf45b8e6a3791c331ae4f6868e435efb83aa /svtools
parent2e30b18c9aaea4dc097f6b4e6e63b95e19917838 (diff)
loplugin:unreffun
Change-Id: I7cd699632b05ac8de6c5e3a6dbc66b8de7d88054
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/ehdl.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx
index 16503aa591cc..b1a29dd4e16f 100644
--- a/svtools/source/misc/ehdl.cxx
+++ b/svtools/source/misc/ehdl.cxx
@@ -195,30 +195,6 @@ bool SfxErrorHandler::CreateString(const ErrorInfo *pErr, OUString &rStr) const
return false;
}
-class ResString: public OUString
-/* [Description]
-
- Helpclass to read a string and optional ExtraData from
- a string Resource.
-
- */
-{
- public:
- const OUString & GetString() const {return *this;}
- explicit ResString( ResId &rId);
-};
-
-ResString::ResString(ResId & rId)
- : OUString(rId.SetAutoRelease(false).toString())
-{
- ResMgr * pResMgr = rId.GetResMgr();
- // String ctor temporarily sets global ResManager
- if (pResMgr->GetRemainSize())
- (void)pResMgr->ReadShort();
- rId.SetAutoRelease(true);
- pResMgr->PopContext();
-}
-
void SfxErrorHandler::GetClassString(sal_uLong lClassId, OUString &rStr)
/* [Description]