summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-13 14:23:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-13 14:23:13 +0300
commitc7d065645853b2e614e8557fa01057efaf5e6517 (patch)
tree6b5233ed788e31014e868c007ccb469ca4d64e60 /plugins/Scriver/src
parent831bffd63776f4ffe82245cadf2b95c48cd44d38 (diff)
DbEvent_GetTextA: unused function removed
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp2
-rw-r--r--plugins/Scriver/src/msglog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index 426ff11eab..778503d3ae 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -382,7 +382,7 @@ void CMsgDialog::onClick_Quote(CCtrlButton*)
return;
if (dbei.isSrmm()) {
- ptrW wszText(DbEvent_GetTextW(&dbei));
+ ptrW wszText(dbei.getText());
SetMessageText(Srmm_Quote(wszText));
}
}
diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp
index f5566ea31c..9cfc82d963 100644
--- a/plugins/Scriver/src/msglog.cpp
+++ b/plugins/Scriver/src/msglog.cpp
@@ -389,7 +389,7 @@ public:
}
bool bIsRtl = (dbei.flags & DBEF_RTL) != 0;
- ptrW wszText(DbEvent_GetTextW(&dbei)), wszNick;
+ ptrW wszText(dbei.getText()), wszNick;
// test contact
if (streamData->dbei == 0) {