[Libreoffice-commits] core.git: xmloff/source

Tor Lillqvist tml at collabora.com
Tue Dec 5 10:56:18 UTC 2017


 xmloff/source/style/xmlstyle.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2b26d152227b39f8dd78db56a10817a4b3c7c259
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Dec 4 23:35:01 2017 +0200

    Bin a typedef used just once
    
    Change-Id: I8591b1d872a729402ea6045d2a17dc691fa66788
    Reviewed-on: https://gerrit.libreoffice.org/45841
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index 8fc93bb12e10..262dce7f32a3 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -235,10 +235,9 @@ struct SvXMLStyleIndexCmp_Impl
 
 class SvXMLStylesContext_Impl
 {
-    typedef std::vector<rtl::Reference<SvXMLStyleContext>> StylesType;
     typedef std::set<SvXMLStyleIndex_Impl, SvXMLStyleIndexCmp_Impl> IndicesType;
 
-    StylesType aStyles;
+    std::vector<rtl::Reference<SvXMLStyleContext>> aStyles;
     mutable std::unique_ptr<IndicesType> pIndices;
     bool bAutomaticStyle;
 


More information about the Libreoffice-commits mailing list