summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/edit/editsh.cxx2
-rw-r--r--sw/source/filter/basflt/shellio.cxx2
-rw-r--r--sw/source/uibase/shells/drwbassh.cxx4
-rw-r--r--sw/source/uibase/wrtsh/delete.cxx4
4 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index 492169cfa319..4c622b8fb6bf 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -194,7 +194,7 @@ long SwEditShell::SplitNode( bool bAutoFormat, bool bCheckTableStart )
ClearTableBoxContent();
EndAllAction();
- return 1L;
+ return 1;
}
bool SwEditShell::AppendTextNode()
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx
index 03496564fd45..8b66489885dd 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -483,7 +483,7 @@ SwDoc* Reader::GetTemplateDoc()
// only one minute later check if it has changed
aChkDateTime = aCurrDateTime;
- aChkDateTime += tools::Time( 0L, 1L );
+ aChkDateTime += tools::Time( 0, 1 );
}
if (bLoad)
diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx
index 99ada54d2d27..5c31e2215d6b 100644
--- a/sw/source/uibase/shells/drwbassh.cxx
+++ b/sw/source/uibase/shells/drwbassh.cxx
@@ -678,7 +678,7 @@ void SwDrawBaseShell::GetState(SfxItemSet& rSet)
case FN_NAME_SHAPE :
{
- if(1L != pSdrView->GetMarkedObjectCount())
+ if(1 != pSdrView->GetMarkedObjectCount())
{
rSet.DisableItem( nWhich );
}
@@ -690,7 +690,7 @@ void SwDrawBaseShell::GetState(SfxItemSet& rSet)
{
const bool bIsWebView(nullptr != dynamic_cast<SwWebView*>(&GetView()));
- if(!bIsWebView && 1L != pSdrView->GetMarkedObjectCount())
+ if(!bIsWebView && 1 != pSdrView->GetMarkedObjectCount())
{
rSet.DisableItem( nWhich );
}
diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx
index d839ba57bfe5..2b2c90f5ac2e 100644
--- a/sw/source/uibase/wrtsh/delete.cxx
+++ b/sw/source/uibase/wrtsh/delete.cxx
@@ -140,7 +140,7 @@ long SwWrtShell::DelLeft()
GotoNextFly();
}
- return 1L;
+ return 1;
}
// If a selection exists, erase this
@@ -164,7 +164,7 @@ long SwWrtShell::DelLeft()
}
else
EnterStdMode();
- return 1L;
+ return 1;
}
else
EnterStdMode();