summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2011-02-07 14:29:07 +0100
committerJan Holesovsky <kendy@suse.cz>2011-07-26 23:59:48 +0200
commit16b812b29614d8a321f6cf38a5908fcffc2baf7e (patch)
tree44e07096fe40f16e0ced5a5a000eff83ae7b6f87
parentabf8f78609c2555f3c26732f9edeeb40f6b0d67b (diff)
dr78: #i116250# set app flag in ScGlobal::SetSearchItem, fdo#33379, fdo#33593
And also fdo#37499. It seems that this commit somehow disappeared during merge.
-rw-r--r--sc/source/core/data/global.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index a163c8b0c..d05f93057 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -287,6 +287,7 @@ void ScGlobal::SetSearchItem( const SvxSearchItem& rNew )
pSearchItem = (SvxSearchItem*)rNew.Clone();
pSearchItem->SetWhich( SID_SEARCH_ITEM );
+ pSearchItem->SetAppFlag( SVX_SEARCHAPP_CALC );
}
void ScGlobal::ClearAutoFormat()