From ac88e96d9d956995569293042c61e4afacca2640 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 13 May 2009 17:50:39 +0100 Subject: [PATCH] fix toolbar import --- sw/source/filter/ww8/ww8toolbar.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index dfcaa1725..bb3fc2ed4 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -216,7 +216,8 @@ bool Customization::Read( SvStream *pS) if (!aTBDelta.Read( pS ) ) return false; customizationDataTBDelta.push_back( aTBDelta ); - if ( aTBDelta.ControlDropsToolBar() ) + // Only set the drop down for menu's associated with standard toolbar + if ( aTBDelta.ControlDropsToolBar() && tbidForTBD == 0x25 ) pWrapper->InsertDropIndex( aTBDelta.CustomizationIndex() ); } } -- 2.11.4.GIT