[Libreoffice-commits] core.git: ucb/source

Takeshi Abe tabe at fixedpoint.jp
Fri Apr 6 04:34:52 UTC 2018


 ucb/source/ucp/file/filrset.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 8d6e498a11024ca3cf70864250a757e0d5a7b166
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Apr 6 10:48:58 2018 +0900

    ucb: Shift property "IsRowCountFinal"'s index from 0 to 1
    
    The original 0 seems a typo.
    Cf. ucb/source/sorter/sortresult.cxx and
        ucb/source/ucp/ftp/ftpresultsetbase.cxx.
    
    Change-Id: I5c2331483aa8186a031bba9fb2fc906ee4a1e535
    Reviewed-on: https://gerrit.libreoffice.org/52484
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx
index 1d949a9996dd..21e9acdc72c0 100644
--- a/ucb/source/ucp/file/filrset.cxx
+++ b/ucb/source/ucp/file/filrset.cxx
@@ -631,10 +631,10 @@ XResultSet_impl::getPropertySetInfo()
     seq[0].Type = cppu::UnoType<sal_Int32>::get();
     seq[0].Attributes = beans::PropertyAttribute::READONLY;
 
-    seq[0].Name = "IsRowCountFinal";
-    seq[0].Handle = -1;
-    seq[0].Type = cppu::UnoType<sal_Bool>::get();
-    seq[0].Attributes = beans::PropertyAttribute::READONLY;
+    seq[1].Name = "IsRowCountFinal";
+    seq[1].Handle = -1;
+    seq[1].Type = cppu::UnoType<sal_Bool>::get();
+    seq[1].Attributes = beans::PropertyAttribute::READONLY;
 
     XPropertySetInfo_impl* p = new XPropertySetInfo_impl( m_pMyShell,
                                                           seq );


More information about the Libreoffice-commits mailing list