Kaydet (Commit) 7e9e8834 authored tarafından Luboš Luňák's avatar Luboš Luňák

add const

Change-Id: I5c7c88e0359dae9691f4cb70e2ad9a139618e701
üst f4dcec24
......@@ -1523,7 +1523,7 @@ public:
/// Get id of the style (rFmt).
sal_uInt16 GetSlot( const SwFmt& rFmt ) const;
SwFmt* GetSwFmt() { return (*pFmtA); }
const SwFmt* GetSwFmt() const { return (*pFmtA); }
};
sal_Int16 GetWordFirstLineOffset(const SwNumFmt &rFmt);
......
......@@ -3650,7 +3650,7 @@ void WW8AttributeOutput::SectionBreak( sal_uInt8 nC, const WW8_SepInfo* /*pSecti
sal_uInt32 AttributeOutputBase::GridCharacterPitch( const SwTextGridItem& rGrid ) const
{
MSWordStyles * pStyles = GetExport().pStyles;
SwFmt * pSwFmt = pStyles->GetSwFmt();
const SwFmt * pSwFmt = pStyles->GetSwFmt();
sal_uInt32 nPageCharSize = 0;
......
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