diff options
Diffstat (limited to 'sw/source/uibase/dochdl/swdtflvr.cxx')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 43271806c411..802c726389a5 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -441,7 +441,7 @@ sal_Bool SAL_CALL SwTransferable::isComplex() { if (pTextNode->HasHints()) { - for (size_t nHint = 0; pTextNode->GetSwpHints().Count(); ++nHint) + for (size_t nHint = 0; nHint < pTextNode->GetSwpHints().Count(); ++nHint) { SwTextAttr* pHint = pTextNode->GetSwpHints().Get(nHint); if (pHint->Which() == RES_TXTATR_FLYCNT) |