diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:17:35 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:17:35 +0100 |
commit | 107da5898999f995933b014cd8f3ffa3c93dbf22 (patch) | |
tree | d882e9d42783b0d4edc0c94e64b526fdecfd12b4 /basctl | |
parent | a297e0c2918e7dd93601f25aa13c4ee77e5f7d89 (diff) |
undoapi: removed SfxApplication::IsInBasicCall
It checked a counter for being != 0 which, effectively, was set to 1 at application
startup, and never reset to 0 (though incremented and decremented by calls to Enter/LeaveBasicCall).
So, IsInBasicCall was meaningless.
Consequently, Enter/LeaveBasicCall collapse to empty operations, not doing anything anymore.
Will (hopefully) remove those, too, but need them for the moment to track and judge, guess, basic calls ...
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basicbox.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx index 4ab42fbe97a7..fa7954172134 100644 --- a/basctl/source/basicide/basicbox.cxx +++ b/basctl/source/basicide/basicbox.cxx @@ -144,9 +144,7 @@ void DocListenerBox::onDocumentSaveAsDone( const ScriptDocument& /*_rDocument*/ void DocListenerBox::onDocumentClosed( const ScriptDocument& /*_rDocument*/ ) { - if ( SFX_APP()->IsInBasicCall() ) - // Nicht wenn Office beendet - FillBox(); + FillBox(); } void DocListenerBox::onDocumentTitleChanged( const ScriptDocument& /*_rDocument*/ ) |