diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-13 20:00:49 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-13 20:01:51 +0100 |
commit | 71b491fd71f5ad1aa61f917992462009a6d1bb6b (patch) | |
tree | 51d21c37f2e6a14ba308fae384586f18350fa6af /sc/source/ui/view/tabvwshe.cxx | |
parent | 6c91431eef31e35e7beb3c1272221d04d60ec2a2 (diff) |
const as const can
Change-Id: I0610bdee35fb7a36a183a5617115f3277af8e6a8
Diffstat (limited to 'sc/source/ui/view/tabvwshe.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx index 39ae82825c60..5f084986e848 100644 --- a/sc/source/ui/view/tabvwshe.cxx +++ b/sc/source/ui/view/tabvwshe.cxx @@ -237,7 +237,7 @@ void ScTabViewShell::ExecSearch( SfxRequest& rReq ) ScGlobal::SetSearchItem( *pSearchItem ); sal_Bool bSuccess = SearchAndReplace( pSearchItem, sal_True, rReq.IsAPI() ); - SfxChildWindow* pChildWindow = SfxViewFrame::Current()->GetChildWindow( + const SfxChildWindow* pChildWindow = SfxViewFrame::Current()->GetChildWindow( SvxSearchDialogWrapper::GetChildWindowId()); if (pChildWindow) { @@ -307,7 +307,7 @@ void ScTabViewShell::ExecSearch( SfxRequest& rReq ) rReq.IsAPI() ? SFX_CALLMODE_API|SFX_CALLMODE_SYNCHRON : SFX_CALLMODE_STANDARD, &aSearchItem, 0L ); - SfxChildWindow* pChildWindow = SfxViewFrame::Current()->GetChildWindow( + const SfxChildWindow* pChildWindow = SfxViewFrame::Current()->GetChildWindow( SvxSearchDialogWrapper::GetChildWindowId()); if (pChildWindow) { |