summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-01-31 22:19:43 -0500
committerKohei Yoshida <libreoffice@kohei.us>2017-02-02 05:02:34 +0000
commit871614789ca7af6ebe51a3e7615551176642891a (patch)
tree5c35e7a00231a8c06c8507993c3546acfd840a61 /sc/source/ui/dbgui
parent42e472b5870278058537d43d03d457dc80b16166 (diff)
CreateQueryParam to take a ScRange parameter.
This simplifies its usage a bit. Change-Id: Idd5b24897f65c7cf8b7ff88806dd058c35c95ffe Reviewed-on: https://gerrit.libreoffice.org/33817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r--sc/source/ui/dbgui/sfiltdlg.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx
index 4f5eca4ba884..d3622bc8fd62 100644
--- a/sc/source/ui/dbgui/sfiltdlg.cxx
+++ b/sc/source/ui/dbgui/sfiltdlg.cxx
@@ -365,13 +365,7 @@ IMPL_LINK( ScSpecialFilterDlg, EndDlgHdl, Button*, pBtn, void )
theOutParam.bDuplicate = !pBtnUnique->IsChecked();
theOutParam.bDestPers = pBtnDestPers->IsChecked();
- bQueryOk =
- pDoc->CreateQueryParam( rStart.Col(),
- rStart.Row(),
- rEnd.Col(),
- rEnd.Row(),
- rStart.Tab(),
- theOutParam );
+ bQueryOk = pDoc->CreateQueryParam(ScRange(rStart,rEnd), theOutParam);
}
}