summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/postdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-26 08:30:52 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:42 +0200
commitea2c80bdcd862f91dd7429184aea29d9a77f9774 (patch)
treebe34aa41cac74b86ae6bcdd4e9b6b3563121a9b3 /cui/source/dialogs/postdlg.cxx
parent183f260e7ed86c30d99313cdb3267c18abb65bd3 (diff)
convert CUI module from String to OUString
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
Diffstat (limited to 'cui/source/dialogs/postdlg.cxx')
-rw-r--r--cui/source/dialogs/postdlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx
index ae786c3c118e..ca8aa20f925a 100644
--- a/cui/source/dialogs/postdlg.cxx
+++ b/cui/source/dialogs/postdlg.cxx
@@ -71,7 +71,7 @@ SvxPostItDialog::SvxPostItDialog(Window* pParent, const SfxItemSet& rCoreSet,
}
nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR );
- String aAuthorStr, aDateStr;
+ OUString aAuthorStr, aDateStr;
if ( rSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE )
{
@@ -130,7 +130,7 @@ SvxPostItDialog::~SvxPostItDialog()
// -----------------------------------------------------------------------
-void SvxPostItDialog::ShowLastAuthor(const String& rAuthor, const String& rDate)
+void SvxPostItDialog::ShowLastAuthor(const OUString& rAuthor, const OUString& rDate)
{
OUString sTxt( rAuthor );
sTxt += ", ";
@@ -183,12 +183,12 @@ IMPL_LINK_NOARG(SvxPostItDialog, Stamp)
{
Date aDate( Date::SYSTEM );
Time aTime( Time::SYSTEM );
- String aTmp( SvtUserOptions().GetID() );
+ OUString aTmp( SvtUserOptions().GetID() );
const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() );
OUString aStr( m_pEditED->GetText() );
aStr += "\n---- ";
- if ( aTmp.Len() > 0 )
+ if ( !aTmp.isEmpty() )
{
aStr += aTmp;
aStr += ", ";