diff options
Diffstat (limited to 'sd/source/ui/toolpanel/controls/MasterPageObserver.cxx')
-rwxr-xr-x | sd/source/ui/toolpanel/controls/MasterPageObserver.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx index 2ba0cc678403..6524dc429c56 100755 --- a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx +++ b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx @@ -194,8 +194,8 @@ void MasterPageObserver::Implementation::RegisterDocument ( { // Gather the names of all the master pages in the given document. MasterPageContainer::data_type aMasterPageSet; - USHORT nMasterPageCount = rDocument.GetMasterSdPageCount(PK_STANDARD); - for (USHORT nIndex=0; nIndex<nMasterPageCount; nIndex++) + sal_uInt16 nMasterPageCount = rDocument.GetMasterSdPageCount(PK_STANDARD); + for (sal_uInt16 nIndex=0; nIndex<nMasterPageCount; nIndex++) { SdPage* pMasterPage = rDocument.GetMasterSdPage (nIndex, PK_STANDARD); if (pMasterPage != NULL) @@ -330,9 +330,9 @@ void MasterPageObserver::Implementation::AnalyzeUsedMasterPages ( SdDrawDocument& rDocument) { // Create a set of names of the master pages used by the given document. - USHORT nMasterPageCount = rDocument.GetMasterSdPageCount(PK_STANDARD); + sal_uInt16 nMasterPageCount = rDocument.GetMasterSdPageCount(PK_STANDARD); ::std::set<String> aCurrentMasterPages; - for (USHORT nIndex=0; nIndex<nMasterPageCount; nIndex++) + for (sal_uInt16 nIndex=0; nIndex<nMasterPageCount; nIndex++) { SdPage* pMasterPage = rDocument.GetMasterSdPage (nIndex, PK_STANDARD); if (pMasterPage != NULL) |