[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.3' - cui/source

Andras Timar andras.timar at collabora.com
Wed Mar 11 03:09:31 PDT 2015


 cui/source/options/tsaurls.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fd523a3d028f20f1599b767de9c8e1239764074a
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Mar 11 11:09:04 2015 +0100

    OS X 32-bit build fix
    
    Change-Id: I2bb67ba310cfeda2a57d5bbdcd8064eaf09aa087

diff --git a/cui/source/options/tsaurls.cxx b/cui/source/options/tsaurls.cxx
index cf50fbc..9d228b6 100644
--- a/cui/source/options/tsaurls.cxx
+++ b/cui/source/options/tsaurls.cxx
@@ -55,7 +55,7 @@ IMPL_LINK_NOARG(TSAURLsDialog, OKHdl_Impl)
     css::uno::Sequence<OUString> aNewValue(m_aURLs.size());
     size_t n(0);
 
-    for (auto i = m_aURLs.cbegin(); i != m_aURLs.cend(); ++i)
+    for (auto i = m_aURLs.begin(); i != m_aURLs.end(); ++i)
         aNewValue[n++] = *i;
     officecfg::Office::Common::Security::Scripting::TSAURLs::set(aNewValue, batch);
     batch->commit();
@@ -76,7 +76,7 @@ void TSAURLsDialog::AddTSAURL(const OUString& rURL)
     m_pURLListBox->SetUpdateMode(false);
     m_pURLListBox->Clear();
 
-    for (auto i = m_aURLs.cbegin(); i != m_aURLs.cend(); ++i)
+    for (auto i = m_aURLs.begin(); i != m_aURLs.end(); ++i)
     {
         m_pURLListBox->InsertEntry(*i);
     }


More information about the Libreoffice-commits mailing list