diff --git a/limereport/items/lrhorizontallayout.cpp b/limereport/items/lrhorizontallayout.cpp index 359372b..82a301b 100644 --- a/limereport/items/lrhorizontallayout.cpp +++ b/limereport/items/lrhorizontallayout.cpp @@ -238,18 +238,4 @@ void HorizontalLayout::placeItemInLayout(BaseDesignIntf* item) item->setPos(0, 0); } -// void HorizontalLayout::insertItemInLayout(BaseDesignIntf* item) -// { -// bool inserted = false; -// for (int i=0; ipos() == item->pos()){ -// layoutsChildren().insert(i, item); -// inserted = true; -// break; -// } -// } -// if (!inserted) layoutsChildren().append(item); -// } - } // namespace LimeReport diff --git a/limereport/items/lrhorizontallayout.h b/limereport/items/lrhorizontallayout.h index c26fb1d..17cfaba 100644 --- a/limereport/items/lrhorizontallayout.h +++ b/limereport/items/lrhorizontallayout.h @@ -62,7 +62,6 @@ private: void sortChildren(); void divideSpace(); void placeItemInLayout(BaseDesignIntf* item); - // void insertItemInLayout(BaseDesignIntf* item); }; } //namespace LimeReport diff --git a/limereport/items/lrverticallayout.h b/limereport/items/lrverticallayout.h index 8b54782..e276c22 100644 --- a/limereport/items/lrverticallayout.h +++ b/limereport/items/lrverticallayout.h @@ -27,7 +27,6 @@ private: void sortChildren(); void divideSpace(); void placeItemInLayout(BaseDesignIntf* item); - // void insertItemInLayout(BaseDesignIntf* item); }; } // namespace LimeReport