You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ha...@apache.org on 2014/02/11 12:58:13 UTC

svn commit: r1567072 - /openoffice/trunk/main/sw/source/ui/ribbar/workctrl.cxx

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();
     }