Grid layout crash fix
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / layouting / grid-locations.h
index f1f8b6e..afc1437 100644 (file)
@@ -59,7 +59,6 @@ public:
     int xEnd;
     int yTop;
     int yBottom;
-    int explictlyDefined;
 
     Cell( int x1, int x2, int y1, int y2): xStart(x1), xEnd(x2), yTop(y1), yBottom(y2){};
   };
@@ -74,8 +73,7 @@ public:
    * Uses the given parameters to calculate the x,y coordinates of each cell and cell size.
    */
   void CalculateLocations( int numberOfColumns, unsigned int availableWidth,
-                           unsigned int availableHeight, unsigned int numberOfCells,
-                           unsigned int columnWidth, unsigned int rowHeight );
+                           unsigned int availableHeight, unsigned int numberOfCells );
 
   LocationVector GetLocations();
 
@@ -96,4 +94,4 @@ private:
 } // namespace Toolkit
 } // namespace Dali
 
-#endif // DALI_TOOLKIT_INTERNAL_LAYOUTING_GRID_LOCATIONS_H
\ No newline at end of file
+#endif // DALI_TOOLKIT_INTERNAL_LAYOUTING_GRID_LOCATIONS_H