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

Stephan Bergmann sbergman at redhat.com
Wed Mar 27 05:44:01 PDT 2013


 sfx2/source/control/templatelocalview.cxx  |    2 +-
 sfx2/source/control/templateremoteview.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f5442623090dd535a1a561f1ecfdb09f2dff129b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 27 13:43:35 2013 +0100

    MSC fixes
    
    Change-Id: I5ea1e75a637e8f4fc51ff31321213267669f8bc9

diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index ddab413..8c41502 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -397,7 +397,7 @@ bool TemplateLocalView::moveTemplates(const std::set<const ThumbnailViewItem*, s
         sal_uInt16 nTargetIdx = mpDocTemplates->GetCount(nTargetRegion);    // Next Idx
         std::vector<sal_uInt16> aItemIds;    // List of moved items ids (also prevents the invalidation of rItems iterators when we remove them as we go)
 
-        std::set<const ThumbnailViewItem*,selection_cmp_fn>::iterator aSelIter;
+        std::set<const ThumbnailViewItem*,selection_cmp_fn>::const_iterator aSelIter;
         for ( aSelIter = rItems.begin(); aSelIter != rItems.end(); ++aSelIter, ++nTargetIdx )
         {
             const TemplateViewItem *pViewItem = static_cast<const TemplateViewItem*>(*aSelIter);
diff --git a/sfx2/source/control/templateremoteview.cxx b/sfx2/source/control/templateremoteview.cxx
index bf97393..663ae2b 100644
--- a/sfx2/source/control/templateremoteview.cxx
+++ b/sfx2/source/control/templateremoteview.cxx
@@ -62,7 +62,7 @@ void TemplateRemoteView::showRootRegion()
     //TODO:
 }
 
-void TemplateRemoteView::showRegion(ThumbnailViewItem */*pItem*/)
+void TemplateRemoteView::showRegion(ThumbnailViewItem * /*pItem*/)
 {
     //TODO:
 }


More information about the Libreoffice-commits mailing list