summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-11-02 15:32:09 +0000
committerMathias Bauer <mba@openoffice.org>2001-11-02 15:32:09 +0000
commit61a3180f84f6ded77b5255780f9b5fc60f6a49e2 (patch)
tree2083758e562e5bff9cba91815affdbef6efcb951
parent65d18a89ac099a5c3c47ab191dc0b9f47ebd09b0 (diff)
#93820#: Update after setting Symbolsize
-rw-r--r--sfx2/source/appl/appcfg.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index c1222de12271..1f919a011aca 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appcfg.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: fs $ $Date: 2001-10-19 10:17:07 $
+ * last change: $Author: mba $ $Date: 2001-11-02 16:32:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -681,7 +681,14 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet )
DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected");
BOOL bBigSize = ( (const SfxBoolItem*)pItem )->GetValue();
aMiscOptions.SetSymbolSet( bBigSize ? SFX_SYMBOLS_LARGE : SFX_SYMBOLS_SMALL );
- DBG_ERROR("Update missing ?!");
+ SfxViewFrame* pViewFrame = SfxViewFrame::GetFirst();
+ while ( pViewFrame )
+ {
+ // update all "final" dispatchers
+ if ( !pViewFrame->GetActiveChildFrame_Impl() )
+ pViewFrame->GetDispatcher()->Update_Impl(sal_True);
+ pViewFrame = SfxViewFrame::GetNext(*pViewFrame);
+ }
}
// Backup