diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-03 15:10:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-04 08:57:12 +0200 |
commit | 213f12be2cab2106dde4a0e859faaa8259627c1a (patch) | |
tree | c9e4c8041fb0073432964c37ea46803560b46079 /sfx2/source/dialog | |
parent | 869683945a801e86590c165bc6f08832adb7ebb1 (diff) |
no need to expose m_pExampleSet as non-const
Change-Id: Ife6b4115a8aa48eba6f86ecf4eb66e3dc5e1830e
Reviewed-on: https://gerrit.libreoffice.org/53796
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 017ca402dd89..f5d2ce07a86e 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -950,7 +950,7 @@ bool SfxDocumentPage::FillItemSet( SfxItemSet* rSet ) m_pUseUserDataCB->IsValueChangedFromSaved() && GetTabDialog() && GetTabDialog()->GetExampleSet() ) { - SfxItemSet* pExpSet = GetTabDialog()->GetExampleSet(); + const SfxItemSet* pExpSet = GetTabDialog()->GetExampleSet(); const SfxPoolItem* pItem; if ( pExpSet && SfxItemState::SET == pExpSet->GetItemState( SID_DOCINFO, true, &pItem ) ) @@ -965,7 +965,7 @@ bool SfxDocumentPage::FillItemSet( SfxItemSet* rSet ) if ( bHandleDelete ) { - SfxItemSet* pExpSet = GetTabDialog()->GetExampleSet(); + const SfxItemSet* pExpSet = GetTabDialog()->GetExampleSet(); const SfxPoolItem* pItem; if ( pExpSet && SfxItemState::SET == pExpSet->GetItemState( SID_DOCINFO, true, &pItem ) ) { @@ -987,7 +987,7 @@ bool SfxDocumentPage::FillItemSet( SfxItemSet* rSet ) if ( m_pUseThumbnailSaveCB->IsValueChangedFromSaved() && GetTabDialog() && GetTabDialog()->GetExampleSet() ) { - SfxItemSet* pExpSet = GetTabDialog()->GetExampleSet(); + const SfxItemSet* pExpSet = GetTabDialog()->GetExampleSet(); const SfxPoolItem* pItem; if ( pExpSet && SfxItemState::SET == pExpSet->GetItemState( SID_DOCINFO, true, &pItem ) ) |