summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/remotecontrol/AvahiNetworkService.hxx2
-rw-r--r--sd/source/ui/remotecontrol/ZeroconfService.hxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.hxx b/sd/source/ui/remotecontrol/AvahiNetworkService.hxx
index 62809afda229..8f506f176bb2 100644
--- a/sd/source/ui/remotecontrol/AvahiNetworkService.hxx
+++ b/sd/source/ui/remotecontrol/AvahiNetworkService.hxx
@@ -28,7 +28,7 @@ namespace sd {
public:
AvahiNetworkService(const std::string& aname = "", uint aport = 1599)
: ZeroconfService(aname, aport){}
- ~AvahiNetworkService();
+ virtual ~AvahiNetworkService(){}
void clear();
void setup();
diff --git a/sd/source/ui/remotecontrol/ZeroconfService.hxx b/sd/source/ui/remotecontrol/ZeroconfService.hxx
index a3e92fa279b8..a31776d6eb2e 100644
--- a/sd/source/ui/remotecontrol/ZeroconfService.hxx
+++ b/sd/source/ui/remotecontrol/ZeroconfService.hxx
@@ -28,6 +28,7 @@ namespace sd{
public:
explicit ZeroconfService(const std::string& aname, uint aport)
:name(aname), port(aport){}
+ virtual ~ZeroconfService(){}
std::string getName() const {return name;}
void setName(const char * n) {name = n;}