summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
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
4 files changed, 2 insertions, 10 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 35ca5d52ac6b..552064e1e4c1 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -525,7 +525,7 @@ public:
void InsertEntry( const OUString& aStr );
void ClearListBox();
void SetTextSelection( const TextSelection& aSel );
- const TextSelection& GetTextSelection() const;
+ const TextSelection& GetTextSelection() const { return aTextSelection;}
void ResizeAndPositionListBox();
void SelectFirstEntry(); //selects first entry in ListBox
void ClearAndHide();
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 645da409edec..78f65e67968d 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2819,10 +2819,6 @@ void CodeCompleteWindow::SetTextSelection( const TextSelection& aSel )
aTextSelection = aSel;
}
-const TextSelection& CodeCompleteWindow::GetTextSelection() const
-{
- return aTextSelection;
-}
void CodeCompleteWindow::ResizeAndPositionListBox()
{
diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx
index 5764f7ad902c..d7064e9d2485 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -99,10 +99,6 @@ void LineNumberWindow::DoScroll(long nHorzScroll, long nVertScroll)
Window::Scroll(nHorzScroll, nVertScroll);
}
-long& LineNumberWindow::GetCurYOffset()
-{
- return m_nCurYOffset;
-}
bool LineNumberWindow::SyncYOffset()
{
diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx
index aae3409e5ed1..e01c078a378f 100644
--- a/basctl/source/basicide/linenumberwindow.hxx
+++ b/basctl/source/basicide/linenumberwindow.hxx
@@ -36,7 +36,7 @@ public:
void DoScroll( long nHorzScroll, long nVertScroll );
bool SyncYOffset();
- long& GetCurYOffset();
+ long& GetCurYOffset() { return m_nCurYOffset;}
int GetWidth() { return m_nWidth;}
};