summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/tabcontr.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-03 21:40:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-04 18:08:37 +0100
commitc7a071b064695fdb93fedf37d4ed4ea99d83e99b (patch)
tree1f9bfda67dc156c2c6e951d44cc4c03d494892e2 /sd/source/ui/view/tabcontr.cxx
parenta77b493392ecdfe2e58bb0fcfa7363a8583dffe4 (diff)
weld SvxNameDialog
Change-Id: Iac7bdf9c998e611b56473a685aee276a56adf996 Reviewed-on: https://gerrit.libreoffice.org/50702 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/view/tabcontr.cxx')
-rw-r--r--sd/source/ui/view/tabcontr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/tabcontr.cxx b/sd/source/ui/view/tabcontr.cxx
index c1d9398d77a8..7f71c3e1a05c 100644
--- a/sd/source/ui/view/tabcontr.cxx
+++ b/sd/source/ui/view/tabcontr.cxx
@@ -319,7 +319,7 @@ TabBarAllowRenamingReturnCode TabControl::AllowRenaming()
if( aCompareName != aNewName )
{
// rename page
- if( pDrViewSh->GetDocSh()->CheckPageName( this, aNewName ) )
+ if (pDrViewSh->GetDocSh()->CheckPageName(GetFrameWeld(), aNewName))
{
SetEditText( aNewName );
EndRenaming();