[Libreoffice-commits] core.git: 2 commits - dbaccess/source svx/source
Noel Grandin
noel at peralex.com
Thu Jun 25 06:17:20 PDT 2015
dbaccess/source/ui/control/tabletree.cxx | 4 ++--
svx/source/inc/svdobjplusdata.hxx | 2 --
svx/source/svdraw/svdobjplusdata.cxx | 2 --
3 files changed, 2 insertions(+), 6 deletions(-)
New commits:
commit 3f4978f8c660c595773c92b99d45d0631cac04b0
Author: Noel Grandin <noel at peralex.com>
Date: Thu Jun 25 15:04:59 2015 +0200
loplugin:implicitboolconversion
Change-Id: Ib266bc70a99d84d4e3d845573f39e612dc6595f8
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 789f774..85ce260 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -262,10 +262,10 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn
{
OUString sRootEntryText;
if ( ::std::none_of(_rTables.begin(),_rTables.end(),
- [&_rTables] (TNames::value_type name) { return name.second == sal_False; }) )
+ [&_rTables] (TNames::value_type name) { return !name.second; }) )
sRootEntryText = ModuleRes(STR_ALL_TABLES);
else if ( ::std::none_of(_rTables.begin(),_rTables.end(),
- [&_rTables] (TNames::value_type name) { return name.second == sal_True; }) )
+ [&_rTables] (TNames::value_type name) { return !name.second; }) )
sRootEntryText = ModuleRes(STR_ALL_VIEWS);
else
sRootEntryText = ModuleRes(STR_ALL_TABLES_AND_VIEWS);
commit 8bd2333e3636bc1e196fb7fccd73a0dc8518fa76
Author: Noel Grandin <noel at peralex.com>
Date: Thu Jun 25 15:03:31 2015 +0200
remove custom RTTI from SdrObjPlusData
not used anywhere
Change-Id: I72e8f1862dd9075c548d178f93cd72fa32a56809
diff --git a/svx/source/inc/svdobjplusdata.hxx b/svx/source/inc/svdobjplusdata.hxx
index 7920df3..8f7c1a7 100644
--- a/svx/source/inc/svdobjplusdata.hxx
+++ b/svx/source/inc/svdobjplusdata.hxx
@@ -10,7 +10,6 @@
#ifndef INCLUDED_SVX_SVDOBJPLUSDATA_HXX
#define INCLUDED_SVX_SVDOBJPLUSDATA_HXX
-#include <tools/rtti.hxx>
#include <rtl/ustring.hxx>
class SdrObject;
@@ -34,7 +33,6 @@ class SdrObjPlusData
OUString aObjDescription;
public:
- TYPEINFO();
SdrObjPlusData();
virtual ~SdrObjPlusData();
SdrObjPlusData* Clone(SdrObject* pObj1) const;
diff --git a/svx/source/svdraw/svdobjplusdata.cxx b/svx/source/svdraw/svdobjplusdata.cxx
index cc8fd35..e9d0696 100644
--- a/svx/source/svdraw/svdobjplusdata.cxx
+++ b/svx/source/svdraw/svdobjplusdata.cxx
@@ -14,8 +14,6 @@
#include <svl/SfxBroadcaster.hxx>
-TYPEINIT0(SdrObjPlusData);
-
SdrObjPlusData::SdrObjPlusData():
pBroadcast(NULL),
pUserDataList(NULL),
More information about the Libreoffice-commits
mailing list