summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tplneend.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-11 10:35:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-11 10:39:03 +0200
commita92e973b6d0a9ad87fe014442e1678af2ce0c7d0 (patch)
treeb39139c7992a853cc5e4d836fc35cd45c01a3f6d /cui/source/tabpages/tplneend.cxx
parent88f84eb1b0eebbb7e0a072f1e7001a9207ebbe9e (diff)
Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference" (apparently in a case where the passed argument was actually unused) Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
Diffstat (limited to 'cui/source/tabpages/tplneend.cxx')
-rw-r--r--cui/source/tabpages/tplneend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx
index 243f43ed73d5..e973209f8e24 100644
--- a/cui/source/tabpages/tplneend.cxx
+++ b/cui/source/tabpages/tplneend.cxx
@@ -225,7 +225,7 @@ bool SvxLineEndDefTabPage::FillItemSet( SfxItemSet* rSet )
-void SvxLineEndDefTabPage::Reset( const SfxItemSet& )
+void SvxLineEndDefTabPage::Reset( const SfxItemSet* )
{
m_pLbLineEnds->SelectEntryPos( 0 );
@@ -578,7 +578,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickLoadHdl_Impl)
( (SvxLineTabDialog*) GetParentDialog() )->SetNewLineEndList( pLineEndList );
m_pLbLineEnds->Clear();
m_pLbLineEnds->Fill( pLineEndList );
- Reset( rOutAttrs );
+ Reset( &rOutAttrs );
pLineEndList->SetName( aURL.getName() );