summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/bibbeam.cxx
diff options
context:
space:
mode:
authorSven Wehner <wehner@informatik.uni-freiburg.de>2014-01-28 18:14:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-01-30 11:35:38 +0000
commit2c932dcd77a287ea882dec8e3741699065f183e3 (patch)
treee915bff0ac655396395151f2727644ea94c150ce /extensions/source/bibliography/bibbeam.cxx
parent0d57871daaed1de47199e56e869f8a89350f80f3 (diff)
fdo#39468 Translate German comments
Also remove ASCII art, and fix minor typos. Note: I left the unknown word "Stati" as is. This could be an incorrect plural for "status". Change-Id: Ic19407c0ebb3aba3ebba4940b2511ba5b8dc825e Reviewed-on: https://gerrit.libreoffice.org/7716 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/bibliography/bibbeam.cxx')
-rw-r--r--extensions/source/bibliography/bibbeam.cxx34
1 files changed, 7 insertions, 27 deletions
diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx
index c4619f5ae2f8..e3a86ed293d2 100644
--- a/extensions/source/bibliography/bibbeam.cxx
+++ b/extensions/source/bibliography/bibbeam.cxx
@@ -42,10 +42,8 @@ using namespace ::com::sun::star::uno;
#define ID_TOOLBAR 1
#define ID_GRIDWIN 2
-//.........................................................................
namespace bib
{
-//.........................................................................
using namespace ::com::sun::star::uno;
@@ -69,9 +67,7 @@ namespace bib
}
}
- //=====================================================================
- //= BibGridwin
- //=====================================================================
+
class BibGridwin
:public Window //DockingWindow
{
@@ -80,7 +76,7 @@ namespace bib
Reference< awt::XControlModel > m_xGridModel;
Reference< awt::XControl > m_xControl;
Reference< awt::XControlContainer > m_xControlContainer;
- // #100312# ---------
+ // #100312#
Reference< frame::XDispatchProviderInterception> m_xDispatchProviderInterception;
protected:
@@ -96,13 +92,12 @@ namespace bib
void disposeGridWin();
const Reference< awt::XControlContainer >& getControlContainer() const { return m_xControlContainer; }
- // #100312# ---------
+ // #100312#
const Reference< frame::XDispatchProviderInterception>& getDispatchProviderInterception() const { return m_xDispatchProviderInterception; }
virtual void GetFocus();
};
- //---------------------------------------------------------------------
BibGridwin::BibGridwin( Window* _pParent, WinBits _nStyle ) : Window( _pParent, _nStyle )
{
m_xControlContainer = VCLUnoHelper::CreateControlContainer(this);
@@ -110,7 +105,6 @@ namespace bib
AddToTaskPaneList( this );
}
- //---------------------------------------------------------------------
BibGridwin::~BibGridwin()
{
RemoveFromTaskPaneList( this );
@@ -118,7 +112,6 @@ namespace bib
disposeGridWin();
}
- //---------------------------------------------------------------------
void BibGridwin::Resize()
{
if(m_xGridWin.is())
@@ -128,7 +121,6 @@ namespace bib
}
}
- //---------------------------------------------------------------------
void BibGridwin::createGridWin(const uno::Reference< awt::XControlModel > & xGModel)
{
m_xGridModel = xGModel;
@@ -153,14 +145,14 @@ namespace bib
if ( m_xControl.is() )
{
- // Peer als Child zu dem FrameWindow
+ // Peer as Child to the FrameWindow
m_xControlContainer->addControl("GridControl", m_xControl);
m_xGridWin=uno::Reference< awt::XWindow > (m_xControl, UNO_QUERY );
- // #100312# -----
+ // #100312#
m_xDispatchProviderInterception=uno::Reference< frame::XDispatchProviderInterception > (m_xControl, UNO_QUERY );
m_xGridWin->setVisible( sal_True );
m_xControl->setDesignMode( sal_True );
- // initially switch on the desing mode - switch it off _after_ loading the form
+ // initially switch on the design mode - switch it off _after_ loading the form
::Size aSize = GetOutputSizePixel();
m_xGridWin->setPosSize(0, 0, aSize.Width(),aSize.Height(), awt::PosSize::POSSIZE);
@@ -169,7 +161,6 @@ namespace bib
}
}
- //---------------------------------------------------------------------
void BibGridwin::disposeGridWin()
{
if ( m_xControl.is() )
@@ -183,14 +174,12 @@ namespace bib
}
}
- //---------------------------------------------------------------------
void BibGridwin::GetFocus()
{
if(m_xGridWin.is())
m_xGridWin->setFocus();
}
- //---------------------------------------------------------------------
BibBeamer::BibBeamer( Window* _pParent, BibDataManager* _pDM, WinBits _nStyle )
:BibSplitWindow( _pParent, _nStyle | WB_NOSPLITDRAW )
,pDatMan( _pDM )
@@ -204,7 +193,6 @@ namespace bib
connectForm( pDatMan );
}
- //---------------------------------------------------------------------
BibBeamer::~BibBeamer()
{
if ( isFormConnected() )
@@ -230,7 +218,6 @@ namespace bib
}
- //---------------------------------------------------------------------
void BibBeamer::createToolBar()
{
pToolBar= new BibToolBar(this, LINK( this, BibBeamer, RecalcLayout_Impl ));
@@ -240,7 +227,6 @@ namespace bib
pToolBar->SetXController( m_xController );
}
- //---------------------------------------------------------------------
void BibBeamer::createGridWin()
{
pGridWin = new BibGridwin(this,0);
@@ -250,7 +236,6 @@ namespace bib
pGridWin->createGridWin( pDatMan->updateGridModel() );
}
- //---------------------------------------------------------------------
Reference< awt::XControlContainer > BibBeamer::getControlContainer()
{
Reference< awt::XControlContainer > xReturn;
@@ -259,7 +244,7 @@ namespace bib
return xReturn;
}
- // #100312# -----------------------------------------------------------
+ // #100312#
Reference< frame::XDispatchProviderInterception > BibBeamer::getDispatchProviderInterception()
{
Reference< frame::XDispatchProviderInterception > xReturn;
@@ -268,7 +253,6 @@ namespace bib
return xReturn;
}
- //---------------------------------------------------------------------
void BibBeamer::SetXController(const uno::Reference< frame::XController > & xCtr)
{
m_xController = xCtr;
@@ -278,14 +262,12 @@ namespace bib
}
- //---------------------------------------------------------------------
void BibBeamer::GetFocus()
{
if( pGridWin )
pGridWin->GrabFocus();
}
- //---------------------------------------------------------------------
IMPL_LINK( BibBeamer, RecalcLayout_Impl, void*, /*pVoid*/ )
{
long nHeight = pToolBar->GetSizePixel().Height();
@@ -293,8 +275,6 @@ namespace bib
return 0L;
}
-//.........................................................................
} // namespace bib
-//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */