r17738 by jghali - remove some dead code
scribus-commit
scribus-commit at lists.scribus.net
Sat Jul 28 11:36:56 UTC 2012
Author: jghali
Date: Sat Jul 28 11:36:56 2012
New Revision: 17738
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17738
Log:
remove some dead code
Modified:
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17738&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Sat Jul 28 11:36:56 2012
@@ -4105,16 +4105,6 @@
PageItem *ite = doc->Items->at(azz);
if(ite->nextInChain() == NULL)
ite->layout();
-/* if (doc->OldBM)
- {
- if ((ite->itemType() == PageItem::TextFrame) && (ite->isBookmark))
- bookmarkPalette->BView->AddPageItem(ite);
- }
- else
- {
- if ((ite->itemType() == PageItem::TextFrame) && (ite->isBookmark))
- bookmarkPalette->BView->ChangeItem(ite->BMnr, ite->ItemNr);
- } */
}
for (QHash<int, PageItem*>::iterator itf = doc->FrameItems.begin(); itf != doc->FrameItems.end(); ++itf)
{
@@ -4123,8 +4113,6 @@
if(ite->nextInChain() == NULL)
ite->layout();
}
-// if (doc->OldBM)
-// StoreBookmarks();
doc->RePos = false;
doc->setModified(false);
updateRecent(FName);
More information about the scribus-commit
mailing list