summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/uno/unotxvw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index 3411f39c5a98..c3b98384bc73 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -1436,6 +1436,7 @@ OUString SwXTextViewCursor::getString()
SwWrtShell& rSh = m_pView->GetWrtShell();
SwPaM* pShellCursor = rSh.GetCursor();
SwUnoCursorHelper::GetTextFromPam(*pShellCursor, uRet);
+ break;
}
default:;//prevent warning
}
@@ -1467,6 +1468,7 @@ void SwXTextViewCursor::setString(const OUString& aString)
SwWrtShell& rSh = m_pView->GetWrtShell();
SwCursor* pShellCursor = rSh.GetSwCursor();
SwUnoCursorHelper::SetString(*pShellCursor, aString);
+ break;
}
default:;//prevent warning
}