[Libreoffice-commits] core.git: 2 commits - fpicker/source sw/source
Stephan Bergmann
sbergman at redhat.com
Fri Mar 28 07:45:04 PDT 2014
fpicker/source/office/asyncfilepicker.cxx | 9 ---------
fpicker/source/office/fpinteraction.cxx | 7 -------
fpicker/source/office/iodlgimp.cxx | 8 --------
sw/source/core/uibase/shells/frmsh.cxx | 2 +-
4 files changed, 1 insertion(+), 25 deletions(-)
New commits:
commit b10be2e0294567cf79863e3e54111d4ff95397fd
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Mar 28 15:44:34 2014 +0100
loplugin:literaltoboolconversion
Change-Id: I920ffc647ca92276491b720e1312314f27ab58f2
diff --git a/sw/source/core/uibase/shells/frmsh.cxx b/sw/source/core/uibase/shells/frmsh.cxx
index 39d5583..652ef4b 100644
--- a/sw/source/core/uibase/shells/frmsh.cxx
+++ b/sw/source/core/uibase/shells/frmsh.cxx
@@ -1244,7 +1244,7 @@ void SwFrameShell::ExecDrawAttrArgsTextFrame(SfxRequest& rReq)
if(pSdrView)
{
- pSdrView->SetDefaultAttr(*pArgs, sal_False);
+ pSdrView->SetDefaultAttr(*pArgs, false);
}
}
}
commit 3b836710c491b1cc407bbe3a4a709ea41fd9dc49
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Mar 28 15:41:03 2014 +0100
Remove remaining DBG_CTOR etc. remnants from fpicker
Change-Id: I736ce8d12372b115e42319e9b3c352e36cbae346
diff --git a/fpicker/source/office/asyncfilepicker.cxx b/fpicker/source/office/asyncfilepicker.cxx
index d4c5241..e1c2ebe 100644
--- a/fpicker/source/office/asyncfilepicker.cxx
+++ b/fpicker/source/office/asyncfilepicker.cxx
@@ -28,13 +28,6 @@
namespace svt
{
-
-
-
- //= AsyncPickerAction
-
- DBG_NAME( AsyncPickerAction )
-
AsyncPickerAction::AsyncPickerAction( SvtFileDialog* _pDialog, SvtFileView* _pView, const Action _eAction )
:m_refCount ( 0 )
,m_eAction ( _eAction )
@@ -42,7 +35,6 @@ namespace svt
,m_pDialog ( _pDialog )
,m_bRunning ( false )
{
- DBG_CTOR( AsyncPickerAction, NULL );
DBG_ASSERT( m_pDialog, "AsyncPickerAction::AsyncPickerAction: invalid dialog!" );
DBG_ASSERT( m_pView, "AsyncPickerAction::AsyncPickerAction: invalid view!" );
}
@@ -50,7 +42,6 @@ namespace svt
AsyncPickerAction::~AsyncPickerAction()
{
- DBG_DTOR( AsyncPickerAction, NULL );
}
diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx
index f2a8a4b..e2d614f 100644
--- a/fpicker/source/office/fpinteraction.cxx
+++ b/fpicker/source/office/fpinteraction.cxx
@@ -33,24 +33,17 @@ namespace svt
using namespace ::com::sun::star::task;
using namespace ::com::sun::star::ucb;
-
- //= OFilePickerInteractionHandler
-
- DBG_NAME( OFilePickerInteractionHandler )
-
OFilePickerInteractionHandler::OFilePickerInteractionHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _rxMaster )
:m_xMaster( _rxMaster )
,m_bUsed( sal_False )
,m_eInterceptions( OFilePickerInteractionHandler::E_NOINTERCEPTION )
{
- DBG_CTOR( OFilePickerInteractionHandler, NULL );
DBG_ASSERT( m_xMaster.is(), "OFilePickerInteractionHandler::OFilePickerInteractionHandler: invalid master handler!" );
}
OFilePickerInteractionHandler::~OFilePickerInteractionHandler( )
{
- DBG_DTOR( OFilePickerInteractionHandler, NULL );
}
diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx
index 2ff7d55..7543ef8 100644
--- a/fpicker/source/office/iodlgimp.cxx
+++ b/fpicker/source/office/iodlgimp.cxx
@@ -69,17 +69,10 @@ namespace
};
}
-
-// SvtFileDialogFilter_Impl
-
-
-DBG_NAME( SvtFileDialogFilter_Impl )
SvtFileDialogFilter_Impl::SvtFileDialogFilter_Impl( const OUString& rName, const OUString& rType )
:m_aName( rName )
,m_aType( rType )
{
- DBG_CTOR( SvtFileDialogFilter_Impl, NULL );
-
m_aType = m_aType.toAsciiLowerCase();
}
@@ -87,7 +80,6 @@ SvtFileDialogFilter_Impl::SvtFileDialogFilter_Impl( const OUString& rName, const
SvtFileDialogFilter_Impl::~SvtFileDialogFilter_Impl()
{
- DBG_DTOR( SvtFileDialogFilter_Impl, NULL );
}
More information about the Libreoffice-commits
mailing list