summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 615b2af56e2e..7f92c2f57936 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4743,7 +4743,7 @@ static void lcl_createTemplateToProjectEntry( const uno::Reference< container::X
{
INetURLObject aObj;
aObj.SetURL( sTemplatePathOrURL );
- bool bIsURL = aObj.GetProtocol() != INetProtocol::NOT_VALID;
+ bool bIsURL = aObj.GetProtocol() != INetProtocol::NotValid;
OUString aURL;
if ( bIsURL )
aURL = sTemplatePathOrURL;
@@ -4828,7 +4828,7 @@ bool SwWW8ImplReader::ReadGlobalTemplateSettings( const OUString& sCreatedFrom,
{
INetURLObject aObj;
aObj.SetURL( sGlobalTemplates[ i ] );
- bool bIsURL = aObj.GetProtocol() != INetProtocol::NOT_VALID;
+ bool bIsURL = aObj.GetProtocol() != INetProtocol::NotValid;
OUString aURL;
if ( bIsURL )
aURL = sGlobalTemplates[ i ];