summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/brkdlg.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-01-09 10:53:05 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-01-09 10:54:19 +0100
commita2296128ccc1c678f0a8a591c36b5546683f482d (patch)
treee5286fc9dc5c9e1e061c7581a0090c2a8ee6e34b /sd/source/ui/dlg/brkdlg.cxx
parent2f320afd978f15a8197f11614251b1e7014487c9 (diff)
Some removal/replacement of the String/UniString with OUString
Diffstat (limited to 'sd/source/ui/dlg/brkdlg.cxx')
-rw-r--r--sd/source/ui/dlg/brkdlg.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx
index 6f311e77ef78..fd5aa1eb1fb5 100644
--- a/sd/source/ui/dlg/brkdlg.cxx
+++ b/sd/source/ui/dlg/brkdlg.cxx
@@ -120,9 +120,9 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit )
}
// Welches Oject wird gerade angezeigt?
- String info = UniString::CreateFromInt32( pProgrInfo->GetCurObj() );
- info.Append( sal_Unicode('/') );
- info.Append( UniString::CreateFromInt32( pProgrInfo->GetObjCount() ) );
+ OUString info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurObj() ) )
+ + "/"
+ + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetObjCount() ) );
aFiObjInfo.SetText(info);
// Wieviele Actions sind schon aufgebrochen?
@@ -132,9 +132,9 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit )
}
else
{
- info = UniString::CreateFromInt32( pProgrInfo->GetCurAction() );
- info.Append( sal_Unicode('/') );
- info.Append( UniString::CreateFromInt32( pProgrInfo->GetActionCount() ) );
+ info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurAction() ) )
+ + "/"
+ + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetActionCount() ) );
aFiActInfo.SetText(info);
}
@@ -145,9 +145,9 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit )
}
else
{
- info = UniString::CreateFromInt32( pProgrInfo->GetCurInsert() );
- info.Append( sal_Unicode('/') );
- info.Append( UniString::CreateFromInt32( pProgrInfo->GetInsertCount() ) );
+ info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurInsert() ) )
+ + "/"
+ + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetInsertCount() ) );
aFiInsInfo.SetText(info);
}