summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-10-01 14:04:11 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-01 12:27:29 +0000
commitd575d6b53f1888208c7845b097cc27a4547fed41 (patch)
tree0943aafcb53d139cf01b81f5f734ad85c85e3d6d /sw/source/core/txtnode
parentff422a93f945a1d0ee52621495fbc7a58e3daac4 (diff)
Fix typos
Change-Id: I85e0c180df952c51b537b5408653160aad8b9a32 Reviewed-on: https://gerrit.libreoffice.org/18986 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/fntcache.cxx4
-rw-r--r--sw/source/core/txtnode/txtatr2.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index fba875c87a1d..e7a37702bbb9 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -166,7 +166,7 @@ void SwFntObj::CreatePrtFont( const OutputDevice& rPrt )
*
* 1. RefDef == OutDev (text formatting, online layout...)
* 2. PDF export from online layout
- * 3. Prospect/PagePreview pringing
+ * 3. Prospect/PagePreview printing
*/
static bool lcl_IsFontAdjustNecessary( const vcl::RenderContext& rOutDev,
const vcl::RenderContext& rRefDev )
@@ -325,7 +325,7 @@ sal_uInt16 SwFntObj::GetFontHeight( const SwViewShell* pSh, const OutputDevice&
nPrtHeight = static_cast<sal_uInt16>(rRefDev.GetTextHeight());
#if OSL_DEBUG_LEVEL > 0
- // Check if vcl did not change the meading of GetTextHeight
+ // Check if vcl did not change the meaning of GetTextHeight
const FontMetric aOutMet( rRefDev.GetFontMetric() );
long nTmpPrtHeight = (sal_uInt16)aOutMet.GetAscent() + aOutMet.GetDescent();
(void) nTmpPrtHeight;
diff --git a/sw/source/core/txtnode/txtatr2.cxx b/sw/source/core/txtnode/txtatr2.cxx
index e9bbcc449a2a..74d301d43c2b 100644
--- a/sw/source/core/txtnode/txtatr2.cxx
+++ b/sw/source/core/txtnode/txtatr2.cxx
@@ -138,7 +138,7 @@ SwCharFormat* SwTextINetFormat::GetCharFormat()
OSL_ENSURE( false, "<SwTextINetFormat::GetCharFormat()> - missing character format at hyperlink attribute");
}
- // JP 10.02.2000, Bug 72806: dont modify the doc for getting the
+ // JP 10.02.2000, Bug 72806: don't modify the doc for getting the
// correct charstyle.
bool bResetMod = !pDoc->getIDocumentState().IsModified();
Link<bool,void> aOle2Lnk;
@@ -260,7 +260,7 @@ SwCharFormat* SwTextRuby::GetCharFormat()
? static_cast<sal_uInt16>(RES_POOLCHR_RUBYTEXT)
: rFormat.GetCharFormatId();
- // JP 10.02.2000, Bug 72806: dont modify the doc for getting the
+ // JP 10.02.2000, Bug 72806: don't modify the doc for getting the
// correct charstyle.
const bool bResetMod = !pDoc->getIDocumentState().IsModified();
Link<bool,void> aOle2Lnk;