diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-04-01 14:29:27 +0200 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-04-01 22:12:20 +0200 |
commit | 0502d66d88e1ac65869c6fe6a9a6f2c1be6a4db6 (patch) | |
tree | 47eb28077c71c7d3d63b09b4ef66cdb63ab6aead /forms/source/richtext | |
parent | 1ed73984639390759d26a2fc0209083d9f984d52 (diff) |
Remove RTL_CONSTASCII_(U)STRING in forms
Change-Id: I5086a8ba9073e8ef2dfde0ecae55ee6065cb0253
Diffstat (limited to 'forms/source/richtext')
-rw-r--r-- | forms/source/richtext/richtextengine.cxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextimplcontrol.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/richtextengine.cxx b/forms/source/richtext/richtextengine.cxx index 2ea8f2c28810..6b045babb247 100644 --- a/forms/source/richtext/richtextengine.cxx +++ b/forms/source/richtext/richtextengine.cxx @@ -59,7 +59,7 @@ namespace frm // defaults Font aFont = Application::GetSettings().GetStyleSettings().GetAppFont(); - aFont.SetName( String( RTL_CONSTASCII_USTRINGPARAM( "Times New Roman" ) ) ); + aFont.SetName( String( "Times New Roman" ) ); pPool->SetPoolDefaultItem( SvxFontItem( aFont.GetFamily(), aFont.GetName(), String(), aFont.GetPitch(), aFont.GetCharSet(), EE_CHAR_FONTINFO ) ); // 12 pt font size diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx index eca642f42c08..c5b2cc40ab61 100644 --- a/forms/source/richtext/richtextimplcontrol.cxx +++ b/forms/source/richtext/richtextimplcontrol.cxx @@ -468,7 +468,7 @@ namespace frm { m_pViewport->Push( PUSH_FONT ); m_pViewport->SetFont( m_pEngine->GetStandardFont(0) ); - nFontWidth = m_pViewport->GetTextWidth( String( RTL_CONSTASCII_USTRINGPARAM( "x" ) ) ); + nFontWidth = m_pViewport->GetTextWidth( String( "x" ) ); m_pViewport->Pop(); } // ... is the scroll size for the horizontal scrollbar |