Kaydet (Commit) b4d4751e authored tarafından Szabolcs Dezsi's avatar Szabolcs Dezsi Kaydeden (comit) Michael Meeks

Removed unused code from vcl module

üst ada6350a
...@@ -1357,11 +1357,4 @@ ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun: ...@@ -1357,11 +1357,4 @@ ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun:
ucbhelper::SimpleCertificateValidationRequest::getResponse() const ucbhelper::SimpleCertificateValidationRequest::getResponse() const
utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const
utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const
vcl::LazyDeletor<Menu>::is_less(Menu*, Menu*)
vcl::PDFExtOutDevData::EndGroup()
vcl::PDFExtOutDevData::GetFormsFormat() const
vcl::PDFExtOutDevData::SetAutoAdvanceTime(unsigned int, int)
vcl::PDFExtOutDevData::SetOutlineItemDest(int, int)
vcl::PDFExtOutDevData::SetOutlineItemParent(int, int)
vcl::PDFExtOutDevData::SetOutlineItemText(int, rtl::OUString const&)
vcl::PDFWriter::DrawPixel(Polygon const&, Color const*) vcl::PDFWriter::DrawPixel(Polygon const&, Color const*)
...@@ -131,7 +131,6 @@ public : ...@@ -131,7 +131,6 @@ public :
sal_Bool GetIsExportFormFields() const; sal_Bool GetIsExportFormFields() const;
void SetIsExportFormFields( const sal_Bool bExportFormFields ); void SetIsExportFormFields( const sal_Bool bExportFormFields );
sal_Int32 GetFormsFormat() const;
void SetFormsFormat( const sal_Int32 nFormsFormat ); void SetFormsFormat( const sal_Int32 nFormsFormat );
sal_Bool GetIsExportBookmarks() const; sal_Bool GetIsExportBookmarks() const;
...@@ -164,13 +163,6 @@ public : ...@@ -164,13 +163,6 @@ public :
*/ */
void BeginGroup(); void BeginGroup();
/** End render output
This method ends grouped render output without
further actions.
*/
void EndGroup();
/** End render output /** End render output
This method ends grouped render output, that can be This method ends grouped render output, that can be
...@@ -321,49 +313,6 @@ public : ...@@ -321,49 +313,6 @@ public :
*/ */
sal_Int32 CreateOutlineItem( sal_Int32 nParent = 0, const rtl::OUString& rText = rtl::OUString(), sal_Int32 nDestID = -1 ); 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 /** Create a new note on a page
@param rRect @param rRect
...@@ -518,17 +467,6 @@ public : ...@@ -518,17 +467,6 @@ public :
*/ */
void SetAlternateText( const String& rText ); 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. /** Sets the transitional effect to be applied when the current page gets shown.
@param eType @param eType
......
...@@ -599,10 +599,6 @@ void PDFExtOutDevData::SetIsExportFormFields( const sal_Bool bExportFomtFields ) ...@@ -599,10 +599,6 @@ void PDFExtOutDevData::SetIsExportFormFields( const sal_Bool bExportFomtFields )
{ {
mbExportFormFields = bExportFomtFields; mbExportFormFields = bExportFomtFields;
} }
sal_Int32 PDFExtOutDevData::GetFormsFormat() const
{
return mnFormsFormat;
}
void PDFExtOutDevData::SetFormsFormat( const sal_Int32 nFormsFormat ) void PDFExtOutDevData::SetFormsFormat( const sal_Int32 nFormsFormat )
{ {
mnFormsFormat = nFormsFormat; mnFormsFormat = nFormsFormat;
...@@ -721,27 +717,6 @@ sal_Int32 PDFExtOutDevData::CreateOutlineItem( sal_Int32 nParent, const rtl::OUS ...@@ -721,27 +717,6 @@ sal_Int32 PDFExtOutDevData::CreateOutlineItem( sal_Int32 nParent, const rtl::OUS
mpGlobalSyncData->mParaInts.push_back( nDestID ); mpGlobalSyncData->mParaInts.push_back( nDestID );
return mpGlobalSyncData->mCurId++; 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 ) void PDFExtOutDevData::CreateNote( const Rectangle& rRect, const PDFNote& rNote, sal_Int32 nPageNr )
{ {
mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::CreateNote ); mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::CreateNote );
...@@ -750,12 +725,6 @@ void PDFExtOutDevData::CreateNote( const Rectangle& rRect, const PDFNote& rNote, ...@@ -750,12 +725,6 @@ void PDFExtOutDevData::CreateNote( const Rectangle& rRect, const PDFNote& rNote,
mpGlobalSyncData->mParaPDFNotes.push_back( rNote ); mpGlobalSyncData->mParaPDFNotes.push_back( rNote );
mpGlobalSyncData->mParaInts.push_back( nPageNr == -1 ? mnPage : nPageNr ); 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 ) void PDFExtOutDevData::SetPageTransition( PDFWriter::PageTransition eType, sal_uInt32 nMilliSec, sal_Int32 nPageNr )
{ {
mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::SetPageTransition ); mpGlobalSyncData->mActions.push_back( PDFExtOutDevDataSync::SetPageTransition );
...@@ -841,10 +810,6 @@ void PDFExtOutDevData::BeginGroup() ...@@ -841,10 +810,6 @@ void PDFExtOutDevData::BeginGroup()
mpPageSyncData->PushAction( mrOutDev, PDFExtOutDevDataSync::BeginGroup ); mpPageSyncData->PushAction( mrOutDev, PDFExtOutDevDataSync::BeginGroup );
} }
void PDFExtOutDevData::EndGroup()
{
mpPageSyncData->PushAction( mrOutDev, PDFExtOutDevDataSync::EndGroup );
}
void PDFExtOutDevData::EndGroup( const Graphic& rGraphic, void PDFExtOutDevData::EndGroup( const Graphic& rGraphic,
sal_uInt8 nTransparency, sal_uInt8 nTransparency,
const Rectangle& rOutputRect, const Rectangle& rOutputRect,
......
...@@ -70,14 +70,6 @@ template<> bool LazyDeletor<Window>::is_less( Window* left, Window* right ) ...@@ -70,14 +70,6 @@ template<> bool LazyDeletor<Window>::is_less( Window* left, Window* right )
return (left != right && right->IsChild( left, sal_True )) ? true : false; 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() DeleteOnDeinitBase::~DeleteOnDeinitBase()
{ {
ImplSVData* pSVData = ImplGetSVData(); ImplSVData* pSVData = ImplGetSVData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment