diff options
author | os <os@openoffice.org> | 2011-03-02 09:10:02 +0100 |
---|---|---|
committer | os <os@openoffice.org> | 2011-03-02 09:10:02 +0100 |
commit | 7359e482bd5446a9097a3272729f0bd6317c4a0e (patch) | |
tree | 6c787ec910447c130bfc6138ad85f2ef526ae72e /sw | |
parent | 77ba69b6cbfbab29faa49f24a94a17c7351b93e2 (diff) |
os150: #i115062# slot invalidation moved to d'tor of SwViewOptionsAdjust_Impl
Diffstat (limited to 'sw')
-rwxr-xr-x[-rw-r--r--] | sw/source/ui/uno/unotxdoc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 146e58b6b5e5..7b2409152372 100644..100755 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -3141,7 +3141,6 @@ void SAL_CALL SwXTextDocument::render( pSet->Put( SfxBoolItem( SID_HIDDEN, sal_False ) ); } - pView->GetViewFrame()->GetBindings().Invalidate( FN_VIEW_META_CHARS ); } } } @@ -4124,6 +4123,8 @@ SwViewOptionAdjust_Impl::SwViewOptionAdjust_Impl( SwWrtShell& rSh, const SwViewO SwViewOptionAdjust_Impl::~SwViewOptionAdjust_Impl() { m_rShell.ApplyViewOptions( m_aOldViewOptions ); + //#i115062# invalidate meta character slot + m_rShell.GetView().GetViewFrame()->GetBindings().Invalidate( FN_VIEW_META_CHARS ); } |