Remove dead code. Mostly unused namespaces

This commit is contained in:
Thomas Arnhold 2011-02-07 23:31:30 +01:00
parent 4387ebc208
commit 06fc1ee4c4
47 changed files with 4 additions and 142 deletions

View file

@ -39,7 +39,6 @@ using namespace connectivity;
using namespace connectivity::sdbcx;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -43,7 +43,6 @@ using namespace connectivity;
using namespace connectivity::sdbcx;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -40,7 +40,6 @@
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -43,7 +43,6 @@ using namespace connectivity;
using namespace connectivity::sdbcx;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -121,8 +121,6 @@ namespace dbtools
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::task;
// using namespace cppu;
// using namespace osl;
//==============================================================================
//==============================================================================

View file

@ -43,14 +43,11 @@
#include <comphelper/property.hxx>
using namespace ::comphelper;
using namespace connectivity::adabas;
using namespace connectivity::sdbcx;
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -35,7 +35,6 @@
using namespace connectivity::adabas;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
@ -131,11 +130,7 @@ Reference< XResultSet > OAdabasDatabaseMetaData::impl_getTypeInfo_throw( )
switch((sal_Int32)aRow[2]->getValue())
{
case DataType::FLOAT:
// aRow[3] = sal_Int32(15);
// break;
case DataType::REAL:
// aRow[3] = sal_Int32(16);
// break;
case DataType::DOUBLE:
aRow[2]->setValue(DataType::DOUBLE);
aRow[3]->setValue(sal_Int32(18));

View file

@ -39,7 +39,6 @@
using namespace connectivity::adabas;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -40,7 +40,6 @@ using namespace connectivity;
using namespace connectivity::adabas;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -38,7 +38,6 @@
using namespace connectivity::adabas;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -44,7 +44,6 @@ using namespace connectivity::adabas;
using namespace connectivity::sdbcx;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -44,7 +44,6 @@ using namespace connectivity;
using namespace connectivity::adabas;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -50,8 +50,6 @@ using namespace com::sun::star::beans;
using namespace com::sun::star::sdbc;
// using namespace connectivity;
ODatabaseMetaData::ODatabaseMetaData(OConnection* _pCon)
: ::connectivity::ODatabaseMetaDataBase(_pCon,_pCon->getConnectionInfo())
,m_pADOConnection(_pCon->getConnection())
@ -98,7 +96,6 @@ sal_Bool ODatabaseMetaData::getBoolProperty(const ::rtl::OUString& _aProperty)
Reference< XResultSet > ODatabaseMetaData::impl_getTypeInfo_throw( )
{
ADORecordset *pRecordset = m_pADOConnection->getTypeInfo();
// ADOS::ThrowException(*m_pADOConnection,*this);
ODatabaseMetaDataResultSet* pResult = new ODatabaseMetaDataResultSet(pRecordset);
pResult->setTypeInfoMap(ADOS::isJetEngine(m_pConnection->getEngineType()));

View file

@ -44,8 +44,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::sdbc;
using namespace com::sun::star::sdbcx;
// using namespace com::sun::star::container;
// using namespace com::sun::star::util;
//------------------------------------------------------------------------------
OCalcResultSet::OCalcResultSet( OStatement_Base* pStmt,connectivity::OSQLParseTreeIterator& _aSQLIterator)
: file::OResultSet(pStmt,_aSQLIterator)

View file

@ -45,8 +45,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::sdbc;
using namespace com::sun::star::sdbcx;
// using namespace com::sun::star::container;
// using namespace com::sun::star::util;
//------------------------------------------------------------------------------
OEvoabResultSet::OEvoabResultSet( OStatement_Base* pStmt,connectivity::OSQLParseTreeIterator& _aSQLIterator)
: file::OResultSet(pStmt,_aSQLIterator)

View file

@ -43,13 +43,8 @@
using namespace ::comphelper;
using namespace connectivity;
using namespace connectivity::file;
//using namespace ::com::sun::star::uno;
//using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::sdb;
//using namespace ::com::sun::star::container;
//using namespace ::com::sun::star::beans;
//using namespace ::com::sun::star::sdbcx;
TYPEINIT0(OCode);
TYPEINIT1(OOperand, OCode);

View file

@ -49,7 +49,6 @@ using namespace ::comphelper;
using namespace connectivity;
using namespace connectivity::flat;
// using namespace connectivity::file;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::sdbcx;

View file

@ -45,8 +45,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::sdbc;
using namespace com::sun::star::sdbcx;
// using namespace com::sun::star::container;
// using namespace com::sun::star::util;
//------------------------------------------------------------------------------
OFlatResultSet::OFlatResultSet( OStatement_Base* pStmt,connectivity::OSQLParseTreeIterator& _aSQLIterator)
: file::OResultSet(pStmt,_aSQLIterator)

View file

@ -40,7 +40,6 @@
// -------------------------------------------------------------------------
using namespace connectivity;
using namespace connectivity::hsqldb;
//using namespace connectivity::sdbcx;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::sdbcx;

View file

@ -44,7 +44,6 @@ using namespace connectivity;
using namespace connectivity::hsqldb;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -44,7 +44,6 @@
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -32,10 +32,10 @@
#include "java/lang/Boolean.hxx"
#include "java/tools.hxx"
#include "java/lang/String.hxx"
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -65,7 +65,6 @@ using namespace ::comphelper;
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -36,7 +36,6 @@
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -34,7 +34,6 @@
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -41,7 +41,6 @@
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -49,7 +49,6 @@ using namespace connectivity::sdbcx;
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -44,7 +44,6 @@ using namespace connectivity;
using namespace connectivity::mysql;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;

View file

@ -3857,7 +3857,6 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::util;
using namespace ::osl;
using namespace ::dbtools;
// using namespace connectivity;
//============================================================
//= a helper for static ascii pseudo-unicode strings
@ -3869,7 +3868,6 @@ struct _ConstAsciiString_
sal_Char const* str;
operator rtl::OUString () const { return rtl::OUString(str, length, RTL_TEXTENCODING_ASCII_US); }
// operator ::rtl::OUString () const { return ::rtl::OUString(str, length, RTL_TEXTENCODING_ASCII_US); }
operator const sal_Char * () const { return str; }
operator ::rtl::OString() const { return str; }
};

View file

@ -80,7 +80,6 @@ using namespace com::sun::star::registry;
using namespace com::sun::star::ucb;
using namespace com::sun::star::beans;
//using namespace com::sun::star;
using namespace connectivity;
using namespace com::sun::star::sdb;
using namespace com::sun::star::sdbc;
@ -103,7 +102,6 @@ void printColumns( Reference<XResultSet> &xRes )
printf( "ColumnCount = %d\n", xMeta->getColumnCount());
for(sal_Int32 i=1;i<=xMeta->getColumnCount();++i)
{
// printf(aPat.getStr(), xMeta->getColumnName(i).getStr());
const char *str = OUtoCStr(xMeta->getColumnName(i));
printf( aPat, str );
}

View file

@ -85,7 +85,6 @@ using namespace com::sun::star::registry;
using namespace com::sun::star::ucb;
using namespace com::sun::star::beans;
//using namespace com::sun::star;
using namespace connectivity;
using namespace com::sun::star::sdb;
using namespace com::sun::star::sdbc;

View file

@ -55,7 +55,6 @@
#include "misc.hxx"
#include "defs.hxx"
//using namespace utl;
using namespace osl;
using namespace rtl;
using namespace com::sun::star;
@ -544,8 +543,6 @@ uno::Sequence< OUString > SAL_CALL ConvDicList::queryConversions(
{
MutexGuard aGuard( GetLinguMutex() );
/*INT16 nLang = LocaleToLanguage( rLocale );*/
INT32 nCount = 0;
uno::Sequence< OUString > aRes( 20 );
OUString *pRes = aRes.getArray();

View file

@ -60,7 +60,6 @@
#include "dicimp.hxx"
#include "lngopt.hxx"
//using namespace utl;
using namespace osl;
using namespace rtl;
using namespace com::sun::star;
@ -184,7 +183,6 @@ void SAL_CALL DicEvtListenerHelper::processDictionaryEvent(
|| xDicEntry.is(),
"lng : missing dictionary entry" );
/*BOOL bActiveDicsModified = FALSE;*/
//
// evaluate DictionaryEvents and update data for next DictionaryListEvent
//

View file

@ -40,11 +40,9 @@
#include <svl/lngmisc.hxx>
#include <unotools/localedatawrapper.hxx>
//using namespace utl;
using namespace osl;
using namespace rtl;
using namespace com::sun::star;
//using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;

View file

@ -43,8 +43,6 @@
#include <lngprophelp.hxx>
//using namespace utl;
using namespace osl;
using namespace rtl;
using namespace com::sun::star;

View file

@ -35,7 +35,6 @@
#include "thesdta.hxx"
//using namespace utl;
using namespace osl;
using namespace rtl;
using namespace com::sun::star;

View file

@ -42,7 +42,6 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <osl/mutex.hxx>
//using namespace utl;
using namespace osl;
using namespace rtl;
using namespace com::sun::star;

View file

@ -108,7 +108,6 @@
#include <comphelper/uieventslogger.hxx>
#include <com/sun/star/frame/XModuleManager.hpp>
//using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::frame::status;

View file

@ -269,7 +269,6 @@ public:
UINT16 nStarDrawPreviewMasterPageNum;
// Reserven fuer kompatible Erweiterungen
//-/ SfxItemPool* pUndoItemPool;
SotStorage* pModelStorage;
SvxForbiddenCharactersTable* mpForbiddenCharactersTable;
ULONG nSwapGraphicsMode;

View file

@ -282,9 +282,6 @@ SvxFontWorkDialog::SvxFontWorkDialog( SfxBindings *pBindinx,
aTbxShadow.SetSizePixel(aSize);
aTbxShadow.SetSelectHdl( LINK(this, SvxFontWorkDialog, SelectShadowHdl_Impl) );
// aFbShadowX.SetBitmap(Bitmap(FW_RESID(RID_SVXBMP_SHADOW_XDIST)));
// aFbShadowY.SetBitmap(Bitmap(FW_RESID(RID_SVXBMP_SHADOW_YDIST)));
Link aLink = LINK(this, SvxFontWorkDialog, ModifyInputHdl_Impl);
aMtrFldDistance.SetModifyHdl( aLink );
aMtrFldTextStart.SetModifyHdl( aLink );
@ -338,22 +335,11 @@ SvxFontWorkDialog::~SvxFontWorkDialog()
DELETEZ(pCtrlItems[i]);
}
/*************************************************************************
|*
\************************************************************************/
void SvxFontWorkDialog::Zoom()
{
SfxDockingWindow::Roll();
}
/*************************************************************************
|*
|*
|*
\************************************************************************/
SfxChildAlignment SvxFontWorkDialog::CheckAlignment( SfxChildAlignment eActAlign,
SfxChildAlignment eAlign )
{
@ -604,8 +590,6 @@ void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem,
nId = TBI_SHADOW_NORMAL;
const FieldUnit eDlgUnit = rBindings.GetDispatcher()->GetModule()->GetFieldUnit();
// aFbShadowX.SetBitmap( Bitmap( ResId(RID_SVXBMP_SHADOW_XDIST, _pMgr ) ) );
//aMtrFldShadowX.SetUnit(FUNIT_MM);
aMtrFldShadowX.SetUnit( eDlgUnit );
aMtrFldShadowX.SetDecimalDigits(2);
aMtrFldShadowX.SetMin(LONG_MIN);
@ -615,8 +599,6 @@ void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem,
else
aMtrFldShadowX.SetSpinSize( 10 );
// aFbShadowY.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_YDIST, _pMgr ) ) );
//aMtrFldShadowY.SetUnit(FUNIT_MM);
aMtrFldShadowY.SetUnit( eDlgUnit );
aMtrFldShadowY.SetDecimalDigits(2);
aMtrFldShadowY.SetMin(LONG_MIN);
@ -642,14 +624,12 @@ void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem,
{
nId = TBI_SHADOW_SLANT;
// aFbShadowX.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_ANGLE, _pMgr ) ) );
aMtrFldShadowX.SetUnit(FUNIT_CUSTOM);
aMtrFldShadowX.SetDecimalDigits(1);
aMtrFldShadowX.SetMin(-1800);
aMtrFldShadowX.SetMax( 1800);
aMtrFldShadowX.SetSpinSize(10);
// aFbShadowY.SetBitmap( Bitmap( ResId( RID_SVXBMP_SHADOW_SIZE, _pMgr ) ) );
aMtrFldShadowY.SetUnit(FUNIT_CUSTOM);
aMtrFldShadowY.SetDecimalDigits(0);
aMtrFldShadowY.SetMin(-999);
@ -758,10 +738,6 @@ void SvxFontWorkDialog::SetShadowYVal_Impl(const XFormTextShadowYValItem* pItem)
}
}
/*************************************************************************
|*
\************************************************************************/
IMPL_LINK( SvxFontWorkDialog, SelectStyleHdl_Impl, void *, EMPTYARG )
{
USHORT nId = aTbxStyle.GetCurItemId();
@ -790,10 +766,6 @@ IMPL_LINK( SvxFontWorkDialog, SelectStyleHdl_Impl, void *, EMPTYARG )
return 0;
}
/*************************************************************************
|*
\************************************************************************/
IMPL_LINK( SvxFontWorkDialog, SelectAdjustHdl_Impl, void *, EMPTYARG )
{
USHORT nId = aTbxAdjust.GetCurItemId();
@ -821,10 +793,6 @@ IMPL_LINK( SvxFontWorkDialog, SelectAdjustHdl_Impl, void *, EMPTYARG )
return 0;
}
/*************************************************************************
|*
\************************************************************************/
IMPL_LINK( SvxFontWorkDialog, SelectShadowHdl_Impl, void *, EMPTYARG )
{
USHORT nId = aTbxShadow.GetCurItemId();
@ -865,10 +833,6 @@ IMPL_LINK( SvxFontWorkDialog, SelectShadowHdl_Impl, void *, EMPTYARG )
return 0;
}
/*************************************************************************
|*
\************************************************************************/
IMPL_LINK_INLINE_START( SvxFontWorkDialog, ModifyInputHdl_Impl, void *, EMPTYARG )
{
aInputTimer.Start();
@ -876,10 +840,6 @@ IMPL_LINK_INLINE_START( SvxFontWorkDialog, ModifyInputHdl_Impl, void *, EMPTYARG
}
IMPL_LINK_INLINE_END( SvxFontWorkDialog, ModifyInputHdl_Impl, void *, EMPTYARG )
/*************************************************************************
|*
\************************************************************************/
IMPL_LINK( SvxFontWorkDialog, InputTimoutHdl_Impl, void *, EMPTYARG )
{
// System-Metrik evtl. neu setzen
@ -934,10 +894,6 @@ IMPL_LINK( SvxFontWorkDialog, InputTimoutHdl_Impl, void *, EMPTYARG )
return 0;
}
/*************************************************************************
|*
\************************************************************************/
IMPL_LINK( SvxFontWorkDialog, FormSelectHdl_Impl, void *, EMPTYARG )
{
XFormTextStdFormItem aItem;
@ -951,25 +907,14 @@ IMPL_LINK( SvxFontWorkDialog, FormSelectHdl_Impl, void *, EMPTYARG )
return 0;
}
/*************************************************************************
|*
\************************************************************************/
IMPL_LINK( SvxFontWorkDialog, ColorSelectHdl_Impl, void *, EMPTYARG )
{
// Changed by obo. Linux-Compiler can't parse commented lines
XFormTextShadowColorItem aItem( (const String &) String(),
(const Color &) aShadowColorLB.GetSelectEntryColor() );
// XFormTextShadowColorItem aItem( String(),
// aShadowColorLB.GetSelectEntryColor() );
GetBindings().GetDispatcher()->Execute( SID_FORMTEXT_SHDWCOLOR, SFX_CALLMODE_RECORD, &aItem, 0L );
return 0;
}
/*************************************************************************
|*
\************************************************************************/
void SvxFontWorkDialog::SetColorTable(const XColorTable* pTable)
{
if ( pTable && pTable != pColorTable )
@ -980,10 +925,6 @@ void SvxFontWorkDialog::SetColorTable(const XColorTable* pTable)
}
}
/*************************************************************************
|*
\************************************************************************/
void SvxFontWorkDialog::SetActive(BOOL /*bActivate*/)
{
}
@ -1005,7 +946,6 @@ void SvxFontWorkDialog::CreateStdFormObj(SdrView& rView, SdrPageView& rPV,
Rectangle aRect;
XFormTextAdjust eAdjust = XFT_AUTOSIZE;
//-/ rOldObj.TakeAttributes(aAttr, TRUE, FALSE);
aAttr.Put(rOldObj.GetMergedItemSet());
const XFormTextStdFormItem& rOldForm = (const XFormTextStdFormItem&)
@ -1256,7 +1196,6 @@ void SvxFontWorkDialog::ApplyImageList()
aFbShadowX.SetImage( rImgLst.GetImage( TBI_SHADOW_ANGLE ) );
aFbShadowY.SetImage( rImgLst.GetImage( TBI_SHADOW_SIZE ) );
break;
// case TBI_SHADOW_NORMAL:
default:
aFbShadowX.SetImage( rImgLst.GetImage( TBI_SHADOW_XDIST ) );
aFbShadowY.SetImage( rImgLst.GetImage( TBI_SHADOW_YDIST ) );

View file

@ -35,8 +35,6 @@
using namespace fileaccess;
using namespace com::sun::star;
using namespace com::sun::star::uno;
//using namespace com::sun::star::ucb;
// Funktion for TypeConverting
@ -57,10 +55,6 @@ sal_Bool convert( shell* pShell,
xConverter = uno::Reference< script::XTypeConverter >(
pShell->m_xMultiServiceFactory->createInstance(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.script.Converter")) ), uno::UNO_QUERY );
/* DBG_ASSERT( m_xTypeConverter.is(),
"PropertyValueSet::getTypeConverter() - "
"Service 'com.sun.star.script.Converter' n/a!" );*/
}
try

View file

@ -40,9 +40,6 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmluconv.hxx>
//using namespace ::com::sun::star::text;
using ::rtl::OUString;
using ::com::sun::star::beans::PropertyValue;
using ::com::sun::star::beans::PropertyValues;

View file

@ -50,7 +50,6 @@
using namespace ::std;
//using namespace ::com::sun::star::text;
using namespace ::xmloff::token;
using ::rtl::OUString;

View file

@ -43,12 +43,8 @@ using ::rtl::OUStringBuffer;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
//using namespace ::com::sun::star::style;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::beans;
//using namespace ::com::sun::star::container;
//using namespace ::com::sun::star::lang;
//using namespace ::com::sun::star::text;
TYPEINIT1( XMLTextHeaderFooterContext, SvXMLImportContext );

View file

@ -52,7 +52,6 @@ using namespace ::com::sun::star::text;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
//using namespace ::com::sun::star::text;
using namespace ::xmloff::token;
Reference < XStyle > XMLTextMasterPageContext::Create()

View file

@ -59,11 +59,8 @@
using ::rtl::OUString;
using ::rtl::OUStringBuffer;
//using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::style;
//using namespace ::com::sun::star::container;
//using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::text;
using namespace ::xmloff::token;

View file

@ -70,7 +70,6 @@ using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
//using namespace ::com::sun::star::text;
using namespace ::xmloff::token;
static SvXMLEnumMapEntry aCategoryMap[] =