summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-07-20 10:16:14 +0200
committerJens Carl <j.carl43@gmx.de>2018-07-20 18:55:16 +0200
commit133da6ed83b278b9e6059c5c1a3d49f9f402792e (patch)
tree0f4749a6fdb4f5a5a706af34fb5dd3a67e55625f /sc
parent4a627a5724c9a9a4e469921d032376703260fbff (diff)
Fix typos
Change-Id: Ia3e6f17217b837517faa588ea7f2e72dc5aff6aa Reviewed-on: https://gerrit.libreoffice.org/57767 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/docsh8.cxx2
-rw-r--r--sc/source/ui/view/output2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index aae269593844..5729b12f92cc 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -1002,7 +1002,7 @@ ErrCode ScDocShell::DBaseExport( const OUString& rFullFileName, rtl_TextEncoding
// SQL error 22001: String length exceeds field width (after encoding).
bool bEncErr = (nError == 22018);
bool bIsOctetTextEncoding = rtl_isOctetTextEncoding( eCharSet);
- OSL_ENSURE( !bEncErr || bIsOctetTextEncoding, "ScDocShell::DBaseExport: encoding error and not an octect textencoding");
+ OSL_ENSURE( !bEncErr || bIsOctetTextEncoding, "ScDocShell::DBaseExport: encoding error and not an octet textencoding");
SCCOL nDocCol = nFirstCol;
const sal_Int32* pColTypes = aColTypes.getConstArray();
const sal_Int32* pColLengths = aColLengths.getConstArray();
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 5177e128ded2..58992589d93e 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -4728,7 +4728,7 @@ void ScOutputData::DrawRotated(bool bPixelToLogic)
double nAbsCos = fabs( nCos );
double nAbsSin = fabs( nSin );
- // adjust witdh of papersize for height of text
+ // adjust width of papersize for height of text
int nSteps = 5;
while (nSteps > 0)
{