diff options
26 files changed, 2 insertions, 200 deletions
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index 39c629e03952..fabb70057c48 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -754,24 +754,6 @@ SbiExprNode* SbiExpression::VBA_Or() return pNd; } -SbiExprNode* SbiExpression::VBA_Xor() -{ - SbiExprNode* pNd = VBA_Or(); - if( m_eMode != EXPRMODE_EMPTY_PAREN ) - { - for( ;; ) - { - SbiToken eTok = pParser->Peek(); - if( eTok != XOR ) - break; - eTok = pParser->Next(); - pNd = new SbiExprNode( pParser, pNd, eTok, VBA_Or() ); - } - } - return pNd; - -} - SbiExprNode* SbiExpression::Like() { SbiExprNode* pNd = pParser->IsVBASupportOn() ? VBA_Not() : Comp(); diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx index 4be12f11543a..33ee938d91e5 100644 --- a/basic/source/inc/expr.hxx +++ b/basic/source/inc/expr.hxx @@ -191,7 +191,6 @@ protected: SbiExprNode* VBA_Not(); SbiExprNode* VBA_And(); SbiExprNode* VBA_Or(); - SbiExprNode* VBA_Xor(); SbiExprNode* Comp(); SbiExprNode* Boolean(); public: diff --git a/dbaccess/source/ui/app/AppView.hxx b/dbaccess/source/ui/app/AppView.hxx index d4fa76c35849..23c450161d22 100644 --- a/dbaccess/source/ui/app/AppView.hxx +++ b/dbaccess/source/ui/app/AppView.hxx @@ -307,8 +307,6 @@ namespace dbaui sal_Bool _bTable); SvLBoxEntry* getEntry( const Point& _aPosPixel ) const; - - DECL_LINK( SwitchHdl, Accelerator* ); }; } #endif // DBAUI_APPVIEW_HXX diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index c100d9df5652..30a0bad60579 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -161,7 +161,6 @@ OFieldDescControl::OFieldDescControl( Window* pParent, const ResId& rResId, OTab ,m_nOldVThumb( 0 ) ,m_nOldHThumb( 0 ) ,m_nWidth(50) - ,nDelayedGrabFocusEvent(0) ,m_bAdded(sal_False) ,m_bRightAligned(false) ,pActFieldDescr(NULL) @@ -211,7 +210,6 @@ OFieldDescControl::OFieldDescControl( Window* pParent, OTableDesignHelpBar* pHel ,m_nOldVThumb( 0 ) ,m_nOldHThumb( 0 ) ,m_nWidth(50) - ,nDelayedGrabFocusEvent(0) ,m_bAdded(sal_False) ,m_bRightAligned(false) ,pActFieldDescr(NULL) @@ -275,9 +273,6 @@ OFieldDescControl::~OFieldDescControl() DeactivateAggregate( tpColumnName ); DeactivateAggregate( tpType ); DeactivateAggregate( tpAutoIncrementValue ); - - if(nDelayedGrabFocusEvent) - Application::RemoveUserEvent(nDelayedGrabFocusEvent); } //------------------------------------------------------------------------------ @@ -1560,15 +1555,6 @@ void OFieldDescControl::DisplayData(OFieldDescription* pFieldDescr ) SetReadOnly( bRead ); } -//------------------------------------------------------------------------ -IMPL_LINK(OFieldDescControl, DelayedGrabFocus, Control**, ppControl) -{ - nDelayedGrabFocusEvent = 0; - if (*ppControl) - (*ppControl)->GrabFocus(); - - return 0L; -} //------------------------------------------------------------------------------ IMPL_LINK(OFieldDescControl, OnControlFocusGot, Control*, pControl ) diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx index cd038229deab..811b0a73591f 100644 --- a/dbaccess/source/ui/inc/FieldDescControl.hxx +++ b/dbaccess/source/ui/inc/FieldDescControl.hxx @@ -124,7 +124,6 @@ namespace dbaui long m_nOldHThumb; sal_Int32 m_nWidth; - sal_uLong nDelayedGrabFocusEvent; sal_Bool m_bAdded; bool m_bRightAligned; @@ -135,7 +134,6 @@ namespace dbaui DECL_LINK( FormatClickHdl, Button * ); DECL_LINK( ChangeHdl, ListBox * ); - DECL_LINK( DelayedGrabFocus, Control** ); // von ActivatePropertyField benutzt DECL_LINK( OnControlFocusLost, Control* ); DECL_LINK( OnControlFocusGot, Control* ); diff --git a/dbaccess/source/ui/inc/TableDesignView.hxx b/dbaccess/source/ui/inc/TableDesignView.hxx index 9e9784670de1..185d4005afba 100644 --- a/dbaccess/source/ui/inc/TableDesignView.hxx +++ b/dbaccess/source/ui/inc/TableDesignView.hxx @@ -114,8 +114,6 @@ namespace dbaui virtual void initialize(); void reSync(); // resync window data with realdata - - DECL_LINK( SwitchHdl, Accelerator* ); }; } #endif // DBAUI_TABLEDESIGNVIEW_HXX diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx index 13abd860cb73..e18d0d791410 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.cxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx @@ -193,7 +193,6 @@ OTableEditorCtrl::OTableEditorCtrl(Window* pWindow) ,nDeleteEvent(0) ,nInsNewRowsEvent(0) ,nInvalidateTypeEvent(0) - ,nEntryNotFoundEvent(0) ,m_eChildFocus(NONE) ,nOldDataPos(-1) ,bSaveOnMove(sal_True) @@ -344,8 +343,6 @@ OTableEditorCtrl::~OTableEditorCtrl() Application::RemoveUserEvent( nInsNewRowsEvent ); if( nInvalidateTypeEvent ) Application::RemoveUserEvent( nInvalidateTypeEvent ); - if( nEntryNotFoundEvent ) - Application::RemoveUserEvent( nEntryNotFoundEvent ); ////////////////////////////////////////////////////////////////////// // Controltypen zerstoeren @@ -754,16 +751,6 @@ IMPL_LINK( OTableEditorCtrl, InvalidateFieldType, void*, /*EMPTYTAG*/ ) } //------------------------------------------------------------------------------ -IMPL_LINK( OTableEditorCtrl, EntryNotFound, void*, /*EMPTYTAG*/ ) -{ - DBG_CHKTHIS(OTableEditorCtrl,NULL); - nEntryNotFoundEvent = 0; - ErrorBox( this, ModuleRes(ERR_INVALID_LISTBOX_ENTRY) ).Execute(); - - return 0; -} - -//------------------------------------------------------------------------------ void OTableEditorCtrl::CellModified( long nRow, sal_uInt16 nColId ) { DBG_CHKTHIS(OTableEditorCtrl,NULL); diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx index 3128d979b681..1f0bb3d04af6 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.hxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx @@ -69,7 +69,6 @@ namespace dbaui sal_uLong nDeleteEvent; sal_uLong nInsNewRowsEvent; sal_uLong nInvalidateTypeEvent; - sal_uLong nEntryNotFoundEvent; ChildFocusState m_eChildFocus; long nOldDataPos; @@ -188,7 +187,6 @@ namespace dbaui DECL_LINK( DelayedDelete, void* ); DECL_LINK( DelayedInsNewRows, void* ); DECL_LINK( InvalidateFieldType, void* ); - DECL_LINK( EntryNotFound, void* ); void InitCellController(); sal_Int32 HasFieldName( const String& rFieldName ); diff --git a/dbaccess/source/ui/tabledesign/TableDesignView.cxx b/dbaccess/source/ui/tabledesign/TableDesignView.cxx index fd1a745f573d..ee0c8d505b06 100644 --- a/dbaccess/source/ui/tabledesign/TableDesignView.cxx +++ b/dbaccess/source/ui/tabledesign/TableDesignView.cxx @@ -256,29 +256,6 @@ void OTableDesignView::resizeDocumentView(Rectangle& _rPlayground) } //------------------------------------------------------------------------------ -IMPL_LINK( OTableDesignView, SwitchHdl, Accelerator*, /*pAcc*/ ) -{ - if( getController().isReadOnly() ) - return 0; - - if( GetDescWin()->HasChildPathFocus() ) - { - GetDescWin()->LoseFocus(); - GetEditorCtrl()->GrabFocus(); - } - else - { - ::boost::shared_ptr<OTableRow> pRow = (*GetEditorCtrl()->GetRowList())[GetEditorCtrl()->GetCurRow()]; - OFieldDescription* pFieldDescr = pRow ? pRow->GetActFieldDescr() : NULL; - if ( pFieldDescr ) - GetDescWin()->GrabFocus(); - else - GetEditorCtrl()->GrabFocus(); - } - - return 0; -} -//------------------------------------------------------------------------------ long OTableDesignView::PreNotify( NotifyEvent& rNEvt ) { sal_Bool bHandled = sal_False; diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index fded669b8f00..773bc6191881 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -62,9 +62,6 @@ boost::scoped_ptr< CfgParser > parser; } -void badArguments() { -} - void handleArguments(int argc, char ** argv) { enum State { STATE_NONE, STATE_INPUT, STATE_OUTPUT, STATE_PRJ, STATE_ROOT, diff --git a/sax/inc/sax/tools/converter.hxx b/sax/inc/sax/tools/converter.hxx index 9883dabdfef6..1fed19eb3bb3 100644 --- a/sax/inc/sax/tools/converter.hxx +++ b/sax/inc/sax/tools/converter.hxx @@ -210,8 +210,6 @@ public: static sal_Int32 decodeBase64SomeChars(com::sun::star::uno::Sequence<sal_Int8>& aPass, const rtl::OUString& sBuffer); - static void clearUndefinedChars(rtl::OUString& rTarget, const rtl::OUString& rSource); - static double GetConversionFactor(::rtl::OUStringBuffer& rUnit, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit); static sal_Int16 GetUnitFromString(const ::rtl::OUString& rString, sal_Int16 nDefaultUnit); diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index 698dea826ba2..8d573e2e3f64 100644 --- a/sax/source/tools/converter.cxx +++ b/sax/source/tools/converter.cxx @@ -1787,22 +1787,6 @@ sal_Int32 Converter::decodeBase64SomeChars( return nCharsDecoded; } -void Converter::clearUndefinedChars(rtl::OUString& rTarget, const rtl::OUString& rSource) -{ - sal_uInt32 nLength(rSource.getLength()); - rtl::OUStringBuffer sBuffer(nLength); - for (sal_uInt32 i = 0; i < nLength; i++) - { - sal_Unicode cChar = rSource[i]; - if (!(cChar < 0x0020) || - (cChar == 0x0009) || // TAB - (cChar == 0x000A) || // LF - (cChar == 0x000D)) // legal character - sBuffer.append(cChar); - } - rTarget = sBuffer.makeStringAndClear(); -} - double Converter::GetConversionFactor(::rtl::OUStringBuffer& rUnit, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit) { double fRetval(1.0); diff --git a/sc/source/filter/excel/xltools.cxx b/sc/source/filter/excel/xltools.cxx index d801b6f5efc7..5caf2fee7892 100644 --- a/sc/source/filter/excel/xltools.cxx +++ b/sc/source/filter/excel/xltools.cxx @@ -578,13 +578,6 @@ OUString XclTools::GetBuiltInStyleName( sal_uInt8 nStyleId, const OUString& rNam return aStyleName; } -OUString XclTools::GetBuiltInStyleName( const OUString& rStyleName ) -{ - rtl::OUStringBuffer aBuf(maStyleNamePrefix1); - aBuf.append(rStyleName); - return aBuf.makeStringAndClear(); -} - bool XclTools::IsBuiltInStyleName( const OUString& rStyleName, sal_uInt8* pnStyleId, sal_Int32* pnNextChar ) { // "Default" becomes "Normal" diff --git a/sc/source/filter/inc/xltools.hxx b/sc/source/filter/inc/xltools.hxx index 54f5b54da236..b73986652641 100644 --- a/sc/source/filter/inc/xltools.hxx +++ b/sc/source/filter/inc/xltools.hxx @@ -205,8 +205,7 @@ public: @param nLevel The zero-based outline level for RowLevel and ColLevel styles. @return The style name or an empty string, if the parameters are not valid. */ static rtl::OUString GetBuiltInStyleName( sal_uInt8 nStyleId, const rtl::OUString& rName, sal_uInt8 nLevel ); - /** Returns the passed style name with a special built-in prefix. */ - static rtl::OUString GetBuiltInStyleName( const rtl::OUString& rStyleName ); + /** Returns true, if the passed string is a name of an Excel built-in style. @param pnStyleId If not 0, the found style identifier will be returned here. @param pnNextChar If not 0, the index of the char after the evaluated substring will be returned here. */ diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx index 9a9aef7f9f3c..1e4ad6c55e5d 100644 --- a/sdext/source/minimizer/unodialog.cxx +++ b/sdext/source/minimizer/unodialog.cxx @@ -321,29 +321,6 @@ void UnoDialog::setControlProperty( const OUString& rControlName, const OUString // ----------------------------------------------------------------------------- -sal_Int32 UnoDialog::getMapsFromPixels( sal_Int32 nPixels ) const -{ - double dMaps = 0; - try - { - sal_Int32 nMapWidth = 0; - const OUString sWidth( RTL_CONSTASCII_USTRINGPARAM( "Width" ) ); - if ( mxDialogModelPropertySet->getPropertyValue( sWidth ) >>= nMapWidth ) - { - Reference< XWindow > xWindow( mxDialog, UNO_QUERY_THROW ); - double pxWidth = xWindow->getPosSize().Width; - double mapRatio = ( pxWidth / nMapWidth ); - dMaps = nPixels / mapRatio; - } - } - catch ( Exception& ) - { - } - return static_cast< sal_Int32 >( dMaps ); -} - -// ----------------------------------------------------------------------------- - Any UnoDialog::getControlProperty( const OUString& rControlName, const OUString& rPropertyName ) { Any aRet; diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx index b89164d93543..65063831f7f0 100644 --- a/sdext/source/minimizer/unodialog.hxx +++ b/sdext/source/minimizer/unodialog.hxx @@ -84,8 +84,6 @@ public : void setVisible( const rtl::OUString& rName, sal_Bool bVisible ); - sal_Int32 getMapsFromPixels( sal_Int32 nPixels ) const; - com::sun::star::uno::Reference< com::sun::star::awt::XButton > insertButton( const rtl::OUString& rName, com::sun::star::uno::Reference< com::sun::star::awt::XActionListener > xActionListener, const com::sun::star::uno::Sequence< rtl::OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx index e347d54486a3..02e4a127ab34 100644 --- a/svl/inc/svl/style.hxx +++ b/svl/inc/svl/style.hxx @@ -285,7 +285,7 @@ public: virtual sal_Bool SetParent( const UniString& ); protected: - SfxStyleSheet(); // do not use! needed by MSVC + SfxStyleSheet() {} // do not use! needed by MSVC virtual ~SfxStyleSheet(); }; diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index c49d9ad2ef9f..c3e11e16d3d8 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -884,10 +884,6 @@ SfxStyleSheet::SfxStyleSheet(const SfxStyleSheet& rStyle) : SfxBroadcaster( rStyle ) {} -SfxStyleSheet::SfxStyleSheet() -{ -} - SfxStyleSheet::~SfxStyleSheet() { Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_INDESTRUCTION, *this ) ); diff --git a/toolkit/source/helper/registerservices.cxx b/toolkit/source/helper/registerservices.cxx index 8ab671c4546e..8757acabd7bb 100644 --- a/toolkit/source/helper/registerservices.cxx +++ b/toolkit/source/helper/registerservices.cxx @@ -81,15 +81,6 @@ namespace toolkit } //......................................................................... - Reference< XRegistryKey > registerServices( const Reference< XRegistryKey >& _rxParentKey, - const sal_Char* _pAsciiImplName, const sal_Char* _pAsciiServiceName1, const sal_Char* _pAsciiServiceName2 ) - { - Reference< XRegistryKey > xComponentServicesKey = registerServices( _rxParentKey, _pAsciiImplName, _pAsciiServiceName1 ); - xComponentServicesKey->createKey( ::rtl::OUString::createFromAscii( _pAsciiServiceName2 ) ); - return xComponentServicesKey; - } - - //......................................................................... void* tryCreateFactory( const sal_Char* _pRequiredImplName, const sal_Char* _pComponentImplName, const sal_Char* _pAsciiServiceName1, const sal_Char* _pAsciiServiceName2, ::cppu::ComponentInstantiation _pInstantiation, const Reference< XMultiServiceFactory >& _rxServiceFactory ) diff --git a/unotools/inc/unotools/configvaluecontainer.hxx b/unotools/inc/unotools/configvaluecontainer.hxx index 589de073f534..ad6b4daa3868 100644 --- a/unotools/inc/unotools/configvaluecontainer.hxx +++ b/unotools/inc/unotools/configvaluecontainer.hxx @@ -73,10 +73,6 @@ namespace utl m_pImpl; protected: - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& - getServiceFactory( ) const; - - protected: //----------------------------------------------------------------- // construction/destruction diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx index 8a0fdcdf1f7f..eb950b25bc59 100644 --- a/unotools/source/config/configvaluecontainer.cxx +++ b/unotools/source/config/configvaluecontainer.cxx @@ -261,11 +261,6 @@ namespace utl delete m_pImpl; } - const Reference< XMultiServiceFactory >& OConfigurationValueContainer::getServiceFactory( ) const - { - return m_pImpl->xORB; - } - void OConfigurationValueContainer::implConstruct( const ::rtl::OUString& _rConfigLocation, const sal_uInt16 _nAccessFlags, const sal_Int32 _nLevels ) { diff --git a/unusedcode.easy b/unusedcode.easy index f90da4b70d0c..5a67cee40659 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,4 +1,3 @@ -(anonymous namespace)::badArguments() ByteString::Append(char) ByteString::Assign(char const*, unsigned short) ByteString::Assign(char) @@ -251,7 +250,6 @@ SfxPopupWindow::LinkStubDelete(void*, void*) SfxProgress::Lock() SfxRangeItem::SfxRangeItem(unsigned short, SvStream&) SfxRecordingFloatWrapper_Impl::GetChildWindowId() -SfxStyleSheetBase::SfxStyleSheetBase() SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*) SfxUINT32s::Insert(SfxUINT32s const*, unsigned short, unsigned short, unsigned short) SfxUINT32s::Remove(unsigned short, unsigned short) @@ -609,7 +607,6 @@ UnoControlModel::Clone() const UnoControlModel::GetImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) UnoControlModel::UnoControlModel() UnoControlModel::getInfoHelper() -UnoDialog::getMapsFromPixels(int) const UnoListBoxControl::getActionListeners() UnoListBoxControl::getItemListeners() UnoMemoryStream::UnoMemoryStream(unsigned int, unsigned int) @@ -683,7 +680,6 @@ XMLSignatureHelper::GetUriBinding() const XMLSignatureHelper::SetUriBinding(com::sun::star::uno::Reference<com::sun::star::xml::crypto::XUriBinding>&) XMLSignatureHelper::SetX509Certificate(int, int, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&) XMLTextFieldExport::ProcessDate(xmloff::token::XMLTokenEnum, com::sun::star::util::Date const&, unsigned short) -XMLTextFrameContext::CreateIfNotThere() XMLTextImportHelper::GetRangeFor(rtl::OUString&) XMLTextImportHelper::HasDrawNameAttribute(com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, SvXMLNamespaceMap&) XMLTextImportHelper::getCurrentFieldName() @@ -710,9 +706,7 @@ XclRoot::GetPixelXFromHmm(int) const XclRoot::GetPixelYFromHmm(int) const XclTokenArray::XclTokenArray(std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, bool) XclTokenArrayIterator::Init() -XclTools::GetBuiltInStyleName(rtl::OUString const&) XclXFBase::HasUsedFlags() const -XmlSec::GetDateTimeString(rtl::OUString const&, rtl::OUString const&) XmlSecStatusBarControl::GetDefItemWidth(StatusBar&) ZipPackageStream::SetBaseEncryptionData(rtl::Reference<BaseEncryptionData> const&) _CpyTabFrms::Insert(_CpyTabFrm const&, unsigned short&) @@ -1243,9 +1237,6 @@ cppcanvas::internal::TransparencyGroupActionFactory::createTransparencyGroupActi cppcanvas::tools::modifyClip(com::sun::star::rendering::RenderState&, cppcanvas::internal::OutDevState const&, boost::shared_ptr<cppcanvas::Canvas> const&, Point const&, basegfx::B2DVector const*, double const*) cppcanvas::tools::modifyClip(com::sun::star::rendering::RenderState&, cppcanvas::internal::OutDevState const&, boost::shared_ptr<cppcanvas::Canvas> const&, basegfx::B2DHomMatrix const&) dbaccess::OptimisticSet::getComposedTableName(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&) -dbaui::OFieldDescControl::LinkStubDelayedGrabFocus(void*, void*) -dbaui::OTableDesignView::LinkStubSwitchHdl(void*, void*) -dbaui::OTableEditorCtrl::LinkStubEntryNotFound(void*, void*) dbaui::getKeyColumns(com::sun::star::uno::Reference<com::sun::star::container::XIndexAccess> const&, int) dbtools::CharsetIteratorDerefHelper::CharsetIteratorDerefHelper() dbtools::DBTypeConversion::toINT64(com::sun::star::util::DateTime const&) @@ -1463,7 +1454,6 @@ salhelper::ORealDynamicLoader::release() salhelper::Timer::addTime(salhelper::TTimeValue const&) salhelper::Timer::setAbsoluteTime(salhelper::TTimeValue const&) salhelper::Timer::setRemainingTime(salhelper::TTimeValue const&, salhelper::TTimeValue const&) -sax::Converter::clearUndefinedChars(rtl::OUString&, rtl::OUString const&) sax::Converter::convertAny(com::sun::star::uno::Any&, rtl::OUString const&, rtl::OUString const&) sax::Converter::convertDouble(double&, rtl::OUString const&, short) sax::Converter::convertNumber64(rtl::OUStringBuffer&, long) @@ -1552,7 +1542,6 @@ sw::util::AuthorInfos::Insert(sw::util::AuthorInfo* const*, unsigned short) sw::util::AuthorInfos::Insert(sw::util::AuthorInfos const*, unsigned short, unsigned short) sw::util::AuthorInfos::Remove(sw::util::AuthorInfo* const&, unsigned short) sw::util::AuthorInfos::Remove(unsigned short, unsigned short) -toolkit::registerServices(com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const&, char const*, char const*, char const*) ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<int> const&) ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence<int> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, ucbhelper::Content&) ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> > const&) @@ -1564,7 +1553,6 @@ unicode::isTitle(unsigned short) unographic::GraphicDescriptor::isValid() const utl::NodeValueAccessor::bind(com::sun::star::uno::Any*) utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const -utl::OConfigurationValueContainer::getServiceFactory() const utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const vcl::I18nHelper::GetDate(Date const&) const vcl::I18nHelper::getLocale() const diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index e984b3477c12..8be7e75abe36 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -1294,17 +1294,6 @@ void XMLTextFrameContext_Impl::SetDesc( const OUString& rDesc ) TYPEINIT1( XMLTextFrameContext, SvXMLImportContext ); -sal_Bool XMLTextFrameContext::CreateIfNotThere() -{ - sal_Bool bRet = sal_False; - SvXMLImportContext *pContext = &m_xImplContext; - XMLTextFrameContext_Impl *pImpl = PTR_CAST( XMLTextFrameContext_Impl, pContext ); - if( pImpl ) - bRet = pImpl->CreateIfNotThere(); - - return bRet; -} - sal_Bool XMLTextFrameContext::CreateIfNotThere( ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet >& rPropSet ) { diff --git a/xmloff/source/text/XMLTextFrameContext.hxx b/xmloff/source/text/XMLTextFrameContext.hxx index 1168bf3ffc1d..2c201c54b519 100644 --- a/xmloff/source/text/XMLTextFrameContext.hxx +++ b/xmloff/source/text/XMLTextFrameContext.hxx @@ -64,7 +64,6 @@ class XMLTextFrameContext : public SvXMLImportContext sal_Bool m_HasAutomaticStyleWithoutParentStyle; sal_Bool m_bSupportsReplacement; - sal_Bool CreateIfNotThere(); sal_Bool CreateIfNotThere( ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet >& rPropSet ); diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx index 79ca62a28717..46df04f7eecf 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.cxx +++ b/xmlsecurity/source/dialogs/resourcemanager.cxx @@ -78,26 +78,6 @@ namespace XmlSec return sRet; } - String GetDateTimeString( const rtl::OUString& _rDate, const rtl::OUString& _rTime ) - { - String sDay( _rDate, 6, 2 ); - String sMonth( _rDate, 4, 2 ); - String sYear( _rDate, 0, 4 ); - - String sHour( _rTime, 0, 2 ); - String sMin( _rTime, 4, 2 ); - String sSec( _rTime, 6, 2 ); - - - Date aDate( (sal_uInt16)sDay.ToInt32(), (sal_uInt16) sMonth.ToInt32(), (sal_uInt16)sYear.ToInt32() ); - Time aTime( sHour.ToInt32(), sMin.ToInt32(), sSec.ToInt32(), 0 ); - const LocaleDataWrapper& rLoDa = GetLocaleData(); - String aStr( rLoDa.getDate( aDate ) ); - aStr.AppendAscii( " " ); - aStr += rLoDa.getTime( aTime ); - return aStr; - } - String GetDateString( const ::com::sun::star::util::DateTime& _rDT ) { return GetLocaleData().getDate( GetDateTime( _rDT ) ); diff --git a/xmlsecurity/source/dialogs/resourcemanager.hxx b/xmlsecurity/source/dialogs/resourcemanager.hxx index 07b266845e51..b522d3fe43c1 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.hxx +++ b/xmlsecurity/source/dialogs/resourcemanager.hxx @@ -48,7 +48,6 @@ namespace XmlSec const LocaleDataWrapper& GetLocaleData( void ); DateTime GetDateTime( const ::com::sun::star::util::DateTime& _rDT ); String GetDateTimeString( const ::com::sun::star::util::DateTime& _rDT ); - String GetDateTimeString( const rtl::OUString& _rDate, const rtl::OUString& _rTime ); String GetDateString( const ::com::sun::star::util::DateTime& _rDT ); std::vector< std::pair< ::rtl::OUString, ::rtl::OUString> > |