Remove commented out code
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
This commit is contained in:
@@ -54,49 +54,6 @@ using namespace ::com::sun::star::uno;
|
|||||||
using namespace ::com::sun::star::lang;
|
using namespace ::com::sun::star::lang;
|
||||||
using namespace ::com::sun::star::container;
|
using namespace ::com::sun::star::container;
|
||||||
|
|
||||||
//------------------------------------------------------------
|
|
||||||
// globales
|
|
||||||
//------------------------------------------------------------
|
|
||||||
|
|
||||||
//################################################################
|
|
||||||
|
|
||||||
/*
|
|
||||||
void CheckMimeContentType( const OUString& aCntType, const OUString& aType, const OUString& aSubtype, sal_Int32 nParams )
|
|
||||||
{
|
|
||||||
|
|
||||||
Reference< XMimeContentType > xMimeCntType = xMCntTypeFactory->createMimeContentType( aCntType );
|
|
||||||
|
|
||||||
OSL_ASSERT( aType == xMimeCntType->getMediaType ( ) );
|
|
||||||
OSL_ASSERT( aSubtype == xMimeCntType->getMediaSubtype ( ) );
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Sequence< OUString > seqParam = xMimeCntType->getParameters( );
|
|
||||||
OSL_ASSERT( seqParam.getLength( ) == nParams );
|
|
||||||
|
|
||||||
OUString param;
|
|
||||||
OUString pvalue;
|
|
||||||
for ( sal_Int32 i = 0; i < seqParam.getLength( ); i++ )
|
|
||||||
{
|
|
||||||
param = seqParam[i];
|
|
||||||
OSL_ASSERT( xMimeCntType->hasParameter( param ) );
|
|
||||||
|
|
||||||
pvalue = xMimeCntType->getParameterValue( param );
|
|
||||||
}
|
|
||||||
|
|
||||||
pvalue = xMimeCntType->getParameterValue( OUString("aparam") );
|
|
||||||
}
|
|
||||||
catch( IllegalArgumentException& )
|
|
||||||
{
|
|
||||||
printf( "FAILED: Invalid Mime Contenttype detected\n" );
|
|
||||||
}
|
|
||||||
catch( NoSuchElementException& )
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
//
|
//
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
@@ -302,12 +302,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
|
|||||||
// merge services list (previously configured to be listed first).
|
// merge services list (previously configured to be listed first).
|
||||||
aCfgSvcs = lcl_MergeSeq( aCfgSvcs, aNewSvcs );
|
aCfgSvcs = lcl_MergeSeq( aCfgSvcs, aNewSvcs );
|
||||||
|
|
||||||
/*
|
|
||||||
// there is at most one Hyphenator per language allowed
|
|
||||||
// to be configured, thus we only use the first one found.
|
|
||||||
if (k == 2 && aCfgSvcs.getLength() > 1)
|
|
||||||
aCfgSvcs.realloc(1);
|
|
||||||
*/
|
|
||||||
aCurSvcs[k][ aCfgLocaleStr ] = aCfgSvcs;
|
aCurSvcs[k][ aCfgLocaleStr ] = aCfgSvcs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -386,31 +386,7 @@ class LoadEnv : private ThreadHelpBase
|
|||||||
//_______________________________________
|
//_______________________________________
|
||||||
/** TODO document me ... */
|
/** TODO document me ... */
|
||||||
virtual css::uno::Reference< css::lang::XComponent > getTargetComponent() const;
|
virtual css::uno::Reference< css::lang::XComponent > getTargetComponent() const;
|
||||||
/*
|
|
||||||
//___________________________________________
|
|
||||||
// helper uno interface!
|
|
||||||
// You have to use the native interface only!
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//_______________________________________
|
|
||||||
// frame.XLoadEventListener
|
|
||||||
virtual void SAL_CALL loadFinished(const css::uno::Reference< css::frame::XFrameLoader >& xLoader)
|
|
||||||
throw(css::uno::RuntimeException);
|
|
||||||
|
|
||||||
virtual void SAL_CALL loadCancelled(const css::uno::Reference< css::frame::XFrameLoader >& xLoader)
|
|
||||||
throw(css::uno::RuntimeException);
|
|
||||||
|
|
||||||
//_______________________________________
|
|
||||||
// frame.XDispatchResultListener
|
|
||||||
virtual void SAL_CALL dispatchFinished(const css::frame::DispatchResultEvent& aEvent)
|
|
||||||
throw(css::uno::RuntimeException);
|
|
||||||
|
|
||||||
//_______________________________________
|
|
||||||
// lang.XEventListener
|
|
||||||
virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
|
|
||||||
throw(css::uno::RuntimeException);
|
|
||||||
*/
|
|
||||||
|
|
||||||
//___________________________________________
|
//___________________________________________
|
||||||
// static interface
|
// static interface
|
||||||
|
@@ -1845,12 +1845,6 @@ void Ruler::ImplDrag( const Point& rPos )
|
|||||||
Drag();
|
Drag();
|
||||||
|
|
||||||
// Und neu ausgeben (zeitverzoegert)
|
// Und neu ausgeben (zeitverzoegert)
|
||||||
/*
|
|
||||||
mnUpdateFlags |= RULER_UPDATE_DRAW;
|
|
||||||
if ( mnUpdateEvtId )
|
|
||||||
Application::RemoveUserEvent( mnUpdateEvtId );
|
|
||||||
mnUpdateEvtId = Application::PostUserEvent( LINK( this, Ruler, ImplUpdateHdl ), NULL );
|
|
||||||
*/
|
|
||||||
ImplDraw();
|
ImplDraw();
|
||||||
|
|
||||||
// Daten wieder wie vor dem Cancel herstellen
|
// Daten wieder wie vor dem Cancel herstellen
|
||||||
|
@@ -315,23 +315,6 @@ void Dialog::ImplInit( Window* pParent, WinBits nStyle )
|
|||||||
else if( pParent == DIALOG_NO_PARENT )
|
else if( pParent == DIALOG_NO_PARENT )
|
||||||
pParent = NULL;
|
pParent = NULL;
|
||||||
|
|
||||||
/*
|
|
||||||
// Now, all Dialogs are per default system windows !!!
|
|
||||||
if ( pParent && !(nSysWinMode & SYSTEMWINDOW_MODE_NOAUTOMODE) )
|
|
||||||
{
|
|
||||||
if ( !pParent->mpWindowImpl->mpFrameWindow->IsVisible() )
|
|
||||||
pParent = NULL;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ( pParent->mpWindowImpl->mpFrameWindow->IsDialog() )
|
|
||||||
{
|
|
||||||
Size aOutSize = pParent->mpWindowImpl->mpFrameWindow->GetOutputSizePixel();
|
|
||||||
if ( (aOutSize.Width() < 210) ||(aOutSize.Height() < 160) )
|
|
||||||
nStyle |= WB_SYSTEMWINDOW;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if ( !pParent || (nStyle & WB_SYSTEMWINDOW) ||
|
if ( !pParent || (nStyle & WB_SYSTEMWINDOW) ||
|
||||||
(pParent->mpWindowImpl->mpFrameData->mbNeedSysWindow && !(nSysWinMode & SYSTEMWINDOW_MODE_NOAUTOMODE)) ||
|
(pParent->mpWindowImpl->mpFrameData->mbNeedSysWindow && !(nSysWinMode & SYSTEMWINDOW_MODE_NOAUTOMODE)) ||
|
||||||
|
@@ -30,17 +30,6 @@
|
|||||||
#define INCLUDED_VECTOR
|
#define INCLUDED_VECTOR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* signature status
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
#define STATUS_INIT 0
|
|
||||||
#define STATUS_CREATION_SUCCEED 1
|
|
||||||
#define STATUS_CREATION_FAIL 2
|
|
||||||
#define STATUS_VERIFY_SUCCEED 3
|
|
||||||
#define STATUS_VERIFY_FAIL 4
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* type of reference
|
* type of reference
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user