diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-06-24 13:09:14 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-08-20 10:12:20 +0200 |
commit | 55ed342c133fc117899be0d8bd288c66498fa448 (patch) | |
tree | 758717476c37130d00c5495c336a7b6d86780048 /sw/inc/doc.hxx | |
parent | a2e757810a6afa10c3041c2c577a3b34f8904bb8 (diff) |
pagedesc: It's better when MakePageDesc returns a pointer.
This removes many uses of GetPageDesc(sal_uInt16).
(cherry picked from commit f246ac13bd1a12e11eba03cbe3c62ea77293e02e)
Conflicts:
sw/inc/doc.hxx
sw/source/core/doc/docdesc.cxx
sw/source/core/doc/poolfmt.cxx
sw/source/filter/ww1/fltshell.cxx
sw/source/filter/ww8/ww8par.cxx
sw/source/uibase/app/docstyle.cxx
sw/source/uibase/dbui/dbmgr.cxx
Change-Id: I9660e30d7fccd4336422ba03b19087321a7ae973
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index ff372aa7ac5c..23791acdd33c 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1371,7 +1371,7 @@ public: void DelPageDesc( const String & rName, bool bBroadcast = false); void DelPageDesc( sal_uInt16 i, bool bBroadcast = false ); void PreDelPageDesc(SwPageDesc * pDel); - sal_uInt16 MakePageDesc( const String &rName, const SwPageDesc* pCpy = 0, + SwPageDesc* MakePageDesc( const String &rName, const SwPageDesc* pCpy = 0, bool bRegardLanguage = true, bool bBroadcast = false); void BroadcastStyleOperation(String rName, SfxStyleFamily eFamily, |