diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/docsh.hxx | 8 | ||||
-rw-r--r-- | sw/source/ui/app/docsh2.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 08ae99e05275..747576609252 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -200,18 +200,18 @@ public: virtual SfxStyleSheetBasePool* GetStyleSheetPool(); /// For Organizer. - virtual sal_Bool Insert(SfxObjectShell &rSource, + virtual sal_Bool InsertStuffWithIndexes(SfxObjectShell &rSource, sal_uInt16 nSourceIdx1, sal_uInt16 nSourceIdx2, sal_uInt16 nSourceIdx3, sal_uInt16& nIdx1, sal_uInt16& nIdx2, sal_uInt16& nIdx3, - sal_uInt16& nRemovedIdx); + sal_uInt16& nRemovedIdx) SAL_OVERRIDE; - virtual sal_Bool Remove(sal_uInt16 nIdx1, + virtual sal_Bool RemoveStuffWithIndexes(sal_uInt16 nIdx1, sal_uInt16 nIdx2 = INDEX_IGNORE, - sal_uInt16 nIdx3 = INDEX_IGNORE); + sal_uInt16 nIdx3 = INDEX_IGNORE) SAL_OVERRIDE; virtual Bitmap GetStyleFamilyBitmap( SfxStyleFamily eFamily ); diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx index 2123202456ae..87789d1883a5 100644 --- a/sw/source/ui/app/docsh2.cxx +++ b/sw/source/ui/app/docsh2.cxx @@ -324,7 +324,7 @@ sal_uInt16 SwDocShell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing ) } // Organizer -sal_Bool SwDocShell::Insert( SfxObjectShell &rSource, +sal_Bool SwDocShell::InsertStuffWithIndexes( SfxObjectShell &rSource, sal_uInt16 nSourceIdx1, // SourcePool: uppermost content level (templates/macros) sal_uInt16 nSourceIdx2, // Index in the content sal_uInt16 nSourceIdx3, // Index in the content level @@ -515,7 +515,7 @@ sal_Bool SwDocShell::Insert( SfxObjectShell &rSource, bRet = sal_True; } else - bRet = SfxObjectShell::Insert( rSource, + bRet = SfxObjectShell::InsertStuffWithIndexes( rSource, nSourceIdx1, nSourceIdx2, nSourceIdx3, @@ -535,7 +535,7 @@ sal_Bool SwDocShell::Insert( SfxObjectShell &rSource, } // template Remove -sal_Bool SwDocShell::Remove(sal_uInt16 nIdx1, // see Insert +sal_Bool SwDocShell::RemoveStuffWithIndexes(sal_uInt16 nIdx1, // see Insert sal_uInt16 nIdx2, sal_uInt16 nIdx3) { @@ -589,7 +589,7 @@ sal_Bool SwDocShell::Remove(sal_uInt16 nIdx1, // see Insert bRet = sal_True; } else - bRet = SfxObjectShell::Remove( nIdx1, + bRet = SfxObjectShell::RemoveStuffWithIndexes( nIdx1, nIdx2, nIdx3 ); |