summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/editsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/editsh.cxx')
-rw-r--r--sw/source/core/edit/editsh.cxx49
1 files changed, 2 insertions, 47 deletions
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index cad1fd9f92ff..f4521a385ece 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <hintids.hxx>
#include <vcl/cmdevt.hxx>
#include <unotools/charclass.hxx>
@@ -61,12 +60,6 @@
using namespace com::sun::star;
-
-/******************************************************************************
- * void SwEditShell::Insert(char c)
- ******************************************************************************/
-
-
void SwEditShell::Insert( sal_Unicode c, sal_Bool bOnlyCurrCrsr )
{
StartAllAction();
@@ -85,12 +78,6 @@ void SwEditShell::Insert( sal_Unicode c, sal_Bool bOnlyCurrCrsr )
EndAllAction();
}
-
-/******************************************************************************
- * void SwEditShell::Insert(const String &rStr)
- ******************************************************************************/
-
-
void SwEditShell::Insert2(const String &rStr, const bool bForceExpandHints )
{
StartAllAction();
@@ -170,12 +157,6 @@ void SwEditShell::Insert2(const String &rStr, const bool bForceExpandHints )
EndAllAction();
}
-
-/******************************************************************************
- * void SwEditShell::Overwrite(const String &rStr)
- ******************************************************************************/
-
-
void SwEditShell::Overwrite(const String &rStr)
{
StartAllAction();
@@ -189,11 +170,6 @@ void SwEditShell::Overwrite(const String &rStr)
EndAllAction();
}
-
-/******************************************************************************
- * long SwEditShell::SplitNode()
- ******************************************************************************/
-
long SwEditShell::SplitNode( sal_Bool bAutoFormat, sal_Bool bCheckTableStart )
{
StartAllAction();
@@ -345,14 +321,12 @@ void SwEditShell::GetGrfNms( String* pGrfName, String* pFltName,
}
}
-
const PolyPolygon *SwEditShell::GetGraphicPolygon() const
{
SwNoTxtNode *pNd = GetCrsr()->GetNode()->GetNoTxtNode();
return pNd->HasContour();
}
-
void SwEditShell::SetGraphicPolygon( const PolyPolygon *pPoly )
{
SwNoTxtNode *pNd = GetCrsr()->GetNode()->GetNoTxtNode();
@@ -401,7 +375,6 @@ svt::EmbeddedObjectRef& SwEditShell::GetOLEObject() const
return rOObj.GetObject();
}
-
sal_Bool SwEditShell::HasOLEObj( const String &rName ) const
{
SwStartNode *pStNd;
@@ -420,7 +393,6 @@ sal_Bool SwEditShell::HasOLEObj( const String &rName ) const
return sal_False;
}
-
void SwEditShell::SetChartName( const String &rName )
{
SwOLENode *pONd = GetCrsr()->GetNode()->GetOLENode();
@@ -450,11 +422,6 @@ String SwEditShell::GetCurWord()
return aString;
}
-/****************************************************************************
- * void SwEditShell::UpdateDocStat()
- ****************************************************************************/
-
-
void SwEditShell::UpdateDocStat( )
{
StartAllAction();
@@ -484,11 +451,6 @@ sal_uInt16 SwEditShell::GetRefMarks( std::vector<OUString>* pStrings ) const
return GetDoc()->GetRefMarks( pStrings );
}
-/******************************************************************************
- * DropCap-SS
- ******************************************************************************/
-
-
String SwEditShell::GetDropTxt( const sal_uInt16 nChars ) const
{
/*
@@ -554,7 +516,6 @@ void SwEditShell::ReplaceDropTxt( const String &rStr, SwPaM* pPaM )
}
}
-
String SwEditShell::Calculate()
{
String aFormel; // the final formula
@@ -621,13 +582,11 @@ String SwEditShell::Calculate()
return aCalc.GetStrResult( aCalc.Calculate(aFormel) );
}
-
sfx2::LinkManager& SwEditShell::GetLinkManager()
{
return mpDoc->GetLinkManager();
}
-
void *SwEditShell::GetIMapInventor() const
{
// The node on which the cursor points should be sufficient as a unique identifier
@@ -635,7 +594,6 @@ void *SwEditShell::GetIMapInventor() const
}
// #i73788#
-// remove default parameter, because method is always called this default value
Graphic SwEditShell::GetIMapGraphic() const
{
// returns always a graphic if the cursor is in a Fly
@@ -672,7 +630,6 @@ Graphic SwEditShell::GetIMapGraphic() const
return aRet;
}
-
sal_Bool SwEditShell::InsertURL( const SwFmtINetFmt& rFmt, const String& rStr, sal_Bool bKeepSelection )
{
// URL and hint text (directly or via selection) necessary
@@ -727,7 +684,6 @@ sal_Bool SwEditShell::InsertURL( const SwFmtINetFmt& rFmt, const String& rStr, s
return sal_True;
}
-
sal_uInt16 SwEditShell::GetINetAttrs( SwGetINetAttrs& rArr )
{
rArr.clear();
@@ -795,6 +751,7 @@ sal_Bool SwEditShell::RemoveInvisibleContent()
EndAllAction();
return bRet;
}
+
bool SwEditShell::ConvertFieldsToText()
{
StartAllAction();
@@ -802,6 +759,7 @@ bool SwEditShell::ConvertFieldsToText()
EndAllAction();
return bRet;
}
+
void SwEditShell::SetNumberingRestart()
{
StartAllAction();
@@ -872,7 +830,6 @@ void SwEditShell::SetNumberingRestart()
}
}
-
Pop(sal_False);
EndAllAction();
}
@@ -950,7 +907,6 @@ long SwEditShell::MergeDoc( const SwDoc& rDoc )
return nRet;
}
-
const SwFtnInfo& SwEditShell::GetFtnInfo() const
{
return GetDoc()->GetFtnInfo();
@@ -1123,5 +1079,4 @@ void SwEditShell::ApplyViewOptions( const SwViewOption &rOpt )
SwEditShell::EndAction();
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */