diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-11 15:14:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-11 16:47:08 +0100 |
commit | 2ea6cc6a70c569f38d4feb7f402709b38055970f (patch) | |
tree | 0c0a37135f264226d953e78841ecfc085d795193 /sd | |
parent | b5f44caaed5b89e6d620ca2bc421af8c922bc0b8 (diff) |
fix misleading variable name prefix notation
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 354389ae9cfc..5693d4735f23 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -580,19 +580,19 @@ sal_Bool SdDrawDocument::InsertBookmarkAsPage( for (nBMSdPage=0; nBMSdPage < nBMSdPageCount; nBMSdPage++) { SdPage* pBMPage = pBookmarkDoc->GetSdPage(nBMSdPage, PK_STANDARD); - String pName( pBMPage->GetName() ); + String sName( pBMPage->GetName() ); sal_Bool bIsMasterPage; if (bLink) { // Es werden sich die Namen aller Seiten gemerkt - aNameMap.insert(std::make_pair(nBMSdPage,pName)); + aNameMap.insert(std::make_pair(nBMSdPage,sName)); } // Have to check for duplicate names here, too // don't change name if source and dest model are the same! if( pBookmarkDoc != this && - GetPageByName(pName, bIsMasterPage ) != SDRPAGE_NOTFOUND ) + GetPageByName(sName, bIsMasterPage ) != SDRPAGE_NOTFOUND ) { // delay renaming *after* pages are copied (might destroy source otherwise) aRenameSet.insert(nBMSdPage); |