summaryrefslogtreecommitdiff
path: root/sd/source/core
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 14:42:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-22 08:44:08 +0200
commit60f3e9b67e688e6f7f304cc7fb14fc28af83f351 (patch)
tree41e29cb2a424e38af454690c4fc9c7c7cd6f31fd /sd/source/core
parent450bf26c23bf2bb4346236778ef066c6e215eafe (diff)
loplugin:unusedfields in sd part3
Change-Id: Id8277e4b3dc9776715a7bd85e1a4f6610aad9b19 Reviewed-on: https://gerrit.libreoffice.org/39061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/core')
-rw-r--r--sd/source/core/CustomAnimationPreset.cxx1
-rw-r--r--sd/source/core/drawdoc.cxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx
index 7291f88c619b..35bb383dfbe6 100644
--- a/sd/source/core/CustomAnimationPreset.cxx
+++ b/sd/source/core/CustomAnimationPreset.cxx
@@ -127,7 +127,6 @@ CustomAnimationPreset::CustomAnimationPreset( const CustomAnimationEffectPtr& pE
{
maPresetId = pEffect->getPresetId();
maProperty = pEffect->getProperty();
- mnPresetClass = pEffect->getPresetClass();
add( pEffect );
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index fba824d42a94..727b7d0b29af 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -172,7 +172,6 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
, mbAllocDocSh(false)
, meDocType(eType)
, mpCharClass(nullptr)
-, mpLocale(nullptr)
, mbUseEmbedFonts(false)
{
mpDrawPageListWatcher.reset(new ImpDrawPageListWatcher(*this));
@@ -236,7 +235,6 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
LanguageType eRealLanguage = MsLangId::getRealLanguage( meLanguage );
LanguageTag aLanguageTag( eRealLanguage);
- mpLocale = new css::lang::Locale( aLanguageTag.getLocale());
mpCharClass = new CharClass( aLanguageTag );
// If the current application language is a language that uses right-to-left text...
@@ -420,9 +418,6 @@ SdDrawDocument::~SdDrawDocument()
delete mpInternalOutliner;
mpInternalOutliner = nullptr;
- delete mpLocale;
- mpLocale = nullptr;
-
delete mpCharClass;
mpCharClass = nullptr;
}