summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-27 13:43:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 13:43:35 +0100
commitf5442623090dd535a1a561f1ecfdb09f2dff129b (patch)
tree23223845d46855fd7bcfd8232820710d0d000f59 /sfx2
parent3ec3f2fd5f7a4f0e7bd5d43d2cf92a142702a116 (diff)
MSC fixes
Change-Id: I5ea1e75a637e8f4fc51ff31321213267669f8bc9
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 ddab413c5e07..8c41502d31a8 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 bf97393c0909..663ae2b0a53d 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:
}