summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-01 21:22:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-01 21:30:38 +0200
commit6a3b0b7cc45b7aab2611331476decfd06211a73d (patch)
treef3eaddfaa3b79739221293f0ffeff5cb4eb51655 /vcl
parentf7e2f60d51e811aa2dbd0d8acf2c4c0dcefe14de (diff)
Explicitly mark overriding destructors as "virtual," Mac OS X redux
Change-Id: Ib7ab02bc3cdadbdfe0e0787560d1dd562eb85be9
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/quartz/salgdi.h2
-rw-r--r--vcl/osx/DragSourceContext.hxx2
-rw-r--r--vcl/osx/clipboard.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h
index 722d368a5ffc..28999b470c72 100644
--- a/vcl/inc/quartz/salgdi.h
+++ b/vcl/inc/quartz/salgdi.h
@@ -65,7 +65,7 @@ class CoreTextFontData : public PhysicalFontFace
public:
CoreTextFontData( const ImplDevFontAttributes&, sal_IntPtr nFontID );
- ~CoreTextFontData();
+ virtual ~CoreTextFontData();
PhysicalFontFace* Clone() const SAL_OVERRIDE;
ImplFontEntry* CreateFontInstance( FontSelectPattern& ) const SAL_OVERRIDE;
diff --git a/vcl/osx/DragSourceContext.hxx b/vcl/osx/DragSourceContext.hxx
index 826c58304855..41ed086f0c9d 100644
--- a/vcl/osx/DragSourceContext.hxx
+++ b/vcl/osx/DragSourceContext.hxx
@@ -39,7 +39,7 @@ class DragSourceContext: public cppu::BaseMutex,
{
public:
DragSourceContext();
- ~DragSourceContext();
+ virtual ~DragSourceContext();
virtual sal_Int32 SAL_CALL getCurrentCursor( )
throw( com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/vcl/osx/clipboard.hxx b/vcl/osx/clipboard.hxx
index d03e7660d444..bcacc6348edb 100644
--- a/vcl/osx/clipboard.hxx
+++ b/vcl/osx/clipboard.hxx
@@ -84,7 +84,7 @@ public:
AquaClipboard(NSPasteboard* pasteboard = NULL,
bool bUseSystemClipboard = true);
- ~AquaClipboard();
+ virtual ~AquaClipboard();
// XClipboard