summaryrefslogtreecommitdiff
path: root/sw/source/core/text/guess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/guess.cxx')
-rw-r--r--sw/source/core/text/guess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index 76fb43c1eb9e..d6fbbababd9e 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -185,7 +185,7 @@ bool SwTextGuess::Guess( const SwTextPortion& rPor, SwTextFormatInfo &rInf,
}
bool bHyph = rInf.IsHyphenate() && !rInf.IsHyphForbud();
- TextFrameIndex nHyphPos = TextFrameIndex(0);
+ TextFrameIndex nHyphPos(0);
// nCutPos is the first character not fitting to the current line
// nHyphPos is the first character not fitting to the current line,