summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/docinf.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /sfx2/source/doc/docinf.cxx
parent75f41baab6ce75786a91fe461835ee16a23ec18e (diff)
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'sfx2/source/doc/docinf.cxx')
-rw-r--r--sfx2/source/doc/docinf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx
index 172cfb7eeeaf..266d226338fe 100644
--- a/sfx2/source/doc/docinf.cxx
+++ b/sfx2/source/doc/docinf.cxx
@@ -230,7 +230,7 @@ bool SFX2_DLLPUBLIC SaveOlePropertySet(
rGlobSect.SetFileTimeValue( PROPID_EDITTIME, aEditTime );
rGlobSect.SetStringValue( PROPID_REVNUMBER,
- OUString::valueOf( static_cast<sal_Int32>(i_xDocProps->getEditingCycles()) ) );
+ OUString::number( i_xDocProps->getEditingCycles() ) );
if ( i_pThumb && i_pThumb->getLength() )
rGlobSect.SetThumbnailValue( PROPID_THUMBNAIL, *i_pThumb );