From 711abf15b1391a143998fbc0ec8c5b9378ac62f7 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 30 Aug 2011 00:18:55 -0400 Subject: String / bool conversions for ScTableLink. --- sc/inc/tablink.hxx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'sc/inc/tablink.hxx') diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx index 4dba3164f515..98f04225a963 100644 --- a/sc/inc/tablink.hxx +++ b/sc/inc/tablink.hxx @@ -42,13 +42,13 @@ class ScTableLink : public ::sfx2::SvBaseLink, public ScRefreshTimer { private: TableLink_Impl* pImpl; - String aFileName; - String aFilterName; - String aOptions; - sal_Bool bInCreate; - sal_Bool bInEdit; - sal_Bool bAddUndo; - sal_Bool bDoPaint; + rtl::OUString aFileName; + rtl::OUString aFilterName; + rtl::OUString aOptions; + bool bInCreate:1; + bool bInEdit:1; + bool bAddUndo:1; + bool bDoPaint:1; public: TYPEINFO(); @@ -65,13 +65,13 @@ public: sal_Bool Refresh(const String& rNewFile, const String& rNewFilter, const String* pNewOptions /* = NULL */, sal_uLong nNewRefresh ); - void SetInCreate(sal_Bool bSet) { bInCreate = bSet; } - void SetAddUndo(sal_Bool bSet) { bAddUndo = bSet; } - void SetPaint(sal_Bool bSet) { bDoPaint = bSet; } + void SetInCreate(bool bSet) { bInCreate = bSet; } + void SetAddUndo(bool bSet) { bAddUndo = bSet; } + void SetPaint(bool bSet) { bDoPaint = bSet; } - const String& GetFileName() const { return aFileName; } - const String& GetFilterName() const { return aFilterName; } - const String& GetOptions() const { return aOptions; } + const rtl::OUString& GetFileName() const { return aFileName; } + const rtl::OUString& GetFilterName() const { return aFilterName; } + const rtl::OUString& GetOptions() const { return aOptions; } sal_Bool IsUsed() const; -- cgit