summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorRodolfo Ribeiro Gomes <rodolforg@gmail.com>2013-05-15 01:11:52 -0300
committerFridrich Strba <fridrich@documentfoundation.org>2013-05-21 19:36:29 +0000
commit330ce827f2fbc6499eddf2084f8401fcdee5103b (patch)
tree64d6fbc5eed228b40df9774951bf81d840b44f79 /vcl/inc
parent3ca73d5fcff2efbc2a5e2ce36714d24267a63fbc (diff)
Loader's ImageTree doesn't store multiple image paths anymore
Change-Id: Idd13039a76c46bfccad5f54e3357dde952508211 Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/3951 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/impimagetree.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/vcl/inc/impimagetree.hxx b/vcl/inc/impimagetree.hxx
index f42a0391bc90..0dc31104d43d 100644
--- a/vcl/inc/impimagetree.hxx
+++ b/vcl/inc/impimagetree.hxx
@@ -65,11 +65,10 @@ private:
OUString const & name, OUString const & style,
BitmapEx & bitmap, bool localized);
- typedef std::list<
- std::pair<
- OUString,
- com::sun::star::uno::Reference<
- com::sun::star::container::XNameAccess > > > Paths;
+ typedef std::pair<
+ OUString,
+ com::sun::star::uno::Reference<
+ com::sun::star::container::XNameAccess > > Path;
typedef boost::unordered_map<
OUString, bool, OUStringHash > CheckStyleCache;
@@ -77,7 +76,7 @@ private:
OUString, std::pair< bool, BitmapEx >, OUStringHash > IconCache;
OUString m_style;
- Paths m_paths;
+ Path m_path;
CheckStyleCache m_checkStyleCache;
IconCache m_iconCache;
bool m_cacheIcons;