diff options
Diffstat (limited to 'sd/source/ui/dlg')
-rw-r--r-- | sd/source/ui/dlg/RemoteDialogClientBox.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/animobjs.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/dlg/brkdlg.cxx | 12 | ||||
-rw-r--r-- | sd/source/ui/dlg/copydlg.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/dlg/custsdlg.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/dlg/prltempl.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpaction.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpoption.cxx | 4 |
8 files changed, 19 insertions, 19 deletions
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx index d7b00033f394..bce4935e2ac2 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx @@ -563,7 +563,7 @@ long ClientBox::PointToPos( const Point& rPos ) OUString ClientBox::getPin() { - return OUString::valueOf( m_aPinBox.GetValue() ); + return OUString::number( m_aPinBox.GetValue() ); } //------------------------------------------------------------------------------ diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx index 53db5b9c1c0c..57c5325908d2 100644 --- a/sd/source/ui/dlg/animobjs.cxx +++ b/sd/source/ui/dlg/animobjs.cxx @@ -581,8 +581,8 @@ void AnimationWindow::UpdateControl(bool const bDisableCtrls) aCtlDisplay.Invalidate(); aCtlDisplay.Update(); - aFiCount.SetText(OUString::valueOf( - static_cast<sal_Int64>(m_FrameList.size()))); + aFiCount.SetText(OUString::number( + m_FrameList.size())); if (!m_FrameList.empty() && !bMovie) { @@ -887,7 +887,7 @@ void AnimationWindow::AddObj (::sd::View& rView ) if( !nLoopCount ) // endless aLbLoopCount.SelectEntryPos( aLbLoopCount.GetEntryCount() - 1); else - aLbLoopCount.SelectEntry(OUString::valueOf( nLoopCount ) ); + aLbLoopCount.SelectEntry(OUString::number( nLoopCount ) ); } long nTime = rAnimBmp.nWait; diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx index 57d98ba620c5..676de78922a4 100644 --- a/sd/source/ui/dlg/brkdlg.cxx +++ b/sd/source/ui/dlg/brkdlg.cxx @@ -111,9 +111,9 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit ) } // which object is shown at the moment? - OUString info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurObj() ) ) + OUString info = OUString::number( pProgrInfo->GetCurObj() ) + "/" - + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetObjCount() ) ); + + OUString::number( pProgrInfo->GetObjCount() ); aFiObjInfo.SetText(info); // how many actions are started? @@ -123,9 +123,9 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit ) } else { - info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurAction() ) ) + info = OUString::number( pProgrInfo->GetCurAction() ) + "/" - + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetActionCount() ) ); + + OUString::number( pProgrInfo->GetActionCount() ); aFiActInfo.SetText(info); } @@ -136,9 +136,9 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit ) } else { - info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurInsert() ) ) + info = OUString::number( pProgrInfo->GetCurInsert() ) + "/" - + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetInsertCount() ) ); + + OUString::number( pProgrInfo->GetInsertCount() ); aFiInsInfo.SetText(info); } diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx index ca4f23856b37..14c64aa8e60b 100644 --- a/sd/source/ui/dlg/copydlg.cxx +++ b/sd/source/ui/dlg/copydlg.cxx @@ -107,10 +107,10 @@ CopyDlg::~CopyDlg() rStr += OUString::number(m_pMtrFldHeight->GetValue()); rStr.Append( TOKEN ); - rStr += OUString::valueOf( (long)m_pLbStartColor->GetSelectEntryColor().GetColor() ); + rStr += OUString::number( m_pLbStartColor->GetSelectEntryColor().GetColor() ); rStr.Append( TOKEN ); - rStr += OUString::valueOf( (long)m_pLbEndColor->GetSelectEntryColor().GetColor() ); + rStr += OUString::number( m_pLbEndColor->GetSelectEntryColor().GetColor() ); } /** diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx index ac564ee7da1e..1878f5ddb344 100644 --- a/sd/source/ui/dlg/custsdlg.cxx +++ b/sd/source/ui/dlg/custsdlg.cxx @@ -188,14 +188,14 @@ IMPL_LINK( SdCustomShowDlg, ClickButtonHdl, void *, p ) sal_Int32 nNum = 1; if( nStrPos < 0 ) { - aStr = aStr + " (" + aStrCopy + OUString::valueOf( nNum ) + ")"; + aStr = aStr + " (" + aStrCopy + OUString::number( nNum ) + ")"; nStrPos = aStr.indexOf( aStrCopy ); } nStrPos = nStrPos + aStrCopy.getLength(); // that we do not access into the nirvana (--> endless loop) if( nStrPos >= aStr.getLength() ) { - aStr = aStr + " " + OUString::valueOf( nNum ); + aStr = aStr + " " + OUString::number( nNum ); } // check name... @@ -218,7 +218,7 @@ IMPL_LINK( SdCustomShowDlg, ClickButtonHdl, void *, p ) const CharClass* pCharClass = rDoc.GetCharClass(); while( pCharClass->isDigit( aStr, nStrPos ) ) aStr = aStr.replaceAt( nStrPos, 1, "" ); - aStr = aStr.copy( 0, nStrPos) + OUString::valueOf( ++nNum ) + aStr.copy( nStrPos); + aStr = aStr.copy( 0, nStrPos) + OUString::number( ++nNum ) + aStr.copy( nStrPos); } } diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx index 9313cb26d161..3476358888f0 100644 --- a/sd/source/ui/dlg/prltempl.cxx +++ b/sd/source/ui/dlg/prltempl.cxx @@ -203,7 +203,7 @@ SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, case PO_OUTLINE_8: case PO_OUTLINE_9: aTitle = OUString(SdResId( STR_PSEUDOSHEET_OUTLINE )) + " " + - OUString::valueOf( static_cast<sal_Int32>( ePO - PO_OUTLINE_1 + 1 ) ); + OUString::number( ePO - PO_OUTLINE_1 + 1 ); break; case PO_NOTES: diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index 30a540df7855..e27b406e4615 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -826,7 +826,7 @@ String SdTPAction::GetEditText( sal_Bool bFullDocDestination ) { const sal_uInt16 nPos = aLbOLEAction.GetSelectEntryPos(); if( nPos < aVerbVector.size() ) - aStr = OUString::valueOf( aVerbVector[ nPos ] ); + aStr = OUString::number( aVerbVector[ nPos ] ); return aStr; } case presentation::ClickAction_DOCUMENT: diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx index da7e24ec84da..6bc07433eed3 100644 --- a/sd/source/ui/dlg/tpoption.cxx +++ b/sd/source/ui/dlg/tpoption.cxx @@ -578,9 +578,9 @@ void SdTpOptionsMisc::SetDrawMode() String SdTpOptionsMisc::GetScale( sal_Int32 nX, sal_Int32 nY ) { - String aScale( OUString::valueOf( nX ) ); + String aScale( OUString::number( nX ) ); aScale.Append( TOKEN ); - aScale.Append( OUString::valueOf( nY ) ); + aScale.Append( OUString::number( nY ) ); return( aScale ); } |