summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-30 12:55:40 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-30 13:22:19 +0200
commitf8c0e13ba28172b8c61ea2a5085f1abf46a33936 (patch)
treed60f5e9e0e3d68e1701cc1ac8089d97f21fa27d3
parent6ddfb81c0793cb067b5d8c3b434b2500bac379d1 (diff)
Rename ValueItemList to ThumbnailValueItemList
The more common definition comes from svtools/valueset.hxx. Make the difference clear. Change-Id: I79b09f31007a4c00860fa97d8517a2b1f6aadeea
-rw-r--r--include/sfx2/thumbnailview.hxx8
-rw-r--r--sfx2/source/control/thumbnailview.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index abff5f545b2a..dbbe57dc820a 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -26,7 +26,7 @@ class HelpEvent;
class KeyEvent;
class DataChangedEvent;
class ScrollBar;
-typedef ::std::vector< ThumbnailViewItem* > ValueItemList;
+typedef ::std::vector< ThumbnailViewItem* > ThumbnailValueItemList;
struct ThumbnailItemAttributes;
class ThumbnailViewAcc;
@@ -299,9 +299,9 @@ protected:
protected:
- ValueItemList mItemList;
- ValueItemList mFilteredItemList; ///< Cache to store the filtered items
- ValueItemList::iterator mpStartSelRange;
+ ThumbnailValueItemList mItemList;
+ ThumbnailValueItemList mFilteredItemList; ///< Cache to store the filtered items
+ ThumbnailValueItemList::iterator mpStartSelRange;
ScrollBar* mpScrBar;
Rectangle maItemListRect;
long mnHeaderHeight;
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index ca75d1005bb2..cfefc1f62d51 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -993,7 +993,7 @@ void ThumbnailView::RemoveItem( sal_uInt16 nItemId )
}
// delete item from the filter item list
- ValueItemList::iterator it = mFilteredItemList.begin();
+ ThumbnailValueItemList::iterator it = mFilteredItemList.begin();
::std::advance( it, nPos );
if ((*it)->isSelected())