summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-05 08:47:31 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 12:57:18 +0200
commit8130714148d58dd2bf1ef12dcc6dd6d5838be0d1 (patch)
treebf8cf91d9837b9d03e1e3e336be7eb35667d4de9 /sc/source/ui/docshell
parent54942f0d093e42b06c7a6c10e93d632bfe0c6519 (diff)
fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 96c527df0d4d..67b5d5d4a31c 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -1814,7 +1814,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt
rtl_TextEncoding eOldCharSet = rStream.GetStreamCharSet();
rStream.SetStreamCharSet( eCharSet );
- sal_uInt16 nOldNumberFormatInt = rStream.GetNumberFormatInt();
+ SvStreamEndian nOldNumberFormatInt = rStream.GetEndian();
OString aStrDelimEncoded; // only used if not Unicode
OUString aStrDelimDecoded; // only used if context encoding
OString aDelimEncoded;
@@ -2180,7 +2180,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt
}
rStream.SetStreamCharSet( eOldCharSet );
- rStream.SetNumberFormatInt( nOldNumberFormatInt );
+ rStream.SetEndian( nOldNumberFormatInt );
}
bool ScDocShell::ConvertTo( SfxMedium &rMed )