summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2011-02-07 14:29:07 +0100
committerNoel Power <noel.power@novell.com>2011-07-27 09:58:12 +0100
commit994b015908d6bb3d86193856e01678b9d2183047 (patch)
treebe9a151b5e282c064077b91bb4234bb45f58922a
parent4e792da71071784d9c7268cccc2bc8c941906e21 (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. Signed-off-by: Noel Power <noel.power@novell.com>
-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 ba7bce043..7fe72bd5b 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()