summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/textanim.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-11 14:34:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-11 14:39:04 +0200
commitbb761be472ea9a590837dc6c1ca295387ac4c0b7 (patch)
tree178b4187effe2a05f3d77660ad83eea97144a287 /cui/source/tabpages/textanim.cxx
parent4d120b6ab181f530d3fedc963b1c6ec777f2608a (diff)
Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding Craete functions. There were some call sites that passed undefined "null pointer references" and SfxTabPage internally uses a pointer member pSet that is checked for null anyway. Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
Diffstat (limited to 'cui/source/tabpages/textanim.cxx')
-rw-r--r--cui/source/tabpages/textanim.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/textanim.cxx b/cui/source/tabpages/textanim.cxx
index b3734cf696e7..ca5ccc431865 100644
--- a/cui/source/tabpages/textanim.cxx
+++ b/cui/source/tabpages/textanim.cxx
@@ -81,7 +81,7 @@ SvxTextAnimationPage::SvxTextAnimationPage( Window* pWindow, const SfxItemSet& r
SfxTabPage ( pWindow
,"TextAnimation"
,"cui/ui/textanimtabpage.ui"
- ,rInAttrs ),
+ ,&rInAttrs ),
rOutAttrs ( rInAttrs ),
eAniKind ( SDRTEXTANI_NONE )
{
@@ -452,9 +452,9 @@ const sal_uInt16* SvxTextAnimationPage::GetRanges()
\************************************************************************/
SfxTabPage* SvxTextAnimationPage::Create( Window* pWindow,
- const SfxItemSet& rAttrs )
+ const SfxItemSet* rAttrs )
{
- return( new SvxTextAnimationPage( pWindow, rAttrs ) );
+ return( new SvxTextAnimationPage( pWindow, *rAttrs ) );
}
IMPL_LINK_NOARG(SvxTextAnimationPage, SelectEffectHdl_Impl)