summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 11:08:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 19:50:30 +0200
commit979d58c9a96884e36d1585df0c04c89b1f53fa99 (patch)
treebce40aad53ac5123a2864da59b8d889b8a51e577 /toolkit
parent3c1fc723ff622d8a541fa26a3397ca4258332e4a (diff)
loplugin:unusedfields in toolkit..xmloff
Change-Id: I4964ff97e0a1735dc08c6ad204cae0b08e9ffc2c Reviewed-on: https://gerrit.libreoffice.org/39406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxdevice.cxx9
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx1
2 files changed, 0 insertions, 10 deletions
diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx
index d182d0a42f2e..3423197326c1 100644
--- a/toolkit/source/awt/vclxdevice.cxx
+++ b/toolkit/source/awt/vclxdevice.cxx
@@ -43,7 +43,6 @@
// class VCLXDevice
VCLXDevice::VCLXDevice()
- : nFlags(0)
{
}
@@ -54,14 +53,6 @@ VCLXDevice::~VCLXDevice()
mpOutputDevice.reset();
}
-void VCLXDevice::SetCreatedWithToolkit( bool bCreatedWithToolkit )
-{
- if ( bCreatedWithToolkit )
- nFlags |= FLAGS_CREATEDWITHTOOLKIT;
- else
- nFlags &= ~FLAGS_CREATEDWITHTOOLKIT;
-}
-
// css::uno::XInterface
css::uno::Any VCLXDevice::queryInterface( const css::uno::Type & rType )
{
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 92f94250794b..0b6ee64aa11d 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -1300,7 +1300,6 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
}
else
{
- pNewComp->SetCreatedWithToolkit( true );
xRef = pNewComp;
pNewWindow->SetComponentInterface( xRef );
}