summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authormst <mst@openoffice.org>2009-10-20 14:10:25 +0000
committermst <mst@openoffice.org>2009-10-20 14:10:25 +0000
commit75ce04d57244cfbeb5bdd5d8b071e3c1fd4c31a0 (patch)
tree36bb7ed156d4aedf7fb08d0f0e7ae8affa0b8a0c /sw
parent2b121a3ddc42198b40b05406e5b7b31aa6ceec29 (diff)
#i106033#: SwTOXBaseSection::_UpdatePageNum(): force expansion of hyperlink
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/doctxm.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx
index 0119274f7b5e..783c7ac65139 100644
--- a/sw/source/core/doc/doctxm.cxx
+++ b/sw/source/core/doc/doctxm.cxx
@@ -2220,7 +2220,9 @@ void SwTOXBaseSection::_UpdatePageNum( SwTxtNode* pNd,
}
}
pNd->InsertText( aNumStr, aPos,
- IDocumentContentOperations::INS_EMPTYEXPAND );
+ static_cast<IDocumentContentOperations::InsertFlags>(
+ IDocumentContentOperations::INS_EMPTYEXPAND |
+ IDocumentContentOperations::INS_FORCEHINTEXPAND) );
if(pPageNoCharFmt)
{
SwFmtCharFmt aCharFmt( pPageNoCharFmt );