summaryrefslogtreecommitdiff
path: root/toolkit/source/helper/formpdfexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/helper/formpdfexport.cxx')
-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& )
{