summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-19 14:16:29 +0200
committerNoel Grandin <noel@peralex.com>2013-08-22 10:49:25 +0200
commit05211578784c28365ec2b328090a01fc5dc0bfea (patch)
treecc575f0ea2c3bef15262333888cc19eb575b61c7 /include/svtools
parent7df895abf5219332217cea25698a99eb7fd10143 (diff)
Convert include/svtools/ehdl.hxx from String to OUString
and de-virtual SfxErrorContext::GetString, since nothing was overriding it. Change-Id: Ie274c57b22880742dd221c37284441b788dfb411
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/ehdl.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx
index 6958eaf82f08..33afac3fd3e8 100644
--- a/include/svtools/ehdl.hxx
+++ b/include/svtools/ehdl.hxx
@@ -37,15 +37,15 @@ public:
sal_uInt16 nCtxIdP, Window *pWin=0,
sal_uInt16 nResIdP=USHRT_MAX, ResMgr *pMgrP=0);
SfxErrorContext(
- sal_uInt16 nCtxIdP, const String &aArg1, Window *pWin=0,
+ sal_uInt16 nCtxIdP, const OUString &aArg1, Window *pWin=0,
sal_uInt16 nResIdP=USHRT_MAX, ResMgr *pMgrP=0);
- virtual bool GetString(sal_uLong nErrId, OUString &rStr);
+ bool GetString(sal_uLong nErrId, OUString &rStr);
private:
sal_uInt16 nCtxId;
sal_uInt16 nResId;
ResMgr *pMgr;
- String aArg1;
+ OUString aArg1;
};
class SVT_DLLPUBLIC SfxErrorHandler : private ErrorHandler
@@ -66,7 +66,7 @@ private:
ResMgr *pMgr;
ResMgr *pFreeMgr;
- SVT_DLLPRIVATE sal_Bool GetClassString(sal_uLong lErrId, String &) const;
+ SVT_DLLPRIVATE sal_Bool GetClassString(sal_uLong lErrId, OUString &) const;
virtual bool CreateString( const ErrorInfo *, OUString &, sal_uInt16 &) const;
};