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

Stephan Bergmann sbergman at redhat.com
Fri Feb 28 02:18:14 PST 2014


 svtools/source/dialogs/addresstemplate.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 51e937c27069711fe266963aa2a0dbfa8d99cf6b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Feb 28 11:17:29 2014 +0100

    loplugin:literaltoboolconversion
    
    Change-Id: If5949c6123e2816d0e7d9fd93d3e24dfecba1a56

diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 7104f68..ae09869 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -701,11 +701,11 @@ void AssignmentPersistentData::Commit()
             StyleSettings aSystemStyle = GetSettings().GetStyleSettings();
             const ::Color& rNewColor = aSystemStyle.GetDialogColor();
 
-            m_pDatasource->SetReadOnly( sal_True );
+            m_pDatasource->SetReadOnly( true );
             m_pDatasource->SetBackground( Wallpaper( rNewColor ) );
             m_pDatasource->SetControlBackground( rNewColor );
 
-            m_pTable->SetReadOnly( sal_True );
+            m_pTable->SetReadOnly( true );
             m_pTable->SetBackground( Wallpaper( rNewColor ) );
             m_pTable->SetControlBackground( rNewColor );
 


More information about the Libreoffice-commits mailing list