summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-15 18:47:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-15 18:47:48 +0900
commit04d9ceaa0e20cc22f1cdc55bd691cd6cd391457a (patch)
treed74670d6e90258d8c20916e1f28a1fc4f211a0b4
parent1090a2dc6574eeee2c579cc876a1a6c1938e94f4 (diff)
downloadkoffice-04d9ceaa0e20cc22f1cdc55bd691cd6cd391457a.tar.gz
koffice-04d9ceaa0e20cc22f1cdc55bd691cd6cd391457a.zip
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kchart/kdchart/KDChartParams.cpp2
-rw-r--r--lib/koproperty/property.cpp2
-rw-r--r--lib/koproperty/property.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/kchart/kdchart/KDChartParams.cpp b/kchart/kdchart/KDChartParams.cpp
index c2647ccc2..aa2090e29 100644
--- a/kchart/kdchart/KDChartParams.cpp
+++ b/kchart/kdchart/KDChartParams.cpp
@@ -85,7 +85,7 @@ void KDChartAutoColor::freeInstance()
/*
static TQColor defaultColor;
-QT_STATIC_CONST_IMPL TQColor & KDChartParams_AutoColor = defaultColor;
+const TQColor & KDChartParams_AutoColor = defaultColor;
*/
/**
diff --git a/lib/koproperty/property.cpp b/lib/koproperty/property.cpp
index d90795ca1..2e6b41ea6 100644
--- a/lib/koproperty/property.cpp
+++ b/lib/koproperty/property.cpp
@@ -33,7 +33,7 @@
namespace KoProperty {
-QT_STATIC_CONST_IMPL Property Property::null;
+const Property Property::null;
//! @internal
class PropertyPrivate
diff --git a/lib/koproperty/property.h b/lib/koproperty/property.h
index 9938c5dfe..982f84a69 100644
--- a/lib/koproperty/property.h
+++ b/lib/koproperty/property.h
@@ -177,7 +177,7 @@ class KOPROPERTY_EXPORT Property
{
public:
//! A contant for null property
- QT_STATIC_CONST Property null;
+ static const Property null;
typedef TQAsciiDict<Property> Dict;
typedef TQAsciiDictIterator<Property> DictIterator;