openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject svn commit: r1567072 - /openoffice/trunk/main/sw/source/ui/ribbar/workctrl.cxx
Date Tue, 11 Feb 2014 11:58:13 GMT
Author: hanya
Date: Tue Feb 11 11:58:13 2014
New Revision: 1567072

URL: http://svn.apache.org/r1567072
Log:
#i56998# add space separator on the preview zoom control of the preview toolbar

Modified:
    openoffice/trunk/main/sw/source/ui/ribbar/workctrl.cxx

Modified: openoffice/trunk/main/sw/source/ui/ribbar/workctrl.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/ribbar/workctrl.cxx?rev=1567072&r1=1567071&r2=1567072&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/ribbar/workctrl.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/ribbar/workctrl.cxx Tue Feb 11 11:58:13 2014
@@ -799,7 +799,7 @@ SwZoomBox_Impl::SwZoomBox_Impl(
     for(sal_uInt16 i = 0; i < sizeof(aZoomValues)/sizeof(sal_uInt16); i++)
     {
         String sEntry = String::CreateFromInt32(aZoomValues[i]);
-        sEntry += '%';
+        sEntry.AppendAscii( " %" );
         InsertEntry(sEntry);
     }
 }
@@ -931,7 +931,7 @@ void SwPreviewZoomControl::StateChanged(
     if(SFX_ITEM_AVAILABLE <= eState)
     {
         String sZoom(String::CreateFromInt32(((const SfxUInt16Item*)pState)->GetValue()));
-        sZoom += '%';
+        sZoom.AppendAscii( " %" );
         pBox->SetText(sZoom);
         pBox->SaveValue();
     }



Mime
View raw message