diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-26 11:38:00 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-27 13:32:40 +0200 |
commit | b22adb4940fe86f33732be0a1305ccb71f2d0ea9 (patch) | |
tree | 7ca01bb5e9ebfefd9755aebb360a8e7e68b4b624 | |
parent | d8fd07188626dc91dac2a8a22e35cfafce3ea969 (diff) |
Remove commented out code
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
-rw-r--r-- | dtrans/source/cnttype/wbench/testcnttype.cxx | 43 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 6 | ||||
-rw-r--r-- | framework/source/inc/loadenv/loadenv.hxx | 24 | ||||
-rw-r--r-- | svtools/source/control/ruler.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/dialog.cxx | 17 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsecurity/sigstruct.hxx | 11 |
6 files changed, 0 insertions, 107 deletions
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx index 7c3f3bf93d97..943a57c78551 100644 --- a/dtrans/source/cnttype/wbench/testcnttype.cxx +++ b/dtrans/source/cnttype/wbench/testcnttype.cxx @@ -54,49 +54,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; 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& ) - { - - } -} -*/ - //---------------------------------------------------------------- // //---------------------------------------------------------------- diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index 90c0c82065c5..431053b2771f 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -302,12 +302,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck ) // merge services list (previously configured to be listed first). 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; } diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index 59bad3c01fb4..9ed683cdf887 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.hxx @@ -386,31 +386,7 @@ class LoadEnv : private ThreadHelpBase //_______________________________________ /** TODO document me ... */ 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 diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index a50e4650c5b3..453dadea15ab 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -1845,12 +1845,6 @@ void Ruler::ImplDrag( const Point& rPos ) Drag(); // Und neu ausgeben (zeitverzoegert) -/* - mnUpdateFlags |= RULER_UPDATE_DRAW; - if ( mnUpdateEvtId ) - Application::RemoveUserEvent( mnUpdateEvtId ); - mnUpdateEvtId = Application::PostUserEvent( LINK( this, Ruler, ImplUpdateHdl ), NULL ); -*/ ImplDraw(); // Daten wieder wie vor dem Cancel herstellen diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 598a723eadec..c284d3475bbc 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -315,23 +315,6 @@ void Dialog::ImplInit( Window* pParent, WinBits nStyle ) else if( pParent == DIALOG_NO_PARENT ) 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) || (pParent->mpWindowImpl->mpFrameData->mbNeedSysWindow && !(nSysWinMode & SYSTEMWINDOW_MODE_NOAUTOMODE)) || diff --git a/xmlsecurity/inc/xmlsecurity/sigstruct.hxx b/xmlsecurity/inc/xmlsecurity/sigstruct.hxx index e87e595bc2de..d763a68e2c05 100644 --- a/xmlsecurity/inc/xmlsecurity/sigstruct.hxx +++ b/xmlsecurity/inc/xmlsecurity/sigstruct.hxx @@ -31,17 +31,6 @@ #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 */ #define TYPE_SAMEDOCUMENT_REFERENCE 1 |