]> Shamusworld >> Repos - architektonas/blobdiff - src/base/insert.cpp
In the middle of chasing down MDI not activating bug, renaming of Graphic to
[architektonas] / src / base / insert.cpp
index c6b9ea170d5d45a25ff35451a86827d40b1e6ec6..7cc6a9ac63d2149e1ec17ccbca7e15438234efd4 100644 (file)
@@ -86,25 +86,15 @@ Block * Insert::getBlockForInsert()
        BlockList * blkList;
 
        if (!data.blockSource)
-       {
-               blkList = (getGraphic() ? getGraphic()->getBlockList() : NULL);
-       }
+               blkList = (GetDrawing() ? GetDrawing()->getBlockList() : NULL);
        else
-       {
                blkList = data.blockSource;
-       }
 
        Block * blk = NULL;
 
        if (blkList)
                blk = blkList->find(data.name);
 
-/*???
-       if (blk)
-       {
-       }
-*/
-
        block = blk;
 
        return blk;