summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /basctl
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.hxx2
-rw-r--r--basctl/source/basicide/baside2b.cxx4
-rw-r--r--basctl/source/basicide/linenumberwindow.cxx4
-rw-r--r--basctl/source/basicide/linenumberwindow.hxx2
-rw-r--r--basctl/source/dlged/dlged.cxx4
-rw-r--r--basctl/source/inc/dlged.hxx2
6 files changed, 3 insertions, 15 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index aae2ae6f53ba..35ca5d52ac6b 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -554,7 +554,7 @@ public:
std::vector< OUString > GetXIdlClassMethods() const;
std::vector< OUString > GetXIdlClassFields() const;
- bool CanCodeComplete() const;
+ bool CanCodeComplete() const { return bCanComplete;}
};
} // namespace basctl
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 93e0f048339b..338f35078c3f 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2968,10 +2968,6 @@ std::vector< OUString > UnoTypeCodeCompletetor::GetXIdlClassFields() const
return aRetVect;//this is empty when cannot code complete
}
-bool UnoTypeCodeCompletetor::CanCodeComplete() const
-{
- return bCanComplete;
-}
bool UnoTypeCodeCompletetor::CheckField( const OUString& sFieldName )
{// modifies xClass!!!
diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx
index 22eb1ff1369e..5764f7ad902c 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -119,10 +119,6 @@ bool LineNumberWindow::SyncYOffset()
return true;
}
-int LineNumberWindow::GetWidth()
-{
- return m_nWidth;
-}
} // namespace basctl
diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx
index a99cc069211e..aae3409e5ed1 100644
--- a/basctl/source/basicide/linenumberwindow.hxx
+++ b/basctl/source/basicide/linenumberwindow.hxx
@@ -38,7 +38,7 @@ public:
bool SyncYOffset();
long& GetCurYOffset();
- int GetWidth();
+ int GetWidth() { return m_nWidth;}
};
} // namespace basctl
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index ebf8ba0b5cc1..b4f0d27bb8f1 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -624,10 +624,6 @@ void DlgEditor::SetInsertObj( sal_uInt16 eObj )
}
-sal_uInt16 DlgEditor::GetInsertObj() const
-{
- return eActObj;
-}
void DlgEditor::CreateDefaultObject()
diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx
index 0103030fc96f..028e1c9ae04f 100644
--- a/basctl/source/inc/dlged.hxx
+++ b/basctl/source/inc/dlged.hxx
@@ -190,7 +190,7 @@ public:
void SetMode (Mode eMode);
void SetInsertObj( sal_uInt16 eObj );
- sal_uInt16 GetInsertObj() const;
+ sal_uInt16 GetInsertObj() const { return eActObj;}
void CreateDefaultObject();
Mode GetMode() const { return eMode; }
bool IsCreateOK() const { return bCreateOK; }