[Libreoffice-commits] core.git: vcl/aqua

Tor Lillqvist tml at iki.fi
Wed Aug 21 06:52:43 PDT 2013


 vcl/aqua/source/gdi/aquaprintaccessoryview.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6263471eea7f5c165ff30ca7b4ce3c09f70182e5
Author: Tor Lillqvist <tml at iki.fi>
Date:   Wed Aug 21 16:52:16 2013 +0300

    WaE: 'valueOf' is deprecated
    
    Change-Id: I4ede98469af655dfbac64eee719869f8f3c8d473

diff --git a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
index 8d6f521..d1dee34 100644
--- a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
+++ b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
@@ -383,7 +383,7 @@ class ControllerProperties
         sal_Int32 nPages = mpController->getFilteredPageCount();
         rtl::OUStringBuffer aBuf( 16 );
         aBuf.appendAscii( "/ " );
-        aBuf.append( rtl::OUString::valueOf( nPages ) );
+        aBuf.append( rtl::OUString::number( nPages ) );
     
         NSString* pText = CreateNSString( aBuf.makeStringAndClear() );
         NSRect aTextRect = { { 100, 5 }, { 100, 22 } };


More information about the Libreoffice-commits mailing list