summaryrefslogtreecommitdiff
path: root/svl/source/svdde
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-11 19:23:29 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-11 19:25:54 +0300
commit08e18bf35786ee3861df80d92d7337f065824dd0 (patch)
treefca9ad31df5ffaffb56106afaec07ae1a4bc6be6 /svl/source/svdde
parent28247969bd4d2efd299a08ec319fcfafabe765ee (diff)
Nah, make the AddTopic() prototype like it was, too many problems otherwise
Just use a cast in ddesvr.cxx, as there was originally before the DECLARE_LIST removal and the fixup of that.
Diffstat (limited to 'svl/source/svdde')
-rw-r--r--svl/source/svdde/ddesvr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 2c7439225ef6..df99f4552837 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -570,10 +570,10 @@ DdeServices& DdeService::GetServices()
// --- DdeService::AddTopic() --------------------------------------
-void DdeService::AddTopic( DdeTopic& rTopic )
+void DdeService::AddTopic( const DdeTopic& rTopic )
{
RemoveTopic( rTopic );
- aTopics.push_back(&rTopic);
+ aTopics.push_back((DdeTopic *) &rTopic);
}
// --- DdeService::RemoveTopic() -----------------------------------