diff options
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index fa9d50ea7de4..c6c354508435 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -134,13 +134,8 @@ void lcl_PrintHeader( Printer* pPrinter, sal_uInt16 nPages, sal_uInt16 nCurPage, if( bOutput ) { - OUStringBuffer aPageStr; - aPageStr.appendAscii( " [" ); - aPageStr.append(IDE_RESSTR(RID_STR_PAGE)); - aPageStr.append(' '); - aPageStr.append( nCurPage ); - aPageStr.append(']'); - pPrinter->DrawText( aPos, aPageStr.makeStringAndClear() ); + OUString aPageStr = " [" + IDE_RESSTR(RID_STR_PAGE) + " " + OUString::valueOf( nCurPage ) + "]"; + pPrinter->DrawText( aPos, aPageStr ); } } |