summaryrefslogtreecommitdiffstats
path: root/filters/kword
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:42:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:42:08 +0900
commit20e4a19b0d7cc800d57be50c56d69023adae4046 (patch)
tree522b0ae95b8f7e9ee59a3b405de24b2dd8180bc4 /filters/kword
parentc2fdb394e63c0df50f1a38eace1077a9151374ce (diff)
downloadkoffice-20e4a19b0d7cc800d57be50c56d69023adae4046.tar.gz
koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'filters/kword')
-rw-r--r--filters/kword/libexport/ProcessDocument.cpp8
-rw-r--r--filters/kword/libexport/TagProcessing.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/filters/kword/libexport/ProcessDocument.cpp b/filters/kword/libexport/ProcessDocument.cpp
index 69b14857..1ec7bc8c 100644
--- a/filters/kword/libexport/ProcessDocument.cpp
+++ b/filters/kword/libexport/ProcessDocument.cpp
@@ -213,12 +213,12 @@ static void ProcessBoolIntValueTag ( TQDomNode myNode, void *tagData, KWEFKWordL
static void ProcessStringValueTag ( TQDomNode myNode, void *tagData, KWEFKWordLeader *leader )
{
- ProcessOneAttrTag (myNode, "value", TQSTRING_OBJECT_NAME_STRING, tagData, leader);
+ ProcessOneAttrTag (myNode, "value", "TQString", tagData, leader);
}
static void ProcessStringNameTag (TQDomNode myNode, void *tagData, KWEFKWordLeader *leader )
{
- ProcessOneAttrTag (myNode, "name", TQSTRING_OBJECT_NAME_STRING, tagData, leader);
+ ProcessOneAttrTag (myNode, "name", "TQString", tagData, leader);
}
@@ -311,7 +311,7 @@ void ProcessAnchorTag ( TQDomNode myNode,
*instance = TQString();
TQValueList<AttrProcessing> attrProcessingList;
attrProcessingList << AttrProcessing ( "type", type )
- << AttrProcessing ( "instance", TQSTRING_OBJECT_NAME_STRING, instance );
+ << AttrProcessing ( "instance", "TQString", instance );
ProcessAttributes (myNode, attrProcessingList);
if ( type != "frameset" )
@@ -851,7 +851,7 @@ static void ProcessAnyBorderTag ( TQDomNode myNode, void *tagData, KWEFKWordLead
static void ProcessFollowingTag ( TQDomNode myNode, void *tagData, KWEFKWordLeader *leader )
{
- ProcessOneAttrTag (myNode, "name", TQSTRING_OBJECT_NAME_STRING, tagData, leader);
+ ProcessOneAttrTag (myNode, "name", "TQString", tagData, leader);
}
static void ProcessLinespacingTag (TQDomNode myNode, void *tagData, KWEFKWordLeader* /*leader*/ )
diff --git a/filters/kword/libexport/TagProcessing.cpp b/filters/kword/libexport/TagProcessing.cpp
index 46a8fb35..1a993073 100644
--- a/filters/kword/libexport/TagProcessing.cpp
+++ b/filters/kword/libexport/TagProcessing.cpp
@@ -107,7 +107,7 @@ AttrProcessing::AttrProcessing ( const TQString& n, const TQString& t, void *d )
{
if ( t == "int" )
type = AttrInt;
- else if ( t == TQSTRING_OBJECT_NAME_STRING )
+ else if ( t == "TQString" )
type = AttrTQString;
else if ( t == "double" )
type = AttrDouble;