Kaydet (Commit) 132731f0 authored tarafından Noel Grandin's avatar Noel Grandin

convert sc/.../reffact.hxx from String to OUString

and de-virtual GetRefString/SetRefString, not being overriden
or overriding.

Change-Id: I7bf358ed5cdff316f6c77bdc13e9e245c5acccb9
üst 18d1bb62
...@@ -119,8 +119,8 @@ class ScSimpleRefDlgWrapper: public SfxChildWindow ...@@ -119,8 +119,8 @@ class ScSimpleRefDlgWrapper: public SfxChildWindow
SFX_DECL_CHILDWINDOW_WITHID(Class); SFX_DECL_CHILDWINDOW_WITHID(Class);
static void SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet=sal_True); static void SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet=sal_True);
virtual String GetRefString(); OUString GetRefString();
virtual void SetRefString(const String& rStr); void SetRefString(const OUString& rStr);
void SetCloseHdl( const Link& rLink ); void SetCloseHdl( const Link& rLink );
void SetUnoLinks( const Link& rDone, const Link& rAbort, void SetUnoLinks( const Link& rDone, const Link& rAbort,
const Link& rChange ); const Link& rChange );
......
...@@ -185,9 +185,9 @@ void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, sal_Bool b ...@@ -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) if(pWindow!=NULL)
{ {
aResult=((ScSimpleRefDlg*)pWindow)->GetRefString(); aResult=((ScSimpleRefDlg*)pWindow)->GetRefString();
...@@ -200,7 +200,7 @@ void ScSimpleRefDlgWrapper::SetAutoReOpen(sal_Bool bFlag) ...@@ -200,7 +200,7 @@ void ScSimpleRefDlgWrapper::SetAutoReOpen(sal_Bool bFlag)
bAutoReOpen=bFlag; bAutoReOpen=bFlag;
} }
void ScSimpleRefDlgWrapper::SetRefString(const String& rStr) void ScSimpleRefDlgWrapper::SetRefString(const OUString& rStr)
{ {
if(pWindow!=NULL) if(pWindow!=NULL)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment