summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-27 13:43:35 +0100
committerMichael Stahl <mstahl@redhat.com>2013-05-30 22:51:23 +0200
commit6e29b200a7f8c6b3652bc57ea0aa5232640f1d4f (patch)
tree7463f79fd3418e0569123c5eaaf9a6991b029b1d /sfx2
parent8334231910df9666d1f156c798108894df572765 (diff)
MSC fixes
Change-Id: I5ea1e75a637e8f4fc51ff31321213267669f8bc9 (cherry picked from commit f5442623090dd535a1a561f1ecfdb09f2dff129b) Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/templatelocalview.cxx2
-rw-r--r--sfx2/source/control/templateremoteview.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index f1a34217f0fb..97caa9d94193 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -487,7 +487,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 3fc85a75885a..cbf5f102bc20 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:
}