diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-26 19:33:59 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-26 19:34:42 -0400 |
commit | 69841530937c5a110bd37fe7c0c600a19551ed07 (patch) | |
tree | c0d8ca5e4ca5c0f8c8e81f0a7918b09c2b4f36bc /sc/source/ui/dbgui/scendlg.cxx | |
parent | f952331f0cf11f624d1df7c1c5a7468c16ffdc82 (diff) |
String to rtl::OUString.
Diffstat (limited to 'sc/source/ui/dbgui/scendlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/scendlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/scendlg.cxx b/sc/source/ui/dbgui/scendlg.cxx index 466642b8e087..a018b1943d4f 100644 --- a/sc/source/ui/dbgui/scendlg.cxx +++ b/sc/source/ui/dbgui/scendlg.cxx @@ -158,13 +158,13 @@ ScNewScenarioDlg::~ScNewScenarioDlg() //------------------------------------------------------------------------ -void ScNewScenarioDlg::GetScenarioData( String& rName, String& rComment, +void ScNewScenarioDlg::GetScenarioData( rtl::OUString& rName, rtl::OUString& rComment, Color& rColor, sal_uInt16& rFlags ) const { rComment = aEdComment.GetText(); rName = aEdName.GetText(); - if ( rName.Len() == 0 ) + if (rName.isEmpty()) rName = aDefScenarioName; rColor = aLbColor.GetSelectEntryColor(); @@ -190,7 +190,7 @@ void ScNewScenarioDlg::GetScenarioData( String& rName, String& rComment, rFlags = nBits; } -void ScNewScenarioDlg::SetScenarioData( const String& rName, const String& rComment, +void ScNewScenarioDlg::SetScenarioData( const rtl::OUString& rName, const rtl::OUString& rComment, const Color& rColor, sal_uInt16 nFlags ) { aEdComment.SetText(rComment); |