summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-20 15:36:42 +0200
committerNoel Grandin <noel@peralex.com>2013-10-04 08:48:55 +0200
commit132731f0704b5a9e996cb0d413c8e369efe8875f (patch)
treed86d99fd296a80ada93ad714ec0697b84a5fd20a /sc/source
parent18d1bb6290e45770247a84df654bd053a56c3cb2 (diff)
convert sc/.../reffact.hxx from String to OUString
and de-virtual GetRefString/SetRefString, not being overriden or overriding. Change-Id: I7bf358ed5cdff316f6c77bdc13e9e245c5acccb9
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/inc/reffact.hxx4
-rw-r--r--sc/source/ui/view/reffact.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx
index 27c0d1368a4c..87d8fe2287a0 100644
--- a/sc/source/ui/inc/reffact.hxx
+++ b/sc/source/ui/inc/reffact.hxx
@@ -119,8 +119,8 @@ class ScSimpleRefDlgWrapper: public SfxChildWindow
SFX_DECL_CHILDWINDOW_WITHID(Class);
static void SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet=sal_True);
- virtual String GetRefString();
- virtual void SetRefString(const String& rStr);
+ OUString GetRefString();
+ void SetRefString(const OUString& rStr);
void SetCloseHdl( const Link& rLink );
void SetUnoLinks( const Link& rDone, const Link& rAbort,
const Link& rChange );
diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx
index 7c196be365ca..4e8a8367abf3 100644
--- a/sc/source/ui/view/reffact.cxx
+++ b/sc/source/ui/view/reffact.cxx
@@ -185,9 +185,9 @@ void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, sal_Bool b
}
-String ScSimpleRefDlgWrapper::GetRefString()
+OUString ScSimpleRefDlgWrapper::GetRefString()
{
- String aResult;
+ OUString aResult;
if(pWindow!=NULL)
{
aResult=((ScSimpleRefDlg*)pWindow)->GetRefString();
@@ -200,7 +200,7 @@ void ScSimpleRefDlgWrapper::SetAutoReOpen(sal_Bool bFlag)
bAutoReOpen=bFlag;
}
-void ScSimpleRefDlgWrapper::SetRefString(const String& rStr)
+void ScSimpleRefDlgWrapper::SetRefString(const OUString& rStr)
{
if(pWindow!=NULL)
{