diff options
-rw-r--r-- | tools/inc/tools/errinf.hxx | 19 | ||||
-rw-r--r-- | tools/source/ref/errinf.cxx | 14 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 34 deletions
diff --git a/tools/inc/tools/errinf.hxx b/tools/inc/tools/errinf.hxx index 0b08d38592c8..951fcfe938ff 100644 --- a/tools/inc/tools/errinf.hxx +++ b/tools/inc/tools/errinf.hxx @@ -85,25 +85,6 @@ public: }; -// --------------------- -// - StandardErrorInfo - -// --------------------- - -class StandardErrorInfo : public DynamicErrorInfo -{ -private: - sal_uIntPtr lExtId; - -public: - TYPEINFO(); - - StandardErrorInfo( sal_uIntPtr lUserId, sal_uIntPtr lExtId, - sal_uInt16 nFlags = 0); - sal_uIntPtr GetExtendedErrorCode() const { return lExtId; } - -}; - - // ------------------- // - StringErrorInfo - // ------------------- diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx index d47dc7586d0a..cc8a18ce754f 100644 --- a/tools/source/ref/errinf.cxx +++ b/tools/source/ref/errinf.cxx @@ -138,7 +138,6 @@ void EDcr_Impl::UnRegisterEDcr(DynamicErrorInfo *pDcr) TYPEINIT0(ErrorInfo); TYPEINIT1(DynamicErrorInfo, ErrorInfo); -TYPEINIT1(StandardErrorInfo, DynamicErrorInfo); TYPEINIT1(StringErrorInfo, DynamicErrorInfo); TYPEINIT1(TwoStringErrorInfo, DynamicErrorInfo); TYPEINIT1(MessageInfo, DynamicErrorInfo); @@ -188,13 +187,6 @@ sal_uInt16 DynamicErrorInfo::GetDialogMask() const } -StandardErrorInfo::StandardErrorInfo( - sal_uIntPtr UserId, sal_uIntPtr lArgExtId, sal_uInt16 nFlags) -: DynamicErrorInfo(UserId, nFlags), lExtId(lArgExtId) -{ -} - - StringErrorInfo::StringErrorInfo( sal_uIntPtr UserId, const String& aStringP, sal_uInt16 nFlags) : DynamicErrorInfo(UserId, nFlags), aString(aStringP) @@ -444,12 +436,6 @@ sal_Bool SimpleErrorHandler::CreateString( aStr.append(RTL_CONSTASCII_STRINGPARAM("\nDId ")); aStr.append(static_cast<sal_Int32>(*pDyn)); } - StandardErrorInfo *pStd=PTR_CAST(StandardErrorInfo,pInfo); - if(pStd) - { - aStr.append(RTL_CONSTASCII_STRINGPARAM("\nXId ")); - aStr.append(static_cast<sal_Int32>(pStd->GetExtendedErrorCode())); - } rStr = rtl::OStringToOUString(aStr.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US); return sal_True; diff --git a/unusedcode.easy b/unusedcode.easy index 51141594dd3a..dd5ae8124789 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -832,7 +832,6 @@ SrchAttrItemList::Replace(SearchAttrItem const&, unsigned short) SrchAttrItemList::Replace(SearchAttrItem const*, unsigned short, unsigned short) SrchAttrItemList::_ForEach(unsigned short, unsigned short, unsigned char (*)(SearchAttrItem const&, void*), void*) StackWindow::LinkStubButtonHdl(void*, void*) -StandardErrorInfo::StandardErrorInfo(unsigned long, unsigned long, unsigned short) StatusBar::CopyItems(StatusBar const&) StatusBar::GetItemBits(unsigned short) const StatusBar::GetItemData(unsigned short) const |