diff options
-rw-r--r-- | codemaker/inc/codemaker/global.hxx | 1 | ||||
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 23 | ||||
-rw-r--r-- | sc/inc/callform.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/callform.cxx | 11 | ||||
-rw-r--r-- | svx/inc/svx/graphctl.hxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/graphctl.cxx | 21 | ||||
-rwxr-xr-x | unusedcode.easy | 3 |
7 files changed, 0 insertions, 62 deletions
diff --git a/codemaker/inc/codemaker/global.hxx b/codemaker/inc/codemaker/global.hxx index 2406305db451..3134daaefa3a 100644 --- a/codemaker/inc/codemaker/global.hxx +++ b/codemaker/inc/codemaker/global.hxx @@ -87,7 +87,6 @@ class FileStream { public: FileStream(); - FileStream(const ::rtl::OString& name, FileAccessMode nMode = FAM_READWRITE); virtual ~FileStream(); sal_Bool isValid(); diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index af87ee87469c..ebcd3c0e10d8 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -295,29 +295,6 @@ FileStream::FileStream() { } -FileStream::FileStream(const OString& name, FileAccessMode mode) - : m_file(NULL) -{ - if ( !name.isEmpty() ) - { - OUString sUrl(convertToFileUrl(name)); -#ifdef SAL_UNX - sal_uInt64 uAttr = osl_File_Attribute_OwnWrite | - osl_File_Attribute_OwnRead | - osl_File_Attribute_GrpWrite | - osl_File_Attribute_GrpRead | - osl_File_Attribute_OthRead; - if (osl_openFile(sUrl.pData, &m_file, checkAccessMode(mode)) == osl_File_E_None && - osl_setFileAttributes(sUrl.pData, uAttr) == osl_File_E_None) -#else - if (osl_openFile(sUrl.pData, &m_file, checkAccessMode(mode)) == osl_File_E_None) -#endif - m_name = name; - else - m_file = NULL; - } -} - FileStream::~FileStream() { if ( isValid() ) diff --git a/sc/inc/callform.hxx b/sc/inc/callform.hxx index 46348bdf4542..023ee45f62ba 100644 --- a/sc/inc/callform.hxx +++ b/sc/inc/callform.hxx @@ -69,8 +69,6 @@ class FuncData sal_uInt16 nParamCount; ParamType eAsyncType; ParamType eParamType[MAXFUNCPARAM]; -private: - FuncData(const rtl::OUString& rIName); public: FuncData(const ModuleData*pModule, const rtl::OUString& rIName, diff --git a/sc/source/core/tool/callform.cxx b/sc/source/core/tool/callform.cxx index 4fa3d1d015ee..3f8ad8b86d44 100644 --- a/sc/source/core/tool/callform.cxx +++ b/sc/source/core/tool/callform.cxx @@ -101,17 +101,6 @@ public: void FreeInstance() { delete pInstance; pInstance = 0; } }; -FuncData::FuncData(const rtl::OUString& rIName) : - pModuleData (NULL), - aInternalName (rIName), - nNumber (0), - nParamCount (0), - eAsyncType (NONE) -{ - for (sal_uInt16 i = 0; i < MAXFUNCPARAM; i++) - eParamType[i] = PTR_DOUBLE; -} - //------------------------------------------------------------------------ FuncData::FuncData(const ModuleData*pModule, diff --git a/svx/inc/svx/graphctl.hxx b/svx/inc/svx/graphctl.hxx index b2352103d566..21c376c0a15a 100644 --- a/svx/inc/svx/graphctl.hxx +++ b/svx/inc/svx/graphctl.hxx @@ -91,7 +91,6 @@ protected: public: - GraphCtrl( Window* pParent, const WinBits nWinBits = 0 ); GraphCtrl( Window* pParent, const ResId& rResId ); ~GraphCtrl(); diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index d8f3f9facc60..019cf610fcc2 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -63,27 +63,6 @@ void GraphCtrlUserCall::Changed( const SdrObject& rObj, SdrUserCallType eType, c } } -GraphCtrl::GraphCtrl( Window* pParent, const WinBits nWinBits ) : - Control ( pParent, nWinBits ), - aMap100 ( MAP_100TH_MM ), - eObjKind ( OBJ_NONE ), - nPolyEdit ( 0 ), - bEditMode ( sal_False ), - bSdrMode ( sal_False ), - mpAccContext ( NULL ), - pModel ( NULL ), - pView ( NULL ) -{ - pUserCall = new GraphCtrlUserCall( *this ); - aUpdateTimer.SetTimeout( 200 ); - aUpdateTimer.SetTimeoutHdl( LINK( this, GraphCtrl, UpdateHdl ) ); - aUpdateTimer.Start(); - - SetWinStyle( nWinBits ); - - EnableRTL( sal_False ); -} - GraphCtrl::GraphCtrl( Window* pParent, const ResId& rResId ) : Control ( pParent, rResId ), aMap100 ( MAP_100TH_MM ), diff --git a/unusedcode.easy b/unusedcode.easy index 7b0a3b7de48e..e9157edf34d2 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -5,7 +5,6 @@ CharPosArray::Replace(int const&, unsigned short) CharPosArray::Replace(int const*, unsigned short, unsigned short) CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*) Dialog::Dialog(Window*, ResId const&) -FileStream::FileStream(rtl::OString const&, FileAccessMode) FmEntryDataArray::DeleteAndDestroy(unsigned short, unsigned short) FmEntryDataArray::Insert(FmEntryData* const&, unsigned short&) FmEntryDataArray::Insert(FmEntryData* const*, unsigned short) @@ -16,8 +15,6 @@ FmFormObj::getType() const FmPropBrwMgr::GetChildWindowId() FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, int, bool) FontStyleBox::FontStyleBox(Window*, long) -FuncData::FuncData(rtl::OUString const&) -GraphCtrl::GraphCtrl(Window*, long) HTMLControls::Insert(HTMLControl const*&, unsigned short&) HTMLControls::Insert(HTMLControl const**, unsigned short) HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short) |