diff options
author | Tsutomu Uchino <hanya@apache.org> | 2014-01-18 08:49:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-20 09:59:26 +0000 |
commit | 1cf4fd9f55b950991672428257d7242b234edc30 (patch) | |
tree | c4c7e7209462476c5f147e7085ba63150388afff /vcl | |
parent | 6874e5e291e9c643eaf06a84a6e5a32be496a37a (diff) |
Related: #i56998# add space separator between value and unit...
in fixed line around the preview on print dialog
(cherry picked from commit 99d599a9ff636dc16b42889ca5d2d7323f45cae4)
Conflicts:
vcl/source/window/printdlg.cxx
Change-Id: I632766cfbc89be32f5991890df0c5cc918263f00
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index bff8cf52457a..b19a53c1ba55 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -231,7 +231,8 @@ void PrintDialog::PrintPreviewWindow::setPreview( const GDIMetaFile& i_rNewPrevi } Size aLogicPaperSize( LogicToLogic( i_rOrigSize, MapMode( MAP_100TH_MM ), MapMode( eUnit ) ) ); OUString aNumText( rLocWrap.getNum( aLogicPaperSize.Width(), nDigits ) ); - aBuf.append( aNumText ); + aBuf.append( aNumText ) + .append( sal_Unicode( ' ' ) ); aBuf.appendAscii( eUnit == MAP_MM ? "mm" : "in" ); if( !i_rPaperName.isEmpty() ) { @@ -242,7 +243,8 @@ void PrintDialog::PrintPreviewWindow::setPreview( const GDIMetaFile& i_rNewPrevi maHorzDim.SetText( aBuf.makeStringAndClear() ); aNumText = rLocWrap.getNum( aLogicPaperSize.Height(), nDigits ); - aBuf.append( aNumText ); + aBuf.append( aNumText ) + .append( sal_Unicode( ' ' ) ); aBuf.appendAscii( eUnit == MAP_MM ? "mm" : "in" ); maVertDim.SetText( aBuf.makeStringAndClear() ); |