diff options
author | Kurt Zenker <kz@openoffice.org> | 2010-04-28 12:12:31 +0200 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2010-04-28 12:12:31 +0200 |
commit | c657d56e1fdc0e1d7d39bdfab25694da363ad29e (patch) | |
tree | e930a93a366e99335b90549022a1f58dd2b44a9e | |
parent | fdbf9849d702e05e2d7b117cd130fa49be41eed5 (diff) | |
parent | c4cf0e0b0bd084054fa83c003fba9ae63241bbf8 (diff) |
CWS-TOOLING: integrate CWS ooo321gsl05ooo/OOO320_m17
-rw-r--r-- | sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index 30328540f..00670da32 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -201,6 +201,16 @@ void SlideSorterViewShell::Initialize (void) void SlideSorterViewShell::Init (bool bIsMainViewShell) { + // The search dialog is turned off automatically when the slide + // sorter is shown in the center pane. What remains to be done is + // to abort the search function. + if (bIsMainViewShell) + { + DrawDocShell* pDocShell = GetDocSh(); + if (pDocShell != NULL) + pDocShell->SetDocShellFunction(::sd::FunctionReference()); + } + ViewShell::Init(bIsMainViewShell); mpSlideSorter->GetModel().UpdatePageList(); |