diff options
Diffstat (limited to 'filter/source/msfilter/msdffimp.cxx')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 10a0ca1f6382..3d791bbb9bc8 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -191,6 +191,8 @@ using namespace container ; static sal_uInt32 nMSOleObjCntr = 0; #define MSO_OLE_Obj "MSO_OLE_Obj" +namespace { + struct SvxMSDffBLIPInfo { sal_uLong nFilePos; ///< offset of the BLIP in data stream @@ -200,6 +202,8 @@ struct SvxMSDffBLIPInfo } }; +} + /// the following will be sorted by the order of their appearance: struct SvxMSDffBLIPInfos : public std::vector<SvxMSDffBLIPInfo> {}; @@ -1123,6 +1127,8 @@ void DffPropertyReader::ApplyLineAttributes( SfxItemSet& rSet, const MSO_SPT eSh rSet.Put( XLineStyleItem( drawing::LineStyle_NONE ) ); } +namespace { + struct ShadeColor { Color aColor; @@ -1131,6 +1137,8 @@ struct ShadeColor ShadeColor( const Color& rC, double fR ) : aColor( rC ), fDist( fR ) {}; }; +} + static void GetShadeColors( const SvxMSDffManager& rManager, const DffPropertyReader& rProperties, SvStream& rIn, std::vector< ShadeColor >& rShadeColors ) { sal_uInt32 nPos = rIn.Tell(); @@ -6800,11 +6808,16 @@ bool SvxMSDffManager::MakeContentStream( SotStorage * pStor, const GDIMetaFile & return xStm->GetError() == ERRCODE_NONE; } +namespace { + struct ClsIDs { sal_uInt32 nId; const sal_Char* pSvrName; const sal_Char* pDspName; }; + +} + static const ClsIDs aClsIDs[] = { { 0x000212F0, "MSWordArt", "Microsoft Word Art" }, |