summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basicbox.cxx7
-rw-r--r--basctl/source/basicide/basicbox.hxx4
-rw-r--r--basctl/source/basicide/baside2.hxx2
-rw-r--r--basctl/source/basicide/bastypes.cxx4
-rw-r--r--basctl/source/inc/bastypes.hxx3
5 files changed, 6 insertions, 14 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx
index 78518d108792..c515c23bed48 100644
--- a/basctl/source/basicide/basicbox.cxx
+++ b/basctl/source/basicide/basicbox.cxx
@@ -67,7 +67,7 @@ void LibBoxControl::StateChanged( sal_uInt16, SfxItemState eState, const SfxPool
VclPtr<vcl::Window> LibBoxControl::CreateItemWindow( vcl::Window *pParent )
{
- return VclPtr<LibBox>::Create( pParent, m_xFrame );
+ return VclPtr<LibBox>::Create( pParent );
}
@@ -133,9 +133,8 @@ void DocListenerBox::onDocumentModeChanged( const ScriptDocument& /*_rDocument*/
// not interested in
}
-LibBox::LibBox( vcl::Window* pParent, const uno::Reference< frame::XFrame >& rFrame ) :
- DocListenerBox( pParent ),
- m_xFrame( rFrame )
+LibBox::LibBox( vcl::Window* pParent ) :
+ DocListenerBox( pParent )
{
FillBox();
bIgnoreSelect = true; // do not yet transfer select of 0
diff --git a/basctl/source/basicide/basicbox.hxx b/basctl/source/basicide/basicbox.hxx
index 91027417acdc..77f86429c3d8 100644
--- a/basctl/source/basicide/basicbox.hxx
+++ b/basctl/source/basicide/basicbox.hxx
@@ -77,7 +77,6 @@ private:
OUString aCurText;
bool bIgnoreSelect;
bool bFillBox;
- css::uno::Reference< css::frame::XFrame > m_xFrame;
static void ReleaseFocus();
void InsertEntries( const ScriptDocument& rDocument, LibraryLocation eLocation );
@@ -93,8 +92,7 @@ protected:
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
public:
- LibBox( vcl::Window* pParent,
- const css::uno::Reference< css::frame::XFrame >& rFrame );
+ LibBox( vcl::Window* pParent );
virtual ~LibBox();
virtual void dispose() override;
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 94b2f18c67b1..72e617df71c0 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -534,8 +534,6 @@ public:
class UnoTypeCodeCompletetor
{
private:
- css::uno::Reference< css::lang::XMultiServiceFactory > xFactory;
- css::uno::Reference< css::reflection::XIdlReflection > xRefl;
css::uno::Reference< css::reflection::XIdlClass > xClass;
bool bCanComplete;
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 4d0da3c271cd..32175e2e632f 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -732,7 +732,7 @@ void LibInfos::InsertInfo (
{
Key aKey(rDocument, rLibName);
m_aMap.erase(aKey);
- m_aMap.insert(Map::value_type(aKey, Item(rDocument, rCurrentName, eCurrentType)));
+ m_aMap.insert(Map::value_type(aKey, Item(rCurrentName, eCurrentType)));
}
void LibInfos::RemoveInfoFor (ScriptDocument const& rDocument)
@@ -771,11 +771,9 @@ size_t LibInfos::Key::Hash::operator () (Key const& rKey) const
}
LibInfos::Item::Item (
- ScriptDocument const& rDocument,
OUString const& rCurrentName,
ItemType eCurrentType
) :
- m_aDocument(rDocument),
m_aCurrentName(rCurrentName),
m_eCurrentType(eCurrentType)
{ }
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index d09a0cc9ea2d..8b1e06b4157b 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -272,12 +272,11 @@ public:
class Item
{
private:
- ScriptDocument m_aDocument;
OUString m_aCurrentName;
ItemType m_eCurrentType;
public:
- Item (ScriptDocument const&, OUString const& rCurrentName, ItemType eCurrentType);
+ Item (OUString const& rCurrentName, ItemType eCurrentType);
~Item ();
const OUString& GetCurrentName() const { return m_aCurrentName; }
ItemType GetCurrentType() const { return m_eCurrentType; }