Kaydet (Commit) 68ae1313 authored tarafından Ricardo Montania's avatar Ricardo Montania Kaydeden (comit) Olivier Hallot

String to OUString conversions in filter

Change-Id: I944f4d57aba935e513a3d158a46322874fe0df15
Reviewed-on: https://gerrit.libreoffice.org/1865Reviewed-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
Tested-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
üst 0699e938
...@@ -413,7 +413,7 @@ class MSFILTER_DLLPUBLIC SvxMSDffManager : public DffPropertyReader ...@@ -413,7 +413,7 @@ class MSFILTER_DLLPUBLIC SvxMSDffManager : public DffPropertyReader
protected : protected :
typedef std::map<sal_uInt32, sal_uInt32> OffsetMap; typedef std::map<sal_uInt32, sal_uInt32> OffsetMap;
String maBaseURL; OUString maBaseURL;
sal_uInt32 mnCurMaxShapeId; // we need this information to sal_uInt32 mnCurMaxShapeId; // we need this information to
sal_uInt32 mnDrawingsSaved; // access the right drawing sal_uInt32 mnDrawingsSaved; // access the right drawing
sal_uInt32 mnIdClusters; // while only knowing the shapeid sal_uInt32 mnIdClusters; // while only knowing the shapeid
...@@ -503,11 +503,11 @@ protected : ...@@ -503,11 +503,11 @@ protected :
// Fontwork objects use a new implementation of ReadObjText because the old // Fontwork objects use a new implementation of ReadObjText because the old
// one does not properly import multiple paragraphs. // one does not properly import multiple paragraphs.
void ReadObjText( const String& rText, SdrObject* pObj ) const; void ReadObjText( const OUString& rText, SdrObject* pObj ) const;
// the following method needs to be overridden for the import of OLE objects // the following method needs to be overridden for the import of OLE objects
virtual sal_Bool GetOLEStorageName( long nOLEId, virtual sal_Bool GetOLEStorageName( long nOLEId,
String& rStorageName, OUString& rStorageName,
SotStorageRef& rSrcStorage, SotStorageRef& rSrcStorage,
com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xDestStg com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xDestStg
) const; ) const;
...@@ -521,7 +521,7 @@ protected : ...@@ -521,7 +521,7 @@ protected :
public: public:
DffPropertyReader* pSecPropSet; DffPropertyReader* pSecPropSet;
std::map<sal_uInt32,rtl::OString> aEscherBlipCache; std::map<sal_uInt32,OString> aEscherBlipCache;
DffRecordManager maShapeRecords; DffRecordManager maShapeRecords;
ColorData mnDefaultColor; ColorData mnDefaultColor;
...@@ -545,7 +545,7 @@ public: ...@@ -545,7 +545,7 @@ public:
DffRecordHeader* pRecHd = NULL, DffRecordHeader* pRecHd = NULL,
sal_uLong nSkipCount = 0 ) const; sal_uLong nSkipCount = 0 ) const;
static rtl::OUString MSDFFReadZString( SvStream& rIn, static OUString MSDFFReadZString( SvStream& rIn,
sal_uInt32 nMaxLen, sal_uInt32 nMaxLen,
bool bUniCode = sal_False); bool bUniCode = sal_False);
...@@ -577,7 +577,7 @@ public: ...@@ -577,7 +577,7 @@ public:
@param pStData2_ ??? @param pStData2_ ???
*/ */
SvxMSDffManager( SvStream& rStCtrl, SvxMSDffManager( SvStream& rStCtrl,
const String& rBaseURL, const OUString& rBaseURL,
sal_uInt32 nOffsDgg, sal_uInt32 nOffsDgg,
SvStream* pStData, SvStream* pStData,
SdrModel* pSdrModel_ = 0, SdrModel* pSdrModel_ = 0,
...@@ -588,7 +588,7 @@ public: ...@@ -588,7 +588,7 @@ public:
// in PPT the parameters DGGContainerOffset and PicStream are provided by an // in PPT the parameters DGGContainerOffset and PicStream are provided by an
// init method // init method
SvxMSDffManager( SvStream& rStCtrl, const String& rBaseURL ); SvxMSDffManager( SvStream& rStCtrl, const OUString& rBaseURL );
void InitSvxMSDffManager( sal_uInt32 nOffsDgg_, void InitSvxMSDffManager( sal_uInt32 nOffsDgg_,
SvStream* pStData_, SvStream* pStData_,
sal_uInt32 nSvxMSDffOLEConvFlags); sal_uInt32 nSvxMSDffOLEConvFlags);
...@@ -701,7 +701,7 @@ public: ...@@ -701,7 +701,7 @@ public:
sal_uInt32 GetConvertFlags() const { return nSvxMSDffOLEConvFlags; } sal_uInt32 GetConvertFlags() const { return nSvxMSDffOLEConvFlags; }
static SdrOle2Obj* CreateSdrOLEFromStorage( const String& rStorageName, static SdrOle2Obj* CreateSdrOLEFromStorage( const OUString& rStorageName,
SotStorageRef& rSrcStorage, SotStorageRef& rSrcStorage,
const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xDestStg, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xDestStg,
const Graphic& rGraf, const Graphic& rGraf,
...@@ -723,7 +723,7 @@ public: ...@@ -723,7 +723,7 @@ public:
static sal_Bool SetPropValue( static sal_Bool SetPropValue(
const ::com::sun::star::uno::Any& rAny, const ::com::sun::star::uno::Any& rAny,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet,
const String& rPropertyName, const OUString& rPropertyName,
sal_Bool bTestPropertyAvailability = sal_False sal_Bool bTestPropertyAvailability = sal_False
); );
......
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