summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-11-18 10:39:55 +0000
committerNoel Power <noel.power@novell.com>2010-11-18 10:39:55 +0000
commit514716cacdef6c33714512c65e74cc89dfc3e985 (patch)
treeff133801d14a1a6a461cadddb25a63c57ae5784e
parentcca219cba7050c9df3c9190183f35d143339230d (diff)
fix n#654039 empty toolbar
-rw-r--r--patches/dev300/writer-navigation-buttons.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/dev300/writer-navigation-buttons.diff b/patches/dev300/writer-navigation-buttons.diff
index 24916c64a..b25325ffc 100644
--- a/patches/dev300/writer-navigation-buttons.diff
+++ b/patches/dev300/writer-navigation-buttons.diff
@@ -1469,3 +1469,15 @@ index 0000000..6cea7c3
+ <toolbar:toolbaritem xlink:href=".uno:NavigateBack" toolbar:helpid="helpid:22314"/>
+ <toolbar:toolbaritem xlink:href=".uno:NavigateForward" toolbar:helpid="helpid:22315"/>
+</toolbar:toolbar>
+diff --git sfx2/source/appl/workwin.cxx sfx2/source/appl/workwin.cxx
+index fc45667..d6a89d1 100644
+--- sfx2/source/appl/workwin.cxx
++++ sfx2/source/appl/workwin.cxx
+@@ -139,6 +139,7 @@ static const ResIdToResName pToolBarResToName[] =
+ { 23031, "mediaobjectbar" }, //draw/impress
+ { 25060, "mediaobjectbar" }, //calc
+ { 23311, "mediaobjectbar" }, //writer
++ { 23313, "navigationobjectbar" }, //writer
+ { 0, "" }
+ };
+