[Libreoffice-commits] .: svx/source

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Jun 7 00:55:58 PDT 2011


 svx/source/sdr/properties/attributeproperties.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d03b2905c1ac437db450ad8319abd25abc5e0a0f
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Tue Jun 7 09:55:40 2011 +0200

    rend() on a non-const container is a non-const iterator

diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx
index 92d8fb9..1aed96d 100644
--- a/svx/source/sdr/properties/attributeproperties.cxx
+++ b/svx/source/sdr/properties/attributeproperties.cxx
@@ -436,7 +436,7 @@ namespace sdr
 
                             SfxItemSet* pNewSet = &CreateObjectSpecificItemSet(pNewModel->GetItemPool());
 
-                            std::vector<const SfxItemSet*>::const_reverse_iterator riter;
+                            std::vector<const SfxItemSet*>::reverse_iterator riter;
                             for (riter = aSetList.rbegin(); riter != aSetList.rend(); ++riter)
                                 pNewSet->Put(*(*riter));
 


More information about the Libreoffice-commits mailing list