diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-15 14:20:11 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-15 14:20:11 -0500 |
commit | 7ef63de9952484b8f43f11cdb97e16ca015e522c (patch) | |
tree | 714cce4a9e19ba54fd0c5f48af7f66c8596d45ee /sc | |
parent | e3e77167ad7c0263c124b6327728502b411cebb3 (diff) |
Parse it as a single address.
We ensure in SetReference() that the reference is always a single
address.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/filtdlg.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx index 5b34f8294045..4c527ba3991c 100644 --- a/sc/source/ui/dbgui/filtdlg.cxx +++ b/sc/source/ui/dbgui/filtdlg.cxx @@ -676,10 +676,9 @@ ScQueryItem* ScFilterDlg::GetOutputItem() if ( aBtnCopyResult.IsChecked() ) { - ScRange aTempRange; - sal_uInt16 nResult = aTempRange.Parse(aEdCopyArea.GetText(), pDoc, pDoc->GetAddressConvention()); + sal_uInt16 nResult = theCopyPos.Parse( + aEdCopyArea.GetText(), pDoc, pDoc->GetAddressConvention()); bCopyPosOk = ( SCA_VALID == (nResult & SCA_VALID) ); - theCopyPos = aTempRange.aStart; } if ( aBtnCopyResult.IsChecked() && bCopyPosOk ) |