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

Tor Lillqvist tml at collabora.com
Fri Feb 28 03:24:08 PST 2014


 dbaccess/source/ui/control/FieldDescControl.cxx |    2 +-
 dbaccess/source/ui/dlg/ConnectionPage.hxx       |    2 +-
 dbaccess/source/ui/dlg/ConnectionPageSetup.hxx  |    2 +-
 dbaccess/source/ui/dlg/sqlmessage.cxx           |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 278cc074512576676f0805016215bdcad73d9be2
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Feb 28 13:13:47 2014 +0200

    WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
    
    Change-Id: Ic46830dfdb82e4519cfccd5da3f673aec12fdfd8

diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index 3487c2f..0eb4ead 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -949,7 +949,7 @@ void OFieldDescControl::ActivateAggregate( EControlType eType )
             pFormatText = CreateText(STR_FORMAT);
 
             pFormatSample = new OPropEditCtrl( this, STR_HELP_FORMAT_CODE, -1, WB_BORDER );
-            pFormatSample->SetReadOnly(sal_True);
+            pFormatSample->SetReadOnly(true);
             pFormatSample->Enable(false);
             InitializeControl(pFormatSample,HID_TAB_ENT_FORMAT_SAMPLE,false);
 
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.hxx b/dbaccess/source/ui/dlg/ConnectionPage.hxx
index 7e84d47..8630771 100644
--- a/dbaccess/source/ui/dlg/ConnectionPage.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionPage.hxx
@@ -62,7 +62,7 @@ namespace dbaui
 
         virtual void        implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
 
-        inline void enableConnectionURL() { m_aConnectionURL.SetReadOnly(sal_False); }
+        inline void enableConnectionURL() { m_aConnectionURL.SetReadOnly(false); }
         inline void disableConnectionURL() { m_aConnectionURL.SetReadOnly(); }
 
         /** changes the connection URL.
diff --git a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx
index 08eb1fd..59cfa0f 100644
--- a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx
@@ -56,7 +56,7 @@ namespace dbaui
         virtual void        implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
         virtual sal_Bool    commitPage( ::svt::WizardTypes::CommitPageReason _eReason );
 
-        inline void enableConnectionURL() { m_aConnectionURL.SetReadOnly(sal_False); }
+        inline void enableConnectionURL() { m_aConnectionURL.SetReadOnly(false); }
         inline void disableConnectionURL() { m_aConnectionURL.SetReadOnly(); }
 
         /** changes the connection URL.
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx
index eb3424c..8230d73 100644
--- a/dbaccess/source/ui/dlg/sqlmessage.cxx
+++ b/dbaccess/source/ui/dlg/sqlmessage.cxx
@@ -336,7 +336,7 @@ OExceptionChainDialog::OExceptionChainDialog( Window* pParent, const ExceptionDi
 
     m_aExceptionList.SetSelectHdl(LINK(this, OExceptionChainDialog, OnExceptionSelected));
     m_aExceptionList.SetNodeDefaultImages( );
-    m_aExceptionText.SetReadOnly(sal_True);
+    m_aExceptionText.SetReadOnly(true);
 
     bool bHave22018 = false;
     size_t elementPos = 0;


More information about the Libreoffice-commits mailing list