From 6ac3849f1361aa5e709ca839e3e90824ab39e9ab Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Sat, 30 Oct 2004 16:14:35 +0000 Subject: [PATCH] CVS_SILENT back in here again -- checking in formatting before content... git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@359015 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ape/apeitem.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ape/apeitem.cpp b/ape/apeitem.cpp index 6f5fc907..b245cac0 100644 --- a/ape/apeitem.cpp +++ b/ape/apeitem.cpp @@ -26,7 +26,6 @@ using namespace TagLib; using namespace APE; - class APE::Item::ItemPrivate { public: @@ -113,8 +112,10 @@ bool APE::Item::isEmpty() const switch(d->type) { case 0: case 1: - if(d->text.isEmpty()) return true; - if(d->text.size() == 1 && d->text.front() == "") return true; + if(d->text.isEmpty()) + return true; + if(d->text.size() == 1 && d->text.front() == "") + return true; return false; case 2: return d->value.isEmpty(); @@ -146,7 +147,7 @@ void APE::Item::parse(const ByteVector &data) ByteVector APE::Item::render() { - return const_cast(this)->render(); + return const_cast(this)->render(); } ByteVector APE::Item::render() const