[Libreoffice-commits] .: binfilter/bf_sc
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Apr 18 13:40:51 PDT 2011
binfilter/bf_sc/source/core/data/sc_cell.cxx | 6 ++++++
binfilter/bf_sc/source/core/data/sc_cell2.cxx | 3 +++
binfilter/bf_sc/source/core/tool/sc_token.cxx | 11 +++++++++++
3 files changed, 20 insertions(+)
New commits:
commit 3376b0381168e00fdaafdca462d4a3f99962a3e8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Apr 18 21:19:43 2011 +0100
silence some warnings
diff --git a/binfilter/bf_sc/source/core/data/sc_cell.cxx b/binfilter/bf_sc/source/core/data/sc_cell.cxx
index 9e68005..9973bc1 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell.cxx
@@ -286,6 +286,8 @@ static const sal_Char msgDbgInfinity[] =
/*M*/ }
/*M*/ }
/*M*/ break;
+/*M*/ default:
+/*M*/ break;
/*M*/ }
/*M*/ }
/*M*/ }
@@ -390,6 +392,8 @@ static const sal_Char msgDbgInfinity[] =
/*N*/ }
/*N*/ }
/*N*/ break;
+/*N*/ default:
+/*N*/ break;
/*N*/ }
/*N*/ }
/*N*/ }
@@ -1239,6 +1243,8 @@ static const sal_Char msgDbgInfinity[] =
/*N*/ aErgString = p->GetStringResult();
/*N*/ }
/*N*/ break;
+/*N*/ default:
+/*N*/ break;
/*N*/ }
/*N*/
/*N*/ // Neuer Fehlercode?
diff --git a/binfilter/bf_sc/source/core/data/sc_cell2.cxx b/binfilter/bf_sc/source/core/data/sc_cell2.cxx
index 3203868..6f0e48e 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell2.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell2.cxx
@@ -697,6 +697,9 @@ DBG_BF_ASSERT(0, "STRIP"); /*N*/ if( !pDocument->IsClipOrUndo() )
/*N*/ case ocName:
/*?*/ if ( p->GetIndex() >= SC_START_INDEX_DB_COLL )
/*?*/ bRecompile = TRUE; // DB-Bereich
+/*N*/ break;
+/*N*/ default:
+/*N*/ break;
/*N*/ }
/*N*/ }
/*N*/ if ( bRecompile )
diff --git a/binfilter/bf_sc/source/core/tool/sc_token.cxx b/binfilter/bf_sc/source/core/tool/sc_token.cxx
index 53a3df2..18f3e6c 100644
--- a/binfilter/bf_sc/source/core/tool/sc_token.cxx
+++ b/binfilter/bf_sc/source/core/tool/sc_token.cxx
@@ -693,6 +693,9 @@ USHORT lcl_ScRawTokenOffset()
/*N*/ case svSingleRef:
/*N*/ case svDoubleRef:
/*N*/ return t;
+/*N*/ break;
+/*N*/ default:
+/*N*/ break;
/*N*/ }
/*N*/ }
/*N*/ return NULL;
@@ -708,6 +711,9 @@ USHORT lcl_ScRawTokenOffset()
/*N*/ case svSingleRef:
/*N*/ case svDoubleRef:
/*N*/ return t;
+/*N*/ break;
+/*N*/ default:
+/*N*/ break;
/*N*/ }
/*N*/ }
/*N*/ return NULL;
@@ -723,6 +729,9 @@ USHORT lcl_ScRawTokenOffset()
/*N*/ case svDoubleRef:
/*N*/ case svIndex:
/*N*/ return t;
+/*N*/ break;
+/*N*/ default:
+/*N*/ break;
/*N*/ }
/*N*/ }
/*N*/ return NULL;
@@ -1291,6 +1300,8 @@ USHORT lcl_ScRawTokenOffset()
/*N*/ }
/*N*/ }
/*N*/ break;
+/*N*/ default :
+/*N*/ break;
/*N*/ }
/*N*/ if ( eOp == ocPush || lcl_IsReference( eOp, t->GetType() ) )
/*N*/ pStack[sp++] = t;
More information about the Libreoffice-commits
mailing list