diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-22 17:59:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-23 06:22:27 +0000 |
commit | a1cfd9ff7dc0371720c4e2670e318a8282bd9735 (patch) | |
tree | eb9648700508de44671e9792baa3c252b50d065b /sw | |
parent | ea0f63336db0e36cae94fdff3c9778088c0fc092 (diff) |
tdf#89329: use unique_ptr for pImpl in new
Fix "error: declaration of ‘pImpl’ shadows a
member of 'this' [-Werror=shadow]" too
Change-Id: Ib0fc66375ed7d9ae700d5a81a2adb5975fcae592
Reviewed-on: https://gerrit.libreoffice.org/25319
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/view.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index f02a69116b3b..354f007246e2 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -1763,8 +1763,8 @@ void SwView::NotifyDBChanged() SfxObjectShellLock SwView::CreateTmpSelectionDoc() { - SwXTextView *const pImpl = GetViewImpl()->GetUNOObject_Impl(); - return pImpl->BuildTmpSelectionDoc(); + SwXTextView *const pTempImpl = GetViewImpl()->GetUNOObject_Impl(); + return pTempImpl->BuildTmpSelectionDoc(); } void SwView::AddTransferable(SwTransferable& rTransferable) |