[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/reportspgz (silent)
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2009-03-19 23:20:19
Message-ID: 1237504819.219876.31538.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 941563 by staniek:
SVN_SILENT use QString()
M +1 -1 backend/wrtembed/sectioneditor.cpp
M +3 -4 kexireportpart.cpp
--- trunk/koffice/kexi/plugins/reportspgz/backend/wrtembed/sectioneditor.cpp \
#941562:941563 @@ -312,7 +312,7 @@
{
if (_rsd) {
// lets add a new section
- QString name = "";
+ QString name;
int i = 0;
while (i < 100 && _rsd->findSection(name) != -1) {
i++;
--- trunk/koffice/kexi/plugins/reportspgz/kexireportpart.cpp #941562:941563
@@ -87,14 +87,14 @@
KexiMainWindowIface *win = KexiMainWindowIface::global();
if (!win || !win->project() || !win->project()->dbConnection()) {
kDebug() << "failed sanity check";
- return "";
+ return QString();
}
QString src, did;
KexiDB::SchemaData sd;
if (win->project()->dbConnection()->loadObjectSchemaData(win->project()->idForClass("uk.co.piggz.report"), \
name, sd) != true) { kWarning() << "failed to load schema data";
- return "";
+ return QString();
}
kDebug() << "***Object ID:" << sd.id();
@@ -103,7 +103,7 @@
return src;
} else {
kWarning() << "Unable to load document";
- return "";
+ return QString();
}
}
@@ -124,7 +124,6 @@
: KexiWindowData(parent)
, reportSchemaChangedInPreviousView(true /*to force reloading on startup*/)
{
- document = "";
}
void KexiReportPart::setupCustomPropertyPanelTabs(KTabWidget *tab)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic