summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/frmdescr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 11:07:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 14:23:07 +0200
commitd7824bf16898d8cb776420e0c2bff82e6df61b86 (patch)
tree88405234c55eb24a3d7770c833ac8eeea2db412e /sfx2/source/doc/frmdescr.cxx
parentf05d0d05829dd51cb9d8071ac97cc219779ee40a (diff)
loplugin:unusedfields in sfx2 part2
Change-Id: I227b643641250d47ac6b2218f57ddb231765960e Reviewed-on: https://gerrit.libreoffice.org/39038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/frmdescr.cxx')
-rw-r--r--sfx2/source/doc/frmdescr.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx
index 3bb997755b9e..bf5685bf5b08 100644
--- a/sfx2/source/doc/frmdescr.cxx
+++ b/sfx2/source/doc/frmdescr.cxx
@@ -28,9 +28,8 @@ struct SfxFrameDescriptor_Impl
{
Wallpaper* pWallpaper;
SfxItemSet* pArgs;
- bool bEditable;
- SfxFrameDescriptor_Impl() : pWallpaper( nullptr ), pArgs( nullptr ), bEditable( true ) {}
+ SfxFrameDescriptor_Impl() : pWallpaper( nullptr ), pArgs( nullptr ) {}
~SfxFrameDescriptor_Impl()
{
delete pWallpaper;
@@ -72,11 +71,6 @@ void SfxFrameDescriptor::SetActualURL( const OUString& rURL )
pImpl->pArgs->ClearItem();
}
-void SfxFrameDescriptor::SetEditable( bool bSet )
-{
- pImpl->bEditable = bSet;
-}
-
void SfxFrameDescriptor::SetWallpaper( const Wallpaper& rWallpaper )
{
DELETEZ( pImpl->pWallpaper );