diff options
author | Maja Djordjevic <ovcica@gmail.com> | 2011-01-06 12:08:48 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-01-06 12:16:02 +0100 |
commit | ebd0c7e25f21785071e922fd7df2be902447afbe (patch) | |
tree | 595588d282c205b5f0bf9c25ee5cb956e3f05fa4 /sw/source/ui/utlui | |
parent | 02de6325fbe8a8b46ec862cd1d2868c1b1807894 (diff) |
fdo#32869: Added navigation buttons to writer
Diffstat (limited to 'sw/source/ui/utlui')
-rw-r--r-- | sw/source/ui/utlui/content.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx index c7ad691c5415..94d4408578f6 100644 --- a/sw/source/ui/utlui/content.cxx +++ b/sw/source/ui/utlui/content.cxx @@ -97,6 +97,8 @@ #include "globals.hrc" #include <unomid.h> +#include "navmgr.hxx" + #define CTYPE_CNT 0 #define CTYPE_CTT 1 @@ -3061,6 +3063,7 @@ void SwContentTree::GotoContent(SwContent* pCnt) break; case CONTENT_TYPE_DRAWOBJECT: { + SwPosition aPos = *pActiveShell->GetCrsr()->GetPoint(); SdrView* pDrawView = pActiveShell->GetDrawView(); if (pDrawView) { @@ -3082,6 +3085,7 @@ void SwContentTree::GotoContent(SwContent* pCnt) } } } + pActiveShell->GetNavigationMgr().addEntry(aPos); } } break; |