diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 08:56:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 09:00:06 +0100 |
commit | 7c1a74b62ec33d6994445a7fb9d91088b3067316 (patch) | |
tree | 53105d3d2eabbbae3d13f489e2a40cbd5a48ac39 | |
parent | 7d31a252b12b619a91ac8711b64d0968e055e1fb (diff) |
regenerate list
-rw-r--r-- | linguistic/source/lngopt.cxx | 19 | ||||
-rw-r--r-- | linguistic/source/lngopt.hxx | 6 | ||||
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 2 | ||||
-rw-r--r-- | svx/inc/svx/galbrws.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/gallery.hxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/galbrws.cxx | 7 | ||||
-rw-r--r-- | svx/source/gallery2/galexpl.cxx | 44 | ||||
-rw-r--r-- | unusedcode.easy | 4 |
8 files changed, 5 insertions, 82 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index 047a4ca16dd9..cafaba97bb60 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -99,25 +99,6 @@ LinguOptions::~LinguOptions() } } - -sal_Bool LinguOptions::SetLocale_Impl( sal_Int16 &rLanguage, Any &rOld, const Any &rVal, sal_Int16 nType) -{ - sal_Bool bRes = sal_False; - - Locale aNew; - rVal >>= aNew; - sal_Int16 nNew = MsLangId::resolveSystemLanguageByScriptType(MsLangId::convertLocaleToLanguage(aNew), nType); - if (nNew != rLanguage) - { - Locale aLocale( CreateLocale( rLanguage ) ); - rOld.setValue( &aLocale, ::getCppuType((Locale*)0 )); - rLanguage = nNew; - bRes = sal_True; - } - - return bRes; -} - struct WID_Name { sal_Int32 nWID; diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx index f7d6948daaab..1e0fa9ffd7a1 100644 --- a/linguistic/source/lngopt.hxx +++ b/linguistic/source/lngopt.hxx @@ -68,12 +68,6 @@ class LinguOptions static SvtLinguOptions *pData; static oslInterlockedCount nRefCount; // number of objects of this class - //! uses default assignment-operator - - sal_Bool SetLocale_Impl( sal_Int16 &rLanguage, - ::com::sun::star::uno::Any &rOld, - const ::com::sun::star::uno::Any &rVal, sal_Int16 nType ); - public: LinguOptions(); LinguOptions(const LinguOptions &rOpt); diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index a463b769f50f..e75ce4d311e6 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -41,7 +41,7 @@ gb_CppunitTest__interactive := $(true) endif ifneq ($(strip $(VALGRIND)),) -gb_CppunitTest_VALGRINDTOOL := valgrind --tool=$(VALGRIND) --num-callers=50 +gb_CppunitTest_VALGRINDTOOL := valgrind --tool=$(VALGRIND) --num-callers=50 --leak-check=full ifeq ($(strip $(VALGRIND)),memcheck) G_SLICE := always-malloc export G_SLICE diff --git a/svx/inc/svx/galbrws.hxx b/svx/inc/svx/galbrws.hxx index 1fd7c5e5bc8f..2d9c20a472e4 100644 --- a/svx/inc/svx/galbrws.hxx +++ b/svx/inc/svx/galbrws.hxx @@ -108,7 +108,6 @@ public: INetURLObject GetURL() const; String GetFilterName() const; Graphic GetGraphic() const; - sal_Bool GetVCDrawModel( FmFormModel& rModel ) const; sal_Bool IsLinkage() const; sal_Bool KeyInput( const KeyEvent& rKEvt, Window* pWindow ); diff --git a/svx/inc/svx/gallery.hxx b/svx/inc/svx/gallery.hxx index a04659d5158a..eb2b604250fc 100644 --- a/svx/inc/svx/gallery.hxx +++ b/svx/inc/svx/gallery.hxx @@ -253,8 +253,6 @@ public: Graphic* pGraphic = NULL, Bitmap* pThumb = NULL, sal_Bool bProgess = sal_False ); - static sal_Bool InsertGraphicObj( const String& rThemeName, const Graphic& rGraphic ); - static sal_uIntPtr GetSdrObjCount( const String& rThemeName ); static sal_uIntPtr GetSdrObjCount( sal_uIntPtr nThemeId ); @@ -263,8 +261,6 @@ public: static sal_Bool GetSdrObj( sal_uIntPtr nThemeId, sal_uIntPtr nSdrModelPos, SdrModel* pModel = NULL, Bitmap* pThumb = NULL ); - static sal_Bool InsertSdrObj( const String& rThemeName, FmFormModel& rModel ); - static sal_Bool BeginLocking( const String& rThemeName ); static sal_Bool BeginLocking( sal_uIntPtr nThemeId ); diff --git a/svx/source/gallery2/galbrws.cxx b/svx/source/gallery2/galbrws.cxx index ba95d07ba8cf..ecae40d1912f 100644 --- a/svx/source/gallery2/galbrws.cxx +++ b/svx/source/gallery2/galbrws.cxx @@ -263,13 +263,6 @@ Graphic GalleryBrowser::GetGraphic() const // ----------------------------------------------------------------------------- -sal_Bool GalleryBrowser::GetVCDrawModel( FmFormModel& rModel ) const -{ - return mpBrowser2->GetVCDrawModel( rModel ); -} - -// ----------------------------------------------------------------------------- - sal_Bool GalleryBrowser::IsLinkage() const { return mpBrowser2->IsLinkage(); diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx index d5add09c8ac5..a107ea8a6b0d 100644 --- a/svx/source/gallery2/galexpl.cxx +++ b/svx/source/gallery2/galexpl.cxx @@ -300,28 +300,6 @@ sal_Bool GalleryExplorer::GetGraphicObj( sal_uIntPtr nThemeId, sal_uIntPtr nPos, // ------------------------------------------------------------------------ -sal_Bool GalleryExplorer::InsertGraphicObj( const String& rThemeName, const Graphic& rGraphic ) -{ - Gallery* pGal = ImplGetGallery(); - sal_Bool bRet = sal_False; - - if( pGal ) - { - SfxListener aListener; - GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); - - if( pTheme ) - { - bRet = pTheme->InsertGraphic( rGraphic ); - pGal->ReleaseTheme( pTheme, aListener ); - } - } - - return bRet; -} - -// ------------------------------------------------------------------------ - sal_uIntPtr GalleryExplorer::GetSdrObjCount( const String& rThemeName ) { Gallery* pGal = ImplGetGallery(); @@ -399,28 +377,6 @@ sal_Bool GalleryExplorer::GetSdrObj( sal_uIntPtr nThemeId, sal_uIntPtr nSdrModel return( pGal ? GetSdrObj( pGal->GetThemeName( nThemeId ), nSdrModelPos, pModel, pThumb ) : sal_False ); } -// ------------------------------------------------------------------------ - -sal_Bool GalleryExplorer::InsertSdrObj( const String& rThemeName, FmFormModel& rModel ) -{ - Gallery* pGal = ImplGetGallery(); - sal_Bool bRet = sal_False; - - if( pGal ) - { - SfxListener aListener; - GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); - - if( pTheme ) - { - bRet = pTheme->InsertModel( rModel ); - pGal->ReleaseTheme( pTheme, aListener ); - } - } - - return bRet; -} - // ----------------------------------------------------------------------------- sal_Bool GalleryExplorer::BeginLocking( const String& rThemeName ) diff --git a/unusedcode.easy b/unusedcode.easy index 7a3b2d951ec4..28ceb2b0d2df 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -732,6 +732,7 @@ SfxRequest::SetTarget(String const&) SfxShell::GetBroadcaster() SfxShell::RemoveItem(unsigned short) SfxSlotPool::NextInterface() +SfxStyleSheet::SfxStyleSheet() SfxTabDialog::GetApplyHandler() const SfxTabPage::SfxTabPage(Window*, long, SfxItemSet const&) SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*) @@ -2019,6 +2020,9 @@ chelp::Databases::getInstallPathAsSystemPath() cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&) cmis::Content::queryChildren(std::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&) codemaker::cpp::typeToPrefix(TypeManager const&, rtl::OString const&) +comphelper::AccessibleEventNotifier::getEventListeners(unsigned int) +comphelper::AttributeList::AppendAttributeList(com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) +comphelper::AttributeList::Clear() comphelper::EmbeddedObjectContainer::CopyEmbeddedObject(comphelper::EmbeddedObjectContainer&, com::sun::star::uno::Reference<com::sun::star::embed::XEmbeddedObject> const&, rtl::OUString&) comphelper::EventLogger::addLogHandler(com::sun::star::uno::Reference<com::sun::star::logging::XLogHandler> const&) comphelper::EventLogger::getLogLevel() const |