diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-20 15:22:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-23 08:26:11 +0200 |
commit | 56b2a2d874c5c74af0eb02d6d542f4dc9d748870 (patch) | |
tree | 23930cc5a04fea5cedd446a53b1abf27ed1c74b5 /reportdesign | |
parent | 8c10722513b24b47b91f6469684f59c5136f574d (diff) |
loplugin:unusedfields in oox,package,reportdesign
Change-Id: I83d03dcc76b5f0d54ebb0513ae972acb0db8eef1
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/core/api/ReportComponent.cxx | 1 | ||||
-rw-r--r-- | reportdesign/source/core/inc/ReportControlModel.hxx | 1 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlComponent.hxx | 1 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlExport.hxx | 10 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/ColumnInfo.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ReportControllerObserver.cxx | 15 |
6 files changed, 4 insertions, 27 deletions
diff --git a/reportdesign/source/core/api/ReportComponent.cxx b/reportdesign/source/core/api/ReportComponent.cxx index 2ce1c6b477b3..2d474f168049 100644 --- a/reportdesign/source/core/api/ReportComponent.cxx +++ b/reportdesign/source/core/api/ReportComponent.cxx @@ -65,7 +65,6 @@ OFormatProperties::OFormatProperties() ,nFontRelief(0) ,nTextColor(0) ,nTextLineColor(0) - ,nCharUnderlineColor(0xFFFFFFFF) ,nBackgroundColor(COL_TRANSPARENT) ,aVerticalAlignment( style::VerticalAlignment_TOP ) ,nCharEscapement(0) diff --git a/reportdesign/source/core/inc/ReportControlModel.hxx b/reportdesign/source/core/inc/ReportControlModel.hxx index 93255786d8cc..eca3b2194d5a 100644 --- a/reportdesign/source/core/inc/ReportControlModel.hxx +++ b/reportdesign/source/core/inc/ReportControlModel.hxx @@ -53,7 +53,6 @@ namespace reportdesign ::sal_Int16 nFontRelief; ::sal_Int32 nTextColor; ::sal_Int32 nTextLineColor; - ::sal_Int32 nCharUnderlineColor; ::sal_Int32 nBackgroundColor; OUString sCharCombinePrefix; OUString sCharCombineSuffix; diff --git a/reportdesign/source/filter/xml/xmlComponent.hxx b/reportdesign/source/filter/xml/xmlComponent.hxx index 2b448b4942cf..53cbc63b1737 100644 --- a/reportdesign/source/filter/xml/xmlComponent.hxx +++ b/reportdesign/source/filter/xml/xmlComponent.hxx @@ -30,7 +30,6 @@ namespace rptxml { protected: css::uno::Reference< css::report::XReportComponent > m_xComponent; - OUString m_sName; OUString m_sTextStyleName; OXMLComponent(const OXMLComponent&); diff --git a/reportdesign/source/filter/xml/xmlExport.hxx b/reportdesign/source/filter/xml/xmlExport.hxx index 222217032976..8e1da570b392 100644 --- a/reportdesign/source/filter/xml/xmlExport.hxx +++ b/reportdesign/source/filter/xml/xmlExport.hxx @@ -93,13 +93,6 @@ public: {} }; typedef ::std::pair< OUString ,OUString> TStringPair; - typedef struct - { - OUString sText; - OUString sField; - OUString sDecimal; - OUString sThousand; - } TDelimiter; typedef ::std::vector< OUString> TStringVec; typedef ::std::map< Reference<XPropertySet> ,OUString > TPropertyStyleMap; typedef ::std::map< Reference<XPropertySet> , TStringVec> TGridStyleMap; @@ -109,8 +102,6 @@ public: typedef ::std::map< Reference<XGroup> ,Reference<XFunction> > TGroupFunctionMap; private: ::std::unique_ptr< TStringPair > m_aAutoIncrement; - ::std::unique_ptr< TDelimiter > m_aDelimiter; - ::std::vector< Any > m_aDataSourceSettings; TSectionsGrid m_aSectionsGrid; TPropertyStyleMap m_aAutoStyleNames; @@ -118,7 +109,6 @@ private: TGridStyleMap m_aRowStyleNames; TGroupFunctionMap m_aGroupFunctionMap; - OUString m_sCharSet; OUString m_sTableStyle; OUString m_sCellStyle; OUString m_sColumnStyle; diff --git a/reportdesign/source/ui/inc/ColumnInfo.hxx b/reportdesign/source/ui/inc/ColumnInfo.hxx index ce8728459eea..65062f9dc136 100644 --- a/reportdesign/source/ui/inc/ColumnInfo.hxx +++ b/reportdesign/source/ui/inc/ColumnInfo.hxx @@ -27,16 +27,13 @@ namespace rptui { OUString sColumnName; OUString sLabel; - bool bColumn; ColumnInfo(const OUString& i_sColumnName,const OUString& i_sLabel) : sColumnName(i_sColumnName) , sLabel(i_sLabel) - , bColumn(true) { } ColumnInfo(const OUString& i_sColumnName) : sColumnName(i_sColumnName) - , bColumn(false) { } }; diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx b/reportdesign/source/ui/report/ReportControllerObserver.cxx index 52c67e3a6bb0..6916809e8230 100644 --- a/reportdesign/source/ui/report/ReportControllerObserver.cxx +++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx @@ -51,36 +51,29 @@ typedef std::map<uno::Reference< beans::XPropertySet >, AllProperties> PropertyS class OXReportControllerObserverImpl: private boost::noncopyable { public: - const OReportController& m_rReportController; ::std::vector< uno::Reference< container::XChild> > m_aSections; ::osl::Mutex m_aMutex; oslInterlockedCount m_nLocks; bool m_bReadOnly; - explicit OXReportControllerObserverImpl(const OReportController& _rController); - ~OXReportControllerObserverImpl(); + explicit OXReportControllerObserverImpl(); }; - OXReportControllerObserverImpl::OXReportControllerObserverImpl(const OReportController& _rController) - :m_rReportController(_rController) - ,m_nLocks(0) + OXReportControllerObserverImpl::OXReportControllerObserverImpl() + :m_nLocks(0) ,m_bReadOnly(false) { } - OXReportControllerObserverImpl::~OXReportControllerObserverImpl() - { - } - OXReportControllerObserver::OXReportControllerObserver(const OReportController& _rController) - :m_pImpl(new OXReportControllerObserverImpl(_rController) ) + :m_pImpl(new OXReportControllerObserverImpl ) ,m_aFormattedFieldBeautifier(_rController) ,m_aFixedTextColor(_rController) { |