summaryrefslogtreecommitdiff
path: root/dtrans/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 10:09:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 10:11:18 +0100
commit3aafe0568be80120afcdd92ea491b55d66bcbac6 (patch)
tree141e36c6aaf4c057aa99e6602e1a03e0be8ed671 /dtrans/source/inc
parent0e53c653fbfe4ba2e49db5e34bd62a3a3b02c980 (diff)
-Werror,-Wnon-virtual-dtor
Why was CDTransObjFactory a class with virtual functions in the first place? Change-Id: I315243a2268be67e03feb923ca7f64fd37818337
Diffstat (limited to 'dtrans/source/inc')
-rw-r--r--dtrans/source/inc/DtObjFactory.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/dtrans/source/inc/DtObjFactory.hxx b/dtrans/source/inc/DtObjFactory.hxx
index 483286ef785e..be8bf8dbcb3e 100644
--- a/dtrans/source/inc/DtObjFactory.hxx
+++ b/dtrans/source/inc/DtObjFactory.hxx
@@ -25,14 +25,11 @@
#include <systools/win32/comtools.hxx>
-class CDTransObjFactory
+namespace CDTransObjFactory
{
-public:
- virtual IDataObjectPtr SAL_CALL createDataObjFromTransferable( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ IDataObjectPtr createDataObjFromTransferable( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const css::uno::Reference< css::datatransfer::XTransferable >& refXTransferable );
- virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL createTransferableFromDataObj(
- const css::uno::Reference< css::uno::XComponentContext >& rxContext, IDataObjectPtr pIDataObject );
-};
+}
#endif