summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-09-15 18:59:01 +0200
committerEike Rathke <erack@redhat.com>2015-09-15 19:01:27 +0200
commitfb59df3a5504ab857923149d53cd222b9b4d6388 (patch)
treed261de1fef3fa8d7e8f15e4b5e777a389d23b8a4 /sc
parentd8d699736334d009503a9a8e1363db7f7d237f99 (diff)
there's no default ScMatrixMode enum other than the known ones
... and if there was one not handled let the compiler complain. Change-Id: Ibe3a2a913edfbfbba30a83a8d985d5509853ff6d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/chgtrack.cxx2
-rw-r--r--sc/source/ui/docshell/docsh3.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index a33b5643038e..3517f26f6cef 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -1689,8 +1689,6 @@ ScChangeActionContentCellType ScChangeActionContent::GetContentCellType( const S
return SC_CACCT_MATORG;
case MM_REFERENCE :
return SC_CACCT_MATREF;
- default:
- ;
}
return SC_CACCT_NORMAL;
}
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 27eddebae0a9..392435475f0c 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -1003,8 +1003,6 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck
break;
case MM_REFERENCE : // do nothing
break;
- default:
- OSL_FAIL( "MergeDocument: unknown MatrixFlag" );
}
}
break;