summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-28 11:23:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-28 11:23:28 +0100
commita1fb07db18605364412c675e2b703855f6131b44 (patch)
tree332ccebe6e3c799827709b8748e30840f63456c1 /sfx2
parent51e937c27069711fe266963aa2a0dbfa8d99cf6b (diff)
loplugin:literaltoboolconversion
Change-Id: Ic8d00f036ef439ae8e1184289edb3ba6a117e1f6
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx10
-rw-r--r--sfx2/source/dialog/dockwin.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index c34db4a516ef..a92eb648523e 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -720,10 +720,10 @@ void SfxDocumentDescPage::Reset(const SfxItemSet &rSet)
SFX_ITEMSET_ARG( &rSet, pROItem, SfxBoolItem, SID_DOC_READONLY, false );
if ( pROItem && pROItem->GetValue() )
{
- m_pTitleEd->SetReadOnly( sal_True );
- m_pThemaEd->SetReadOnly( sal_True );
- m_pKeywordsEd->SetReadOnly( sal_True );
- m_pCommentEd->SetReadOnly( sal_True );
+ m_pTitleEd->SetReadOnly( true );
+ m_pThemaEd->SetReadOnly( true );
+ m_pKeywordsEd->SetReadOnly( true );
+ m_pCommentEd->SetReadOnly( true );
}
}
@@ -1034,7 +1034,7 @@ void SfxDocumentPage::Reset( const SfxItemSet& rSet )
aName = aURL.GetName( INetURLObject::DECODE_WITH_CHARSET );
if ( aName.isEmpty() || aURL.GetProtocol() == INET_PROT_PRIVATE )
aName = SfxResId( STR_NONAME ).toString();
- m_pNameED->SetReadOnly( sal_True );
+ m_pNameED->SetReadOnly( true );
}
else
{
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index 0350df0a7c1c..78c1195ae5d6 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -772,7 +772,7 @@ void SfxDockingWindow::EndDocking( const Rectangle& rRect, bool bFloatMode )
return;
SfxWorkWindow *pWorkWin = pBindings->GetWorkWindow_Impl();
- bool bReArrange = sal_False;
+ bool bReArrange = false;
if ( pImp->bSplitable )
{
// If the alignment changes and the window is in a docked state in a