[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - basctl/source

Ivan Timofeev timofeev.i.s at gmail.com
Fri Nov 8 15:38:44 CET 2013


 basctl/source/basicide/baside2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit abd333fc9ace9e559eef2c5dcb851ef9dceac553
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Fri Nov 8 13:59:46 2013 +0400

    fdo#71306: fix [Page: N] info in headers of pages printed from basic ide
    
    Change-Id: I115503f0fca653343cfb1e0eb9dc81937ef82648
    Reviewed-on: https://gerrit.libreoffice.org/6616
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 962658f..4eb1a924 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -135,7 +135,7 @@ void lcl_PrintHeader( Printer* pPrinter, sal_uInt16 nPages, sal_uInt16 nCurPage,
 
         if( bOutput )
         {
-            OUString aPageStr = " [" + IDE_RESSTR(RID_STR_PAGE) + " " + OUString::valueOf( nCurPage ) + "]";
+            OUString aPageStr = " [" + IDE_RESSTR(RID_STR_PAGE) + " " + OUString::number( nCurPage ) + "]";
             pPrinter->DrawText( aPos, aPageStr );
         }
     }


More information about the Libreoffice-commits mailing list