diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-09-18 20:54:55 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-09-18 21:53:27 +0200 |
commit | b883e3d58db404a92bee044091b6cfd3892311c2 (patch) | |
tree | 1596be5acb0eee528ed01aabc43e7c97ee8311c0 /svx | |
parent | 33d922ea07b6b20276471b19fd9c148ed90d7442 (diff) |
tdf#39593 use isUnoTunnelId in sd
Rename SdrModel::getUnoTunnelImplementationId()
Change-Id: I364a05efe8ddc04b2b2ca393416c9b974ded43df
Reviewed-on: https://gerrit.libreoffice.org/79108
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galobj.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index c08b84809cfe..23b1e3cda851 100644 --- a/svx/source/gallery2/galobj.cxx +++ b/svx/source/gallery2/galobj.cxx @@ -405,7 +405,7 @@ SvxGalleryDrawModel::SvxGalleryDrawModel() if( xTunnel.is() ) { mpFormModel = dynamic_cast< FmFormModel* >( - reinterpret_cast<SdrModel*>(xTunnel->getSomething(SdrModel::getUnoTunnelImplementationId()))); + reinterpret_cast<SdrModel*>(xTunnel->getSomething(SdrModel::getUnoTunnelId()))); if( mpFormModel ) { mpFormModel->InsertPage( mpFormModel->AllocPage( false ) ); diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index a833a85baec7..eec87abcdf73 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -2004,7 +2004,7 @@ namespace class theSdrModelUnoTunnelImplementationId : public rtl::Static< UnoTunnelIdInit, theSdrModelUnoTunnelImplementationId > {}; } -const css::uno::Sequence< sal_Int8 >& SdrModel::getUnoTunnelImplementationId() +const css::uno::Sequence< sal_Int8 >& SdrModel::getUnoTunnelId() { return theSdrModelUnoTunnelImplementationId::get().getSeq(); } |