From b727f4b3b1957bec28a350575237b93f8f278cdb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:19:19 +0900 Subject: Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro --- filters/kspread/csv/csvexport.cpp | 2 +- filters/kspread/csv/csvimport.cpp | 2 +- filters/kspread/gnumeric/gnumericexport.cpp | 2 +- filters/kspread/gnumeric/gnumericimport.cpp | 2 +- filters/kspread/html/htmlexport.cpp | 2 +- filters/kspread/kexi/kspread_kexiimport.cpp | 2 +- filters/kspread/libkspreadexport/KSpreadLeader.cpp | 2 +- filters/kspread/opencalc/opencalcexport.cpp | 2 +- filters/kspread/opencalc/opencalcimport.cpp | 2 +- filters/kspread/qpro/qproimport.cpp | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'filters') diff --git a/filters/kspread/csv/csvexport.cpp b/filters/kspread/csv/csvexport.cpp index ceeb8b5e..e5d7a045 100644 --- a/filters/kspread/csv/csvexport.cpp +++ b/filters/kspread/csv/csvexport.cpp @@ -126,7 +126,7 @@ KoFilter::ConversionStatus CSVExport::convert( const TQCString & from, const TQC if ( !document ) return KoFilter::StupidError; - if ( !::tqqt_cast( document ) ) + if ( !::tqt_cast( document ) ) { kdWarning(30501) << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; diff --git a/filters/kspread/csv/csvimport.cpp b/filters/kspread/csv/csvimport.cpp index 72cadfa2..7b6f740c 100644 --- a/filters/kspread/csv/csvimport.cpp +++ b/filters/kspread/csv/csvimport.cpp @@ -67,7 +67,7 @@ KoFilter::ConversionStatus CSVFilter::convert( const TQCString& from, const TQCS kdDebug(30501) << "here we go... " << document->className() << endl; - if ( !::tqqt_cast( document ) ) + if ( !::tqt_cast( document ) ) { kdWarning(30501) << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; diff --git a/filters/kspread/gnumeric/gnumericexport.cpp b/filters/kspread/gnumeric/gnumericexport.cpp index 77926298..4e88e6be 100644 --- a/filters/kspread/gnumeric/gnumericexport.cpp +++ b/filters/kspread/gnumeric/gnumericexport.cpp @@ -949,7 +949,7 @@ KoFilter::ConversionStatus GNUMERICExport::convert( const TQCString& from, const if (!document) return KoFilter::StupidError; - if ( !::tqqt_cast( document ) ) // it's safer that way :) + if ( !::tqt_cast( document ) ) // it's safer that way :) { kdWarning(30521) << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; diff --git a/filters/kspread/gnumeric/gnumericimport.cpp b/filters/kspread/gnumeric/gnumericimport.cpp index d763fdef..511cfb0b 100644 --- a/filters/kspread/gnumeric/gnumericimport.cpp +++ b/filters/kspread/gnumeric/gnumericimport.cpp @@ -1835,7 +1835,7 @@ KoFilter::ConversionStatus GNUMERICFilter::convert( const TQCString & from, cons kdDebug(30521) << "here we go... " << document->className() << endl; - if ( !::tqqt_cast( document ) ) // it's safer that way :) + if ( !::tqt_cast( document ) ) // it's safer that way :) { kdWarning(30521) << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; diff --git a/filters/kspread/html/htmlexport.cpp b/filters/kspread/html/htmlexport.cpp index f680207e..68f4081c 100644 --- a/filters/kspread/html/htmlexport.cpp +++ b/filters/kspread/html/htmlexport.cpp @@ -89,7 +89,7 @@ KoFilter::ConversionStatus HTMLExport::convert( const TQCString& from, const TQC if ( !document ) return KoFilter::StupidError; - if( !::tqqt_cast( document ) ) // it's safer that way :) + if( !::tqt_cast( document ) ) // it's safer that way :) { kdWarning(30501) << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; diff --git a/filters/kspread/kexi/kspread_kexiimport.cpp b/filters/kspread/kexi/kspread_kexiimport.cpp index 6100dabe..090f05ce 100644 --- a/filters/kspread/kexi/kspread_kexiimport.cpp +++ b/filters/kspread/kexi/kspread_kexiimport.cpp @@ -99,7 +99,7 @@ KoFilter::ConversionStatus KSpreadKexiImport::convert( const TQCString& from, co kdDebug() << "here we go... " << document->className() << endl; - if ( !::tqqt_cast( document ) ) + if ( !::tqt_cast( document ) ) { kdWarning() << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; diff --git a/filters/kspread/libkspreadexport/KSpreadLeader.cpp b/filters/kspread/libkspreadexport/KSpreadLeader.cpp index 8e300c7d..3e8441b0 100644 --- a/filters/kspread/libkspreadexport/KSpreadLeader.cpp +++ b/filters/kspread/libkspreadexport/KSpreadLeader.cpp @@ -74,7 +74,7 @@ KoFilter::ConversionStatus Leader::convert() { kdWarning(30508) << "the KSpreadDoc is NULL!" << endl; return KoFilter::StupidError; } - if ( !::tqqt_cast( document ) ) { + if ( !::tqt_cast( document ) ) { kdWarning(30508) << "the document is not a KSpreadDoc!" << endl; return KoFilter::StupidError; } diff --git a/filters/kspread/opencalc/opencalcexport.cpp b/filters/kspread/opencalc/opencalcexport.cpp index 8f8018c5..c0fe3c2e 100644 --- a/filters/kspread/opencalc/opencalcexport.cpp +++ b/filters/kspread/opencalc/opencalcexport.cpp @@ -104,7 +104,7 @@ KoFilter::ConversionStatus OpenCalcExport::convert( const TQCString & from, if ( !document ) return KoFilter::StupidError; - if ( !::tqqt_cast( document ) ) + if ( !::tqt_cast( document ) ) { kdWarning(30518) << "document isn't a KSpread::Doc but a " << document->className() << endl; diff --git a/filters/kspread/opencalc/opencalcimport.cpp b/filters/kspread/opencalc/opencalcimport.cpp index 2ccf3173..25c0d94a 100644 --- a/filters/kspread/opencalc/opencalcimport.cpp +++ b/filters/kspread/opencalc/opencalcimport.cpp @@ -2743,7 +2743,7 @@ KoFilter::ConversionStatus OpenCalcImport::convert( TQCString const & from, TQCS if ( !document ) return KoFilter::StupidError; - if ( !::tqqt_cast( document ) ) // it's safer that way :) + if ( !::tqt_cast( document ) ) // it's safer that way :) { kdWarning(30518) << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; diff --git a/filters/kspread/qpro/qproimport.cpp b/filters/kspread/qpro/qproimport.cpp index e282a769..ea989f9a 100644 --- a/filters/kspread/qpro/qproimport.cpp +++ b/filters/kspread/qpro/qproimport.cpp @@ -104,7 +104,7 @@ KoFilter::ConversionStatus QpImport::convert( const TQCString& from, const TQCSt kdDebug(30523) << "here we go... " << document->className() << endl; - if( !::tqqt_cast( document ) ) // it's safer that way :) + if( !::tqt_cast( document ) ) // it's safer that way :) { kdWarning(30501) << "document isn't a KSpread::Doc but a " << document->className() << endl; return KoFilter::NotImplemented; -- cgit v1.2.1