TizenRefApp-9651[Gallery] Fix code style issues 15/156715/1 tizen_4.0_atspi
authorAlexander\ Kovalenko <al.kovalenko@samsung.com>
Thu, 19 Oct 2017 14:33:00 +0000 (17:33 +0300)
committerAlexander\ Kovalenko <al.kovalenko@samsung.com>
Thu, 19 Oct 2017 14:33:49 +0000 (17:33 +0300)
Change-Id: I7f4dd91d6d12db3b7d1eab62001b926ff4cc7065

gallery/model/MediaItem.cpp
gallery/model/helpers.cpp
gallery/view/ImageGrid.cpp
ucl/include/ucl/gui/WidgetItem.h
ucl/source/mvp/GuiPresenter.cpp

index fd21ffc18adfa0fad6c86c2fa728fba11a71bbe4..5af2e9ad968c8e94ec6c114fc7a00e0bc2f770ff 100644 (file)
@@ -500,7 +500,6 @@ namespace gallery {
 
                const int ret = media_info_cancel_thumbnail(m_media);
                if (ret != 0) {
-
                        // XXX In this case complete callback will be called anyway
                        // We need to report this issue to the platform
                        m_thumbCbProxy->item = nullptr;
index ac08ac2cd217b13882468418d5751dae5f6b179e..46f8653ab46cdec92e9265eb2d1b3444e5f1ea25 100644 (file)
@@ -31,7 +31,6 @@ namespace gallery { namespace util {
                auto result = makeShared<CustomMediaAlbum>();
 
                for (auto &filePath: filePathArray) {
-
                        auto item = MediaItem::newInstance(filePath);
                        if (!item) {
                                WLOG("MediaItem::newInstance() failed. Skipping...");
index a456e0ad467abc22c2725380dc7b3679e79bb087..9bfe4d19423fe4918da83b3686849bfcd69254c5 100644 (file)
@@ -424,7 +424,6 @@ namespace gallery {
                                m_imageHeight = params.imageHeight;
 
                                if ((m_imageWidth <= 0) || (m_imageHeight <= 0)) {
-
                                        setImageLoadSize(0);
 
                                        evas_object_image_file_set(m_image,
@@ -1563,7 +1562,6 @@ namespace gallery {
 
                if ((newEndSlotIndex <= beginSlotIndex) ||
                                (endSlotIndex <= newBeginSlotIndex)) {
-
                        unrealizeSlots(0, m_slotCount);
 
                        if ((beginSlotIndex ^ newBeginSlotIndex) & 1) {
index 7794444163953b75751a1e35251b3039e759ee47..5c69bd7e2bbcba6ec2a082fcd848d740d9244516 100644 (file)
@@ -60,7 +60,7 @@ namespace ucl {
                Evas_Object *getContent() const;
                Evas_Object *getContent(EdjePart part) const;
 
-               void emit(EdjeSignal signal,EdjeSignalSrc source =
+               void emit(EdjeSignal signal, EdjeSignalSrc source =
                                EdjeSignalSrc("")) const;
 
        private:
index e23bc0208257a084dc6c66cff5ba201a07c3753e..517b9f9709b3c36511f1879eef8ea24cc112a63e 100644 (file)
@@ -71,7 +71,6 @@ namespace ucl {
        Result GuiPresenter::prepare(GuiPresenter &parent, const int flags)
        {
                if (flags & PF_ADD_DEACTIVATOR_SOURCES) {
-
                        if (!parent.m_sink) {
                                LOG_RETURN(RES_FAIL, "parent.m_sink is NULL!");
                        }