diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 05:41:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 05:43:16 +0100 |
commit | 76b3e61bb4ac66decd7800ef309f3241e77d538f (patch) | |
tree | 6b5f3e8a2c644386f6569b009237ee63040bcde2 /sd | |
parent | 7cbeac07d21413443889e6ee777a428782e746ae (diff) |
loplugin: unused variables
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fusel.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 3 |
3 files changed, 4 insertions, 11 deletions
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index 196a3ccff05c..4cca3a950bde 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -1404,15 +1404,11 @@ sal_Bool FuSelection::AnimateObj(SdrObject* pObj, const Point& rPos) { // aMacro has got following format: // "Macroname.Modulname.Libname.Documentname" or - // "Macroname.Modulname.Libname.Applicationsname" + // "Macroname.Modulname.Libname.Applicationname" String aMacroName = aMacro.GetToken(0, sal_Unicode('.')); String aModulName = aMacro.GetToken(1, sal_Unicode('.')); - String aLibName = - aMacro.GetToken(2, sal_Unicode('.')); - String aDocName = - aMacro.GetToken(3, sal_Unicode('.')); // In this moment the Call-method only // resolves modulename+macroname diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index d317fcaf1073..8d35441ac41c 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1630,12 +1630,10 @@ void SlideshowImpl::click( const Reference< XShape >& xShape, const ::com::sun:: else { // aMacro has the following syntax: - // "Macroname.Modulname.Libname.Dokumentname" or - // "Macroname.Modulname.Libname.Applikationsname" + // "Macroname.Modulname.Libname.Documentname" or + // "Macroname.Modulname.Libname.Applicationname" String aMacroName = aMacro.GetToken(0, sal_Unicode('.')); String aModulName = aMacro.GetToken(1, sal_Unicode('.')); - String aLibName = aMacro.GetToken(2, sal_Unicode('.')); - String aDocName = aMacro.GetToken(3, sal_Unicode('.')); // todo: is the limitation still given that only // Modulname+Macroname can be used here? diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index 83dc942d7473..d46264de21dd 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -1546,11 +1546,10 @@ uno::Any SAL_CALL SdUnoEventsAccess::getByName( const OUString& aName ) // aMacro has got following format: // "Macroname.Modulname.Libname.Documentname" or - // "Macroname.Modulname.Libname.Applicationsname" + // "Macroname.Modulname.Libname.Applicationname" String aMacroName = aMacro.GetToken(0, sal_Unicode('.')); String aModulName = aMacro.GetToken(1, sal_Unicode('.')); String aLibName = aMacro.GetToken(2, sal_Unicode('.')); - String aDocName = aMacro.GetToken(3, sal_Unicode('.')); OUStringBuffer sBuffer; sBuffer.append( aLibName ); |