diff options
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r-- | reportdesign/source/ui/inc/ColumnInfo.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ReportControllerObserver.cxx | 15 |
2 files changed, 4 insertions, 14 deletions
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) { |