diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 14:00:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:26 +0200 |
commit | e52779d2f8722c713f72aedbf475267440d729f0 (patch) | |
tree | 0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /vcl | |
parent | remove unnecessary use of OUString constructor in BASIC module (diff) | |
download | core-e52779d2f8722c713f72aedbf475267440d729f0.tar.gz core-e52779d2f8722c713f72aedbf475267440d729f0.zip |
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/sgvtext.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx index 377736cfabdd..be514af6b9c3 100644 --- a/vcl/source/filter/sgvtext.cxx +++ b/vcl/source/filter/sgvtext.cxx @@ -542,27 +542,27 @@ sal_uInt16 SetTextContext(OutputDevice& rOut, ObjTextType& Atr, bool Kapt, sal_u case 92500: case 92501: case 92504: case 92505: { #if defined(WNT) - FNam=OUString("Times New Roman"); // CG Times ist unter Windows Times New Roman + FNam = "Times New Roman"; // CG Times ist unter Windows Times New Roman #else - FNam=OUString("Times"); // ansonsten ist das einfach Times + FNam = "Times"; // ansonsten ist das einfach Times #endif StdBrei=40; aFont.SetFamily(FAMILY_ROMAN); } break; case 94021: case 94022: case 94023: case 94024: { #if defined(WNT) - FNam=OUString("Arial"); // Univers ist unter Windows Arial + FNam = "Arial"; // Univers ist unter Windows Arial #else - FNam=OUString("Helvetica"); // und ansonsten Helvetica + FNam = "Helvetica"; // und ansonsten Helvetica #endif aFont.SetFamily(FAMILY_SWISS); StdBrei=47; } break; case 93950: case 93951: case 93952: case 93953: { #if defined(WNT) - FNam=OUString("Courier New"); // Der Vector-Courierfont unter Windows heisst Courier New + FNam = "Courier New"; // Der Vector-Courierfont unter Windows heisst Courier New #else - FNam=OUString("Courier"); // ansonsten ist und bleibt Courier immer Courier + FNam = "Courier"; // ansonsten ist und bleibt Courier immer Courier #endif aFont.SetFamily(FAMILY_ROMAN); aFont.SetPitch(PITCH_FIXED); |