[Libreoffice-commits] .: 2 commits - binfilter/bf_sw writerfilter/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Mon Mar 14 13:36:28 PDT 2011
binfilter/bf_sw/source/core/unocore/sw_unotext.cxx | 14 -------------
writerfilter/source/dmapper/ConversionHelper.cxx | 2 -
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 22 ++++++++++-----------
writerfilter/source/dmapper/DomainMapper_Impl.hxx | 6 ++---
writerfilter/source/dmapper/GraphicImport.cxx | 2 -
writerfilter/source/dmapper/PropertyMap.hxx | 2 -
writerfilter/source/dmapper/StyleSheetTable.cxx | 2 -
7 files changed, 18 insertions(+), 32 deletions(-)
New commits:
commit 4c3a3658b44724e719e2f3489e80507d375a2680
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Mon Mar 14 21:36:18 2011 +0100
Remove empty comment fields
diff --git a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx
index b18a14b..ec729fb 100644
--- a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx
+++ b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx
@@ -1092,9 +1092,7 @@ sal_Int16 SwXText::compareRegionEnds(
return ComparePositions(xEnd1, xEnd2);
}
-/*-------------------------------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Reference< beans::XPropertySetInfo > SwXText::getPropertySetInfo( )
throw(uno::RuntimeException)
{
@@ -1102,9 +1100,7 @@ uno::Reference< beans::XPropertySetInfo > SwXText::getPropertySetInfo( )
new SfxItemPropertySetInfo(_pMap);
return xInfo;
}
-/*-------------------------------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXText::setPropertyValue( const ::rtl::OUString& /*aPropertyName*/, const uno::Any& /*aValue*/ )
throw(beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException,
@@ -1112,9 +1108,7 @@ void SwXText::setPropertyValue( const ::rtl::OUString& /*aPropertyName*/, const
{
throw lang::IllegalArgumentException();
}
-/*-------------------------------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Any SwXText::getPropertyValue(
const ::rtl::OUString& rPropertyName )
throw(beans::UnknownPropertyException, lang::WrappedTargetException,
@@ -1167,9 +1161,7 @@ uno::Any SwXText::getPropertyValue(
return aRet;
}
-/*-------------------------------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXText::addPropertyChangeListener(
const ::rtl::OUString& /*aPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*xListener*/ )
@@ -1178,9 +1170,7 @@ void SwXText::addPropertyChangeListener(
{
throw uno::RuntimeException();
}
-/*-------------------------------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXText::removePropertyChangeListener(
const ::rtl::OUString& /*aPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*aListener*/ )
@@ -1189,9 +1179,7 @@ void SwXText::removePropertyChangeListener(
{
throw uno::RuntimeException();
}
-/*-------------------------------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXText::addVetoableChangeListener(
const ::rtl::OUString& /*PropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ )
@@ -1200,9 +1188,7 @@ void SwXText::addVetoableChangeListener(
{
throw uno::RuntimeException();
}
-/*-------------------------------------------------------------------------
- -----------------------------------------------------------------------*/
void SwXText::removeVetoableChangeListener(
const ::rtl::OUString& /*PropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ )
commit 5018621dbd1c5b0996b84ac8e277a8c1467088e0
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Mon Mar 14 21:34:11 2011 +0100
Remove dates from comments
diff --git a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx
index a4e5718..b18a14b 100644
--- a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx
+++ b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx
@@ -1092,7 +1092,7 @@ sal_Int16 SwXText::compareRegionEnds(
return ComparePositions(xEnd1, xEnd2);
}
-/*-- 15.03.2002 12:30:40---------------------------------------------------
+/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
uno::Reference< beans::XPropertySetInfo > SwXText::getPropertySetInfo( )
@@ -1102,7 +1102,7 @@ uno::Reference< beans::XPropertySetInfo > SwXText::getPropertySetInfo( )
new SfxItemPropertySetInfo(_pMap);
return xInfo;
}
-/*-- 15.03.2002 12:30:42---------------------------------------------------
+/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
void SwXText::setPropertyValue( const ::rtl::OUString& /*aPropertyName*/, const uno::Any& /*aValue*/ )
@@ -1112,7 +1112,7 @@ void SwXText::setPropertyValue( const ::rtl::OUString& /*aPropertyName*/, const
{
throw lang::IllegalArgumentException();
}
-/*-- 15.03.2002 12:30:42---------------------------------------------------
+/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
uno::Any SwXText::getPropertyValue(
@@ -1167,7 +1167,7 @@ uno::Any SwXText::getPropertyValue(
return aRet;
}
-/*-- 15.03.2002 12:30:42---------------------------------------------------
+/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
void SwXText::addPropertyChangeListener(
@@ -1178,7 +1178,7 @@ void SwXText::addPropertyChangeListener(
{
throw uno::RuntimeException();
}
-/*-- 15.03.2002 12:30:43---------------------------------------------------
+/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
void SwXText::removePropertyChangeListener(
@@ -1189,7 +1189,7 @@ void SwXText::removePropertyChangeListener(
{
throw uno::RuntimeException();
}
-/*-- 15.03.2002 12:30:43---------------------------------------------------
+/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
void SwXText::addVetoableChangeListener(
@@ -1200,7 +1200,7 @@ void SwXText::addVetoableChangeListener(
{
throw uno::RuntimeException();
}
-/*-- 15.03.2002 12:30:43---------------------------------------------------
+/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
void SwXText::removeVetoableChangeListener(
diff --git a/writerfilter/source/dmapper/ConversionHelper.cxx b/writerfilter/source/dmapper/ConversionHelper.cxx
index 78930c4..57bee7d 100644
--- a/writerfilter/source/dmapper/ConversionHelper.cxx
+++ b/writerfilter/source/dmapper/ConversionHelper.cxx
@@ -483,7 +483,7 @@ sal_Int32 convertEMUToMM100(sal_Int32 _t)
return _t / 360;
}
-/*-- 21.11.2006 08:47:12---------------------------------------------------
+/*-------------------------------------------------------------------------
contains a color from 0xTTRRGGBB to 0xTTRRGGBB
-----------------------------------------------------------------------*/
sal_Int32 ConvertColor(sal_Int32 nWordColor)
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 2fc03f1..3b50b49 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -506,7 +506,7 @@ uno::Sequence< style::TabStop > DomainMapper_Impl::GetCurrentTabStopAndClear()
return aRet;
}
-/*-- 17.07.2006 09:08:26---------------------------------------------------
+/*-------------------------------------------------------------------------
returns a the value from the current paragraph style - if available
TODO: What about parent styles?
-----------------------------------------------------------------------*/
@@ -1521,7 +1521,7 @@ OUString lcl_ParseFormat( const ::rtl::OUString& rCommand )
// The command looks like: " DATE \@ "dd MMMM yyyy"
return lcl_FindQuotedText(rCommand, "\\@ \"", '\"');
}
-/*-- 19.09.2006 10:01:20---------------------------------------------------
+/*-------------------------------------------------------------------------
extract a parameter (with or without quotes) between the command and the following backslash
-----------------------------------------------------------------------*/
::rtl::OUString lcl_ExtractParameter(const ::rtl::OUString& rCommand, sal_Int32 nCommandLength )
@@ -1622,7 +1622,7 @@ void DomainMapper_Impl::GetCurrentLocale(lang::Locale& rLocale)
}
}
-/*-- 14.09.2006 12:52:58---------------------------------------------------
+/*-------------------------------------------------------------------------
extract the number format from the command and apply the resulting number
format to the XPropertySet
-----------------------------------------------------------------------*/
@@ -1698,7 +1698,7 @@ uno::Reference< beans::XPropertySet > DomainMapper_Impl::FindOrCreateFieldMaster
return xMaster;
}
-/*-- 29.01.2007 11:33:10---------------------------------------------------
+/*-------------------------------------------------------------------------
//field context starts with a 0x13
-----------------------------------------------------------------------*/
void DomainMapper_Impl::PushFieldContext()
@@ -1714,14 +1714,14 @@ void DomainMapper_Impl::PushFieldContext()
xCrsr->goLeft( 1, false );
m_aFieldStack.push( FieldContextPtr( new FieldContext( xCrsr->getStart() ) ) );
}
-/*-- 29.01.2007 11:33:13---------------------------------------------------
+/*-------------------------------------------------------------------------
//the current field context waits for the completion of the command
-----------------------------------------------------------------------*/
bool DomainMapper_Impl::IsOpenFieldCommand() const
{
return !m_aFieldStack.empty() && !m_aFieldStack.top()->IsCommandCompleted();
}
-/*-- 29.01.2007 11:33:13---------------------------------------------------
+/*-------------------------------------------------------------------------
//the current field context waits for the completion of the command
-----------------------------------------------------------------------*/
bool DomainMapper_Impl::IsOpenField() const
@@ -1803,7 +1803,7 @@ void FieldContext::AppendCommand(const ::rtl::OUString& rPart)
return aResult;
}
-/*-- 29.01.2007 11:33:15---------------------------------------------------
+/*-------------------------------------------------------------------------
//collect the pieces of the command
-----------------------------------------------------------------------*/
void DomainMapper_Impl::AppendFieldCommand(::rtl::OUString& rPartOfCommand)
@@ -2330,7 +2330,7 @@ void DomainMapper_Impl::handleToc
}
-/*-- 29.01.2007 11:33:16---------------------------------------------------
+/*-------------------------------------------------------------------------
//the field command has to be closed (0x14 appeared)
-----------------------------------------------------------------------*/
void DomainMapper_Impl::CloseFieldCommand()
@@ -2766,7 +2766,7 @@ void DomainMapper_Impl::CloseFieldCommand()
pContext->SetCommandCompleted();
}
}
-/*-- 29.01.2007 11:33:16---------------------------------------------------
+/*-------------------------------------------------------------------------
//the _current_ fields require a string type result while TOCs accept richt results
-----------------------------------------------------------------------*/
bool DomainMapper_Impl::IsFieldResultAsString()
@@ -2852,7 +2852,7 @@ void DomainMapper_Impl::SetFieldFFData(FFDataHandler::Pointer_t pFFDataHandler)
#endif
}
-/*-- 29.01.2007 11:33:17---------------------------------------------------
+/*-------------------------------------------------------------------------
//the end of field is reached (0x15 appeared) - the command might still be open
-----------------------------------------------------------------------*/
void DomainMapper_Impl::PopFieldContext()
@@ -2993,7 +2993,7 @@ GraphicImportPtr DomainMapper_Impl::GetGraphicImport(GraphicImportType eGraphicI
m_pGraphicImport.reset( new GraphicImport( m_xComponentContext, m_xTextFactory, m_rDMapper, eGraphicImportType ) );
return m_pGraphicImport;
}
-/*-- 09.08.2007 10:19:45---------------------------------------------------
+/*-------------------------------------------------------------------------
reset graphic import if the last import resulted in a shape, not a graphic
-----------------------------------------------------------------------*/
void DomainMapper_Impl::ResetGraphicImport()
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
index 49cb2a8..9de1cd5 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
@@ -103,7 +103,7 @@ enum PageMarElement
PAGE_MAR_GUTTER
};
-/*-- 14.06.2006 07:42:52---------------------------------------------------
+/*-------------------------------------------------------------------------
property stack element
-----------------------------------------------------------------------*/
enum ContextType
@@ -210,7 +210,7 @@ class FIB
void SetData( Id nName, sal_Int32 nValue );
};
-/*-- 17.07.2006 09:14:13---------------------------------------------------
+/*-------------------------------------------------------------------------
extended tab stop struct
-----------------------------------------------------------------------*/
struct DeletableTabStop : public ::com::sun::star::style::TabStop
@@ -222,7 +222,7 @@ struct DeletableTabStop : public ::com::sun::star::style::TabStop
TabStop( rTabStop ),
bDeleted( false ){}
};
-/*-- 12.06.2007 07:15:31---------------------------------------------------
+/*-------------------------------------------------------------------------
/// helper to remember bookmark start position
-----------------------------------------------------------------------*/
struct BookmarkInsertPosition
diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index 7d18d8c..d197209 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -1249,7 +1249,7 @@ void GraphicImport::sprm(Sprm & rSprm)
void GraphicImport::entry(int /*pos*/, writerfilter::Reference<Properties>::Pointer_t /*ref*/)
{
}
-/*-- 16.11.2006 16:14:32---------------------------------------------------
+/*-------------------------------------------------------------------------
crop is stored as "fixed float" as 16.16 fraction value
related to width/or height
-----------------------------------------------------------------------*/
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index 4b9325f..1eb0a99 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -384,7 +384,7 @@ public:
};
typedef boost::shared_ptr<ParagraphProperties> ParagraphPropertiesPtr;
-/*-- 14.06.2007 12:12:34---------------------------------------------------
+/*-------------------------------------------------------------------------
property map of a stylesheet
-----------------------------------------------------------------------*/
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 837608d..d28842d 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -715,7 +715,7 @@ void StyleSheetTable::entry(int /*pos*/, writerfilter::Reference<Properties>::Po
dmapper_logger->endElement();
#endif
}
-/*-- 21.06.2006 15:34:49---------------------------------------------------
+/*-------------------------------------------------------------------------
sorting helper
-----------------------------------------------------------------------*/
typedef std::vector< beans::PropertyValue > _PropValVector;
More information about the Libreoffice-commits
mailing list