diff options
author | manujvashist <manujvashist@gmail.com> | 2017-12-10 10:56:38 +0530 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2018-01-26 12:05:00 +0100 |
commit | d999b55e28d0445df870f69b3a269964e3635def (patch) | |
tree | ed11a11c8a10ff1dd4aad9cb7a625bf400b4e324 /sc/source/ui/dbgui/csvtablebox.cxx | |
parent | 32b2a1831d819f73def1485d1589522cd19f9f6c (diff) |
tdf#114200 : added 'Trim space' feature in 'Text Import'
made a checkbox to Trim extra white spaces from both ends
while using seperators in 'Text Imort'
Change-Id: Ib05d9b17525e3ebec380ec8b7eebfa35fff78f01
Reviewed-on: https://gerrit.libreoffice.org/46177
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Manuj Vashist <manujvashist@gmail.com>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'sc/source/ui/dbgui/csvtablebox.cxx')
-rw-r--r-- | sc/source/ui/dbgui/csvtablebox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx index 0ebe2de56130..15d0069a1ee2 100644 --- a/sc/source/ui/dbgui/csvtablebox.cxx +++ b/sc/source/ui/dbgui/csvtablebox.cxx @@ -200,7 +200,7 @@ void ScCsvTableBox::MakePosVisible( sal_Int32 nPos ) void ScCsvTableBox::SetUniStrings( const OUString* pTextLines, const OUString& rSepChars, - sal_Unicode cTextSep, bool bMergeSep ) + sal_Unicode cTextSep, bool bMergeSep, bool bRemoveSpace ) { // assuming that pTextLines is a string array with size CSV_PREVIEW_LINES // -> will be dynamic sometime @@ -212,7 +212,7 @@ void ScCsvTableBox::SetUniStrings( if( mbFixedMode ) maGrid->ImplSetTextLineFix( nLine, *pString ); else - maGrid->ImplSetTextLineSep( nLine, *pString, rSepChars, cTextSep, bMergeSep ); + maGrid->ImplSetTextLineSep( nLine, *pString, rSepChars, cTextSep, bMergeSep, bRemoveSpace ); } EnableRepaint(); } |