summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-30 11:31:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-30 13:18:38 +0000
commitbbc94edb9a91b27910d43610db9994df10dd99e1 (patch)
tree99f81b7bc96dd93ae6c6e6a4f7a57cfda72cdfa4 /toolkit
parent47e1e8494dde85414d28efafa99b33a62b59116d (diff)
refactor ConvertLineEnd
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/helper/formpdfexport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/helper/formpdfexport.cxx b/toolkit/source/helper/formpdfexport.cxx
index 957c0186620b..0dd668d049ea 100644
--- a/toolkit/source/helper/formpdfexport.cxx
+++ b/toolkit/source/helper/formpdfexport.cxx
@@ -610,8 +610,7 @@ namespace toolkitform
// --------------------------------
// text line ends
// some controls may (always or dependent on other settings) return UNIX line ends
- String aConverter( _rpDescriptor->Text );
- _rpDescriptor->Text = aConverter.ConvertLineEnd( LINEEND_CRLF );
+ _rpDescriptor->Text = convertLineEnd(_rpDescriptor->Text, LINEEND_CRLF);
}
catch( const Exception& )
{