sc/source/ui/dbgui/filtdlg.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 7ef63de9952484b8f43f11cdb97e16ca015e522c
Author: Kohei Yoshida <[email protected]>
Date:   Tue Nov 15 14:20:11 2011 -0500

    Parse it as a single address.
    
    We ensure in SetReference() that the reference is always a single
    address.

diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index 5b34f82..4c527ba 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 )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to