summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-02-16 17:02:13 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-17 21:49:13 +0000
commitb4d4751ec0ff0c34f8cf0f1c8770badef81c007c (patch)
tree1659c8ccc03adb9a5a65848a3565cf2421dc637b /vcl
parentada6350a7cdf4984eb3ead31d938004bf9177ae8 (diff)
Removed unused code from vcl module
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/pdfextoutdevdata.hxx62
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx35
-rw-r--r--vcl/source/helper/lazydelete.cxx8
3 files changed, 0 insertions, 105 deletions
diff --git a/vcl/inc/vcl/pdfextoutdevdata.hxx b/vcl/inc/vcl/pdfextoutdevdata.hxx
index c1be576651c4..665303bc73fa 100644
--- a/vcl/inc/vcl/pdfextoutdevdata.hxx
+++ b/vcl/inc/vcl/pdfextoutdevdata.hxx
@@ -131,7 +131,6 @@ public :
sal_Bool GetIsExportFormFields() const;
void SetIsExportFormFields( const sal_Bool bExportFormFields );
- sal_Int32 GetFormsFormat() const;
void SetFormsFormat( const sal_Int32 nFormsFormat );
sal_Bool GetIsExportBookmarks() const;
@@ -166,13 +165,6 @@ public :
/** End render output
- This method ends grouped render output without
- further actions.
- */
- void EndGroup();
-
- /** End render output
-
This method ends grouped render output, that can be
represented by a GfxLink. This is typically used for
external graphic files, such as JPEGs, EPS files etc.
@@ -321,49 +313,6 @@ public :
*/
sal_Int32 CreateOutlineItem( sal_Int32 nParent = 0, const rtl::OUString& rText = rtl::OUString(), sal_Int32 nDestID = -1 );
- /** Set an outline item's parent
-
- @param nItem
- specififies which item should be reparented.
-
- @param nNewParent
- specifies which outline item will be the item's new parent.
- Use 0 for reparenting to top level.
-
- @returns
- -1 if the item does not exist
- -2 if the new parent does not exist, item will be reparented to top level.
- */
- sal_Int32 SetOutlineItemParent( sal_Int32 nItem, sal_Int32 nNewParent );
-
- /** Set an outline item's title text
-
- @param nItem
- specififies which item should get a new text
-
- @param rText
- sets the title text of the item
-
- @returns
- 0 if the item exists and the text was changed
- -1 if the item does not exist
- */
- sal_Int32 SetOutlineItemText( sal_Int32 nItem, const rtl::OUString& rText );
-
- /** Set an outline item's destination
-
- @param nItem
- specififies which item should get a new dest
-
- @param nDestID
- specifies the item's new destination
-
- @returns
- -1 if the item does not exist
- -2 if the new dest does not exist, dest will remain unchanged
- */
- sal_Int32 SetOutlineItemDest( sal_Int32 nItem, sal_Int32 nDestID );
-
/** Create a new note on a page
@param rRect
@@ -518,17 +467,6 @@ public :
*/
void SetAlternateText( const String& rText );
- /** Sets the time in seconds a page will appear before the next
- page is shown automatically
-
- @param nSeconds
- time in seconds the current page will be shown; pass 0 for manual advancement
-
- @param nPageNr
- the page number to apply the autoadvance time to; -1 denotes the current page
- */
- void SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr = -1 );
-
/** Sets the transitional effect to be applied when the current page gets shown.
@param eType
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx
index 23d81a4a5ec8..b917a0ad04fe 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -599,10 +599,6 @@ void PDFExtOutDevData::SetIsExportFormFields( const sal_Bool bExportFomtFields )
{
mbExportFormFields = bExportFomtFields;
}
-sal_Int32 PDFExtOutDevData::GetFormsFormat() const
-{
- return mnFormsFormat;
-}
void PDFExtOutDevData::SetFormsFormat( const sal_Int32 nFormsFormat )
{
mnFormsFormat = nFormsFormat;
@@ -721,27 +717,6 @@ sal_Int32 PDFExtOutDevData::CreateOutlineItem( sal_Int32 nParent, const rtl::OUS
mpGlobalSyncData->mParaInts.push_back( nDestID );
return mpGlobalSyncData->mCurId++;
}
-sal_Int32 PDFExtOutDevData::SetOutlineItemParent( sal_Int32 nItem, sal_Int32 nNewParent )
-{
- mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::SetOutlineItemParent );
- mpGlobalSyncData->mParaInts.push_back( nItem );
- mpGlobalSyncData->mParaInts.push_back( nNewParent );
- return 0;
-}
-sal_Int32 PDFExtOutDevData::SetOutlineItemText( sal_Int32 nItem, const rtl::OUString& rText )
-{
- mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::SetOutlineItemText );
- mpGlobalSyncData->mParaInts.push_back( nItem );
- mpGlobalSyncData->mParaOUStrings.push_back( rText );
- return 0;
-}
-sal_Int32 PDFExtOutDevData::SetOutlineItemDest( sal_Int32 nItem, sal_Int32 nDestID )
-{
- mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::SetOutlineItemDest );
- mpGlobalSyncData->mParaInts.push_back( nItem );
- mpGlobalSyncData->mParaInts.push_back( nDestID );
- return 0;
-}
void PDFExtOutDevData::CreateNote( const Rectangle& rRect, const PDFNote& rNote, sal_Int32 nPageNr )
{
mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::CreateNote );
@@ -750,12 +725,6 @@ void PDFExtOutDevData::CreateNote( const Rectangle& rRect, const PDFNote& rNote,
mpGlobalSyncData->mParaPDFNotes.push_back( rNote );
mpGlobalSyncData->mParaInts.push_back( nPageNr == -1 ? mnPage : nPageNr );
}
-void PDFExtOutDevData::SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr )
-{
- mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::SetAutoAdvanceTime );
- mpGlobalSyncData->mParauInts.push_back( nSeconds );
- mpGlobalSyncData->mParaInts.push_back( nPageNr == -1 ? mnPage : nPageNr );
-}
void PDFExtOutDevData::SetPageTransition( PDFWriter::PageTransition eType, sal_uInt32 nMilliSec, sal_Int32 nPageNr )
{
mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::SetPageTransition );
@@ -841,10 +810,6 @@ void PDFExtOutDevData::BeginGroup()
mpPageSyncData->PushAction( mrOutDev, PDFExtOutDevDataSync::BeginGroup );
}
-void PDFExtOutDevData::EndGroup()
-{
- mpPageSyncData->PushAction( mrOutDev, PDFExtOutDevDataSync::EndGroup );
-}
void PDFExtOutDevData::EndGroup( const Graphic& rGraphic,
sal_uInt8 nTransparency,
const Rectangle& rOutputRect,
diff --git a/vcl/source/helper/lazydelete.cxx b/vcl/source/helper/lazydelete.cxx
index 691ab1d37d16..d63466e24761 100644
--- a/vcl/source/helper/lazydelete.cxx
+++ b/vcl/source/helper/lazydelete.cxx
@@ -70,14 +70,6 @@ template<> bool LazyDeletor<Window>::is_less( Window* left, Window* right )
return (left != right && right->IsChild( left, sal_True )) ? true : false;
}
-// specialized is_less function for Menu
-template<> bool LazyDeletor<Menu>::is_less( Menu* left, Menu* right )
-{
- while( left && left != right )
- left = left->ImplGetStartedFrom();
- return left != NULL;
-}
-
DeleteOnDeinitBase::~DeleteOnDeinitBase()
{
ImplSVData* pSVData = ImplGetSVData();