diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-06-24 19:40:25 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-06-25 20:03:20 +0200 |
commit | e7441f2e19dbfbc28438badb59d107f0e3068390 (patch) | |
tree | ebee1dabf9cc07da6f83cfad5fa2239f8eeca846 /sw | |
parent | c1be76ec98cb465e07df961843134147100beaa9 (diff) |
pagedesc: We have DelPageDesc() that takes OUString as param directly.
Change-Id: I616f89716a6e337c647cfb880a4e675cd1b65993
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/docstyle.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index fa169f2026a0..1ca2960b8c07 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -2301,9 +2301,7 @@ void SwDocStyleSheetPool::Remove( SfxStyleSheetBase* pStyle) break; case SFX_STYLE_FAMILY_PAGE : { - sal_uInt16 nPos; - if (rDoc.FindPageDesc(sName, &nPos)) - rDoc.DelPageDesc(nPos); + rDoc.DelPageDesc(sName); } break; |